diff options
-rw-r--r-- | devel/g2c/Makefile | 13 | ||||
-rw-r--r-- | devel/hypersrc/Makefile | 3 | ||||
-rw-r--r-- | devel/lbpp/Makefile | 3 | ||||
-rw-r--r-- | editors/gmanedit/Makefile | 9 | ||||
-rw-r--r-- | games/glife/Makefile | 8 |
5 files changed, 16 insertions, 20 deletions
diff --git a/devel/g2c/Makefile b/devel/g2c/Makefile index 9b172ae36c24..98bc19d405cf 100644 --- a/devel/g2c/Makefile +++ b/devel/g2c/Makefile @@ -15,22 +15,21 @@ MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= ports@FreeBSD.org USE_REINPLACE= yes -USE_GTK= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 gnomehack WANT_GNOME= yes GNU_CONFIGURE= yes USE_GMAKE= yes .include <bsd.port.pre.mk> -.if defined(HAVE_GNOME) -USE_GNOME= yes +.if ${HAVE_GNOME:Mbonobo} != "" && ${HAVE_GNOME:Mgnomedb} != "" +USE_GNOME= gnomeprefix bonobo gnomedb +PKGNAMESUFFIX= -gnome .endif -pre-patch: +post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \ - s|\$$(datadir)/locale|\$$(prefix)/share/locale|g' .include <bsd.port.post.mk> diff --git a/devel/hypersrc/Makefile b/devel/hypersrc/Makefile index b0992a5a3145..911160a10030 100644 --- a/devel/hypersrc/Makefile +++ b/devel/hypersrc/Makefile @@ -19,7 +19,8 @@ RUN_DEPENDS= exctags:${PORTSDIR}/devel/ctags WRKSRC= ${WRKDIR}/${PORTNAME} USE_BISON= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomelibs USE_GMAKE= yes USE_REINPLACE= yes MAKEFILE= GNUmakefile diff --git a/devel/lbpp/Makefile b/devel/lbpp/Makefile index f13024e9ced9..8d31142965a7 100644 --- a/devel/lbpp/Makefile +++ b/devel/lbpp/Makefile @@ -17,7 +17,8 @@ MAINTAINER= ports@FreeBSD.org USE_REINPLACE= yes USE_BZIP2= yes USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomelibs post-patch: @${GREP} -lR "malloc.h" ${WRKSRC} | ${XARGS} \ diff --git a/editors/gmanedit/Makefile b/editors/gmanedit/Makefile index ba80cec22f4b..20bad88faaaa 100644 --- a/editors/gmanedit/Makefile +++ b/editors/gmanedit/Makefile @@ -18,7 +18,8 @@ USE_REINPLACE= yes USE_BZIP2= yes USE_X_PREFIX= yes USE_GMAKE= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack gnomelibs GNU_CONFIGURE= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ LIBS="-L${LOCALBASE}/lib" @@ -28,12 +29,8 @@ ALL_TARGET= clean all post-extract: @${RM} -rf ${WRKSRC}/config.cache -pre-patch: +post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \ - 's|\$(datadir)/gnome/|\$(datadir)/|g' - @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} -e \ - 's|\$(datadir)/locale|\$(prefix)/share/locale|g' .include <bsd.port.mk> diff --git a/games/glife/Makefile b/games/glife/Makefile index 35f25cbcee1b..179df1952c89 100644 --- a/games/glife/Makefile +++ b/games/glife/Makefile @@ -18,14 +18,12 @@ MAINTAINER= ports@FreeBSD.org USE_REINPLACE= yes USE_X_PREFIX= yes USE_LIBTOOL= yes -USE_GNOME= yes +USE_GNOMENG= yes +USE_GNOME= gnomeprefix gnomehack libglade CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" LDFLAGS="-L${LOCALBASE}/lib" -pre-patch: +post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|\$$(datadir)/gnome/|\$$(datadir)/|g ; \ - s|\$$(datadir)/locale|\$$(prefix)/share/locale|g' .include <bsd.port.mk> |