[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / glib2

Annotation of pkgsrc/devel/glib2/Makefile, Revision 1.11

1.11    ! rh          1: # $NetBSD: Makefile,v 1.10 2002/10/19 10:54:48 rh Exp $
1.1       dmcmahil    2: #
                      3:
1.6       dmcmahil    4: DISTNAME=              glib-2.0.6
1.1       dmcmahil    5: PKGNAME=               ${DISTNAME:S/glib/glib2/}
1.9       rh          6: PKGREVISION=           2
1.1       dmcmahil    7: CATEGORIES=            devel
                      8: MASTER_SITES=          ftp://ftp.gtk.org/pub/gtk/v2.0/ \
                      9:                        ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.0/ \
                     10:                        http://www.ameth.org/gimp/pub/gtk/v2.0/ \
1.10      rh         11:                        ${MASTER_SITE_GNOME:=sources/glib/2.0/}
1.1       dmcmahil   12:
                     13: MAINTAINER=            packages@netbsd.org
                     14: HOMEPAGE=              http://www.gtk.org/docs/glib_toc.html
                     15: COMMENT=               Some useful routines for C programming
                     16:
                     17: BUILD_USES_MSGFMT=     yes
1.8       jlam       18: USE_BUILDLINK2=                yes
1.1       dmcmahil   19: USE_GMAKE=             yes
1.8       jlam       20: USE_PERL5=             yes
                     21:
1.1       dmcmahil   22: USE_LIBTOOL=           yes
                     23: LIBTOOL_OVERRIDE=      ${WRKSRC}/libtool
1.11    ! rh         24: PKGCONFIG_OVERRIDE=    ${WRKSRC}/glib-2.0.pc.in
        !            25: PKGCONFIG_OVERRIDE+=   ${WRKSRC}/gmodule-2.0.pc.in
        !            26: PKGCONFIG_OVERRIDE+=   ${WRKSRC}/gobject-2.0.pc.in
        !            27: PKGCONFIG_OVERRIDE+=   ${WRKSRC}/gthread-2.0.pc.in
1.8       jlam       28:
                     29: GNU_CONFIGURE=         yes
1.1       dmcmahil   30: CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/glib
                     31: MAKE_ENV+=             PKGLOCALEDIR="${PKGLOCALEDIR}"
                     32:
1.9       rh         33: .include "../../mk/bsd.prefs.mk"
                     34:
                     35: .if defined(USE_PTL2)
1.5       jlam       36: PTHREAD_OPTS+=         native
1.9       rh         37: .endif
1.1       dmcmahil   38:
                     39: test: build
1.8       jlam       40:        cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \
1.1       dmcmahil   41:                tee ${WRKDIR}/check.log
                     42:
1.8       jlam       43: .include "../../converters/libiconv/buildlink2.mk"
                     44: .include "../../devel/gettext-lib/buildlink2.mk"
                     45: .include "../../devel/pkgconfig/buildlink2.mk"
                     46: .include "../../mk/pthread.buildlink2.mk"
1.5       jlam       47:
                     48: .if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none")
1.8       jlam       49: CPPFLAGS+=             -I${BUILDLINK_PREFIX.ptl2}/PTL/include
                     50: .  include "../../devel/ptl2/buildlink2.mk"
1.5       jlam       51: .endif
                     52:
1.1       dmcmahil   53: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>