aboutsummaryrefslogtreecommitdiff
path: root/ftp/gtm
diff options
context:
space:
mode:
authorMaxim Sobolev <sobomax@FreeBSD.org>2002-07-20 17:14:59 +0000
committerMaxim Sobolev <sobomax@FreeBSD.org>2002-07-20 17:14:59 +0000
commitd6f419b333981a9e7b569a81ee6fc886bb816add (patch)
treeb7cc08cdf59c5abb0b2e58bec054dca65e9759af /ftp/gtm
parent43b3dcc3ccd72150b618d67528990328a27c519e (diff)
Use USE_GNOMENG.
Notes
Notes: svn path=/head/; revision=63280
Diffstat (limited to 'ftp/gtm')
-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>