aboutsummaryrefslogtreecommitdiffstats
path: root/editors/ghex/Makefile
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-12 20:15:37 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-12 20:15:37 +0800
commit1f238d6b748a394241be7f4e675c9a047d4e486d (patch)
treed69186f38f899d9189a242b3284b21d56aaa9334 /editors/ghex/Makefile
parentb11a38971cc016a0e23ea434f1994132562d84e5 (diff)
downloadfreebsd-ports-gnome-1f238d6b748a394241be7f4e675c9a047d4e486d.tar.gz
freebsd-ports-gnome-1f238d6b748a394241be7f4e675c9a047d4e486d.tar.zst
freebsd-ports-gnome-1f238d6b748a394241be7f4e675c9a047d4e486d.zip
Use USE_GNOMENG.
Diffstat (limited to 'editors/ghex/Makefile')
-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>