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

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

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

CVSweb <webmaster@jp.NetBSD.org>