summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 11:03:22 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-18 11:03:22 +0000
commit4df3db8d41be55584c71845587115ecfdc38b2c4 (patch)
tree366b08a72a9aaaf40433ea1010ebda96785bb6e2 /sysutils
parentUse USE_GNOMENG. (diff)
Use USE_GNOMENG.
Notes
Notes: svn path=/head/; revision=63185
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/gtop/Makefile16
1 files changed, 6 insertions, 10 deletions
diff --git a/sysutils/gtop/Makefile b/sysutils/gtop/Makefile
index e9d0d3b18523..969e85fddd91 100644
--- a/sysutils/gtop/Makefile
+++ b/sysutils/gtop/Makefile
@@ -14,22 +14,18 @@ MASTER_SITE_SUBDIR= stable/sources/gtop
MAINTAINER= gnome@FreeBSD.org
-BUILD_DEPENDS= msgfmt-old:${PORTSDIR}/devel/gettext-old
LIB_DEPENDS= gtop.1:${PORTSDIR}/devel/libgtop
USE_X_PREFIX= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs
USE_LIBTOOL= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
- LIBS="-L${LOCALBASE}/lib" \
- MSGFMT="${LOCALBASE}/bin/msgfmt-old" \
- XGETTEXT="${LOCALBASE}/bin/xgettext-old"
+ LIBS="-L${LOCALBASE}/lib"
+MAKE_ENV= OLD_PO_FILE_INPUT=1
-pre-patch:
- @${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
+post-patch:
+ @${REINPLACE_CMD} -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>