aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2002-07-21 01:14:59 +0800
committersobomax <sobomax@FreeBSD.org>2002-07-21 01:14:59 +0800
commit85744409c38f5dda7b9d2babf1c894877d1b4dee (patch)
tree7b86b64dd3984bc036b6a2c9434b53176f3c4b11 /ftp
parenta6ecbd7828c4cd3274bd139e0eb937545a6fba86 (diff)
downloadfreebsd-ports-gnome-85744409c38f5dda7b9d2babf1c894877d1b4dee.tar.gz
freebsd-ports-gnome-85744409c38f5dda7b9d2babf1c894877d1b4dee.tar.zst
freebsd-ports-gnome-85744409c38f5dda7b9d2babf1c894877d1b4dee.zip
Use USE_GNOMENG.
Diffstat (limited to 'ftp')
-rw-r--r--ftp/gtm/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/ftp/gtm/Makefile b/ftp/gtm/Makefile
index aa367c6aa85e..4c65b5222465 100644
--- a/ftp/gtm/Makefile
+++ b/ftp/gtm/Makefile
@@ -19,7 +19,8 @@ RUN_DEPENDS= wget:${PORTSDIR}/ftp/wget
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= yes
+USE_GNOMENG= yes
+USE_GNOME= gnomeprefix gnomehack gnomelibs oaf
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
@@ -27,11 +28,8 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
MAN1= gtm.1 gtm_applet.1
-pre-patch:
+post-patch:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in*" | xargs ${REINPLACE_CMD} -e \
- 's|[(]datadir[)]/gnome/|(datadir)/|g ; \
- s|[(]datadir[)]/locale|(prefix)/share/locale|g'
.include <bsd.port.mk>