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

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

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

CVSweb <webmaster@jp.NetBSD.org>