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

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

1.77    ! xtraeme     1: # $NetBSD: Makefile,v 1.76 2005/07/21 16:29:46 wiz Exp $
1.1       dmcmahil    2:
1.77    ! xtraeme     3: DISTNAME=              glib-2.6.6
1.39      jmmv        4: PKGNAME=               ${DISTNAME:S/glib/glib2/}
1.1       dmcmahil    5: CATEGORIES=            devel
1.63      jmmv        6: MASTER_SITES=          ftp://ftp.gtk.org/pub/gtk/v2.6/ \
                      7:                        ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.6/ \
                      8:                        ${MASTER_SITE_GNOME:=sources/glib/2.6/}
1.15      grant       9: EXTRACT_SUFX=          .tar.bz2
1.1       dmcmahil   10:
1.56      jmmv       11: MAINTAINER=            jmmv@NetBSD.org
1.1       dmcmahil   12: HOMEPAGE=              http://www.gtk.org/docs/glib_toc.html
1.58      grant      13: COMMENT=               Some useful routines for C programming (glib2)
1.1       dmcmahil   14:
1.49      minskim    15: PKG_INSTALLATION_TYPES=        overwrite pkgviews
                     16:
1.1       dmcmahil   17: BUILD_USES_MSGFMT=     yes
1.39      jmmv       18:
1.14      salo       19: USE_PKGLOCALEDIR=      yes
1.75      jlam       20: USE_TOOLS+=            gmake perl:run
1.40      jlam       21: USE_LIBTOOL=           yes
1.43      jlam       22: TEST_TARGET=           check
1.8       jlam       23:
1.68      jmmv       24: PKGCONFIG_OVERRIDE=    glib-2.0-uninstalled.pc.in
                     25: PKGCONFIG_OVERRIDE+=   glib-2.0.pc.in
                     26: PKGCONFIG_OVERRIDE+=   gmodule-2.0-uninstalled.pc.in
1.41      jmmv       27: PKGCONFIG_OVERRIDE+=   gmodule-2.0.pc.in
1.68      jmmv       28: PKGCONFIG_OVERRIDE+=   gmodule-export-2.0.pc.in
                     29: PKGCONFIG_OVERRIDE+=   gmodule-no-export-2.0.pc.in
                     30: PKGCONFIG_OVERRIDE+=   gobject-2.0-uninstalled.pc.in
1.41      jmmv       31: PKGCONFIG_OVERRIDE+=   gobject-2.0.pc.in
1.68      jmmv       32: PKGCONFIG_OVERRIDE+=   gthread-2.0-uninstalled.pc.in
1.41      jmmv       33: PKGCONFIG_OVERRIDE+=   gthread-2.0.pc.in
1.8       jlam       34:
1.13      grant      35: GNU_CONFIGURE=         # defined
1.14      salo       36: CONFIGURE_ENV+=                PKGLOCALEDIR=${PKGLOCALEDIR}
1.17      jmmv       37: CONFIGURE_ARGS+=       --enable-gtk-doc=no
1.1       dmcmahil   38: CONFIGURE_ARGS+=       --includedir=${PREFIX}/include/glib
1.50      jmmv       39: CONFIGURE_ARGS+=       --with-html-dir=${PREFIX}/share/doc
1.43      jlam       40: CONFIGURE_ARGS+=       ${CONFIGURE_ARGS.${ICONV_TYPE}-iconv}
1.32      dmcmahil   41:
1.43      jlam       42: CONFIGURE_ARGS.gnu-iconv=      --with-libiconv=gnu
1.36      jmmv       43:
1.44      snj        44: # Avoid an ICE in gcc2 on sparc64
                     45: CONFIGURE_ENV+=                F77=${FALSE}
                     46:
1.60      gavan      47: CONFIGURE_ENV+=                PERL_PATH=${PERL5}
                     48:
1.66      recht      49: CPPFLAGS+=             -DPREFIX="\"${PREFIX}\""
                     50: CPPFLAGS+=             -DPKGLOCALEDIR="\"${PKGLOCALEDIR}\""
                     51: CPPFLAGS+=             -DPKG_SYSCONFDIR="\"${PKG_SYSCONFDIR}\""
1.64      jmmv       52:
1.47      xtraeme    53: .include "../../mk/bsd.prefs.mk"
                     54:
                     55: .if ${OPSYS} == "FreeBSD"
                     56:
                     57: SUBST_CLASSES=         thr
                     58: SUBST_STAGE.thr=       post-patch
                     59: SUBST_FILES.thr=       gthread/Makefile.in
1.74      reed       60: .  if ${OS_VERSION:R} >= 5
                     61: SUBST_SED.thr=         -e "s|@G_THREAD_LIBS_FOR_GTHREAD@|-lpthread|g"
                     62: .  else
1.47      xtraeme    63: SUBST_SED.thr=         -e "s|@G_THREAD_LIBS_FOR_GTHREAD@|-Wc,-lc_r|g"
1.74      reed       64: .  endif
1.47      xtraeme    65: SUBST_MESSAGE.thr=     "Fixing libgthread."
                     66:
                     67: .endif
                     68:
1.50      jmmv       69: # Handle directories shared with devel/glib.
                     70: PRINT_PLIST_AWK+=      /^@dirrm include\/glib$$/ \
                     71:                                { print "@unexec $${RMDIR} %D/" $$2 \
                     72:                                  " 2>/dev/null || $${TRUE}"; next; }
                     73:
1.35      xtraeme    74: .include "../../converters/libiconv/buildlink3.mk"
                     75: .include "../../devel/gettext-lib/buildlink3.mk"
1.76      wiz        76: .include "../../devel/pkg-config/buildlink3.mk"
1.62      grant      77: .include "../../mk/dlopen.buildlink3.mk"
1.35      xtraeme    78: .include "../../mk/pthread.buildlink3.mk"
1.5       jlam       79:
1.1       dmcmahil   80: .include "../../mk/bsd.pkg.mk"

CVSweb <webmaster@jp.NetBSD.org>