summaryrefslogtreecommitdiff
path: root/misc/pybliographer
diff options
context:
space:
mode:
authorDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
committerDavid W. Chapman Jr. <dwcjr@FreeBSD.org>2002-09-01 16:07:59 +0000
commit534fffca27bb18f7529d548c46ee3326505a89c7 (patch)
treea09ac440edd299d85a3517dea62caa2b115543fc /misc/pybliographer
parentUpdate for a new patchset, which has only different comments. (diff)
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
Notes
Notes: svn path=/head/; revision=65426
Diffstat (limited to 'misc/pybliographer')
-rw-r--r--misc/pybliographer/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/misc/pybliographer/Makefile b/misc/pybliographer/Makefile
index f060bff339e0..a110bb0bdc71 100644
--- a/misc/pybliographer/Makefile
+++ b/misc/pybliographer/Makefile
@@ -22,7 +22,6 @@ RUN_DEPENDS= ${PYTHON_SITELIBDIR}/gtk-1.2/_gnomemodule.so:${PORTSDIR}/x11-toolki
USE_GNOMENG= yes
USE_GNOME= glib12
USE_PYTHON= yes
-USE_GNOME= yes
USE_X_PREFIX= yes
USE_LIBTOOL= yes
USE_REINPLACE= yes
@@ -35,9 +34,9 @@ pre-patch:
@${REINPLACE_CMD} 's|-lpthread|${PTHREAD_LIBS}|g ; \
s|glib-config|glib12-config|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
- @find ${WRKSRC} -name "Makefile.in" | xargs ${REINPLACE_CMD} \
- 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
- s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+ @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \
+ 's|\$$(datadir)/gnome/|$$(datadir)/|g ; \
+ s|\$$(datadir)/locale|$$(prefix)/share/locale|g'
post-install:
@${PYTHON_CMD} ${PYTHON_LIBDIR}/compileall.py \