aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/gtop
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-18 19:03:22 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-18 19:03:22 +0800
commitbe93d19ab95ff13b19a5893476ee3a7f9d367cb2 (patch)
tree87db16cf7f3eae91f7ec14480a8cb6f767c307d8 /sysutils/gtop
parente6c899afc9874f80d9a84ece918888fb3a7e5078 (diff)
downloadfreebsd-ports-gnome-be93d19ab95ff13b19a5893476ee3a7f9d367cb2.tar.gz
freebsd-ports-gnome-be93d19ab95ff13b19a5893476ee3a7f9d367cb2.tar.zst
freebsd-ports-gnome-be93d19ab95ff13b19a5893476ee3a7f9d367cb2.zip
Use USE_GNOMENG.
Diffstat (limited to 'sysutils/gtop')
-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>