summaryrefslogtreecommitdiff
path: root/editors/ghex2
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/ghex2
parent- Use USE_GNOMENG; (diff)
Use USE_GNOMENG.
Diffstat (limited to 'editors/ghex2')
-rw-r--r--editors/ghex2/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/editors/ghex2/Makefile b/editors/ghex2/Makefile
index bb462294fba8..69c0f7024651 100644
--- a/editors/ghex2/Makefile
+++ b/editors/ghex2/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>