summaryrefslogtreecommitdiff
path: root/editors/ghex
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-12 12:15:37 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-12 12:15:37 +0000
commit9e12dfd49708e280632761545c923e5202f4ee7d (patch)
tree552bb98463cedf1cfac8c1b6f75c2ad09663e77d /editors/ghex
parent- Use USE_GNOMENG; (diff)
Use USE_GNOMENG.
Notes
Notes: svn path=/head/; revision=62857
Diffstat (limited to 'editors/ghex')
-rw-r--r--editors/ghex/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/editors/ghex/Makefile b/editors/ghex/Makefile
index bb462294fba8..69c0f7024651 100644
--- a/editors/ghex/Makefile
+++ b/editors/ghex/Makefile
@@ -15,16 +15,14 @@ MAINTAINER= gnome@FreeBSD.org
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs gnomeprint
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib"
-pre-patch:
+post-patch:
@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
.include <bsd.port.mk>