summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarcus <marcus@FreeBSD.org>2002-07-28 01:27:25 +0000
committermarcus <marcus@FreeBSD.org>2002-07-28 01:27:25 +0000
commitfb947f30bcadeb21a00a493326557efe11001959 (patch)
tree6d8b26970c83974ea2ccde5837953d228ebc9279
parent4ef0ee5c0742eddefe891581a58a37d2093b25fe (diff)
downloadFreeBSD-ports-fb947f30bcadeb21a00a493326557efe11001959.zip
FreeBSD-ports-fb947f30bcadeb21a00a493326557efe11001959.tar.gz
Use USE_GNOMENG.
-rw-r--r--devel/g2c/Makefile13
-rw-r--r--devel/hypersrc/Makefile3
-rw-r--r--devel/lbpp/Makefile3
-rw-r--r--editors/gmanedit/Makefile9
-rw-r--r--games/glife/Makefile8
5 files changed, 16 insertions, 20 deletions
diff --git a/devel/g2c/Makefile b/devel/g2c/Makefile
index 9b172ae..98bc19d 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 b0992a5a3..911160a 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 f13024e..8d31142 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 ba80cec..20bad88 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 35f25cb..179df19 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>
OpenPOWER on IntegriCloud