aboutsummaryrefslogtreecommitdiff
path: root/devel/g2c
diff options
context:
space:
mode:
authorJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-28 01:27:25 +0000
committerJoe Marcus Clarke <marcus@FreeBSD.org>2002-07-28 01:27:25 +0000
commit313ab95b42034defc0918867a5c039d6c49ecdf7 (patch)
treecd55a3d5d8406a39deb4e712212a5267481e0423 /devel/g2c
parent8e9366c679c9b9dd38bace93bddb5790972bbfb7 (diff)
downloadports-313ab95b42034defc0918867a5c039d6c49ecdf7.tar.gz
ports-313ab95b42034defc0918867a5c039d6c49ecdf7.zip
Notes
Diffstat (limited to 'devel/g2c')
-rw-r--r--devel/g2c/Makefile13
1 files changed, 6 insertions, 7 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>