aboutsummaryrefslogtreecommitdiffstats
path: root/misc/pybliographer
diff options
context:
space:
mode:
authordwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
committerdwcjr <dwcjr@FreeBSD.org>2002-09-02 00:07:59 +0800
commitfd50192ea7567a034b59dfc96a1d112f8ccfa573 (patch)
tree6975c46330f04e77b17cb4d014c9d66ceb4f7a68 /misc/pybliographer
parent54d69c112debb52b84b6d174bd59479eec834fb7 (diff)
downloadfreebsd-ports-graphics-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.gz
freebsd-ports-graphics-fd50192ea7567a034b59dfc96a1d112f8ccfa573.tar.zst
freebsd-ports-graphics-fd50192ea7567a034b59dfc96a1d112f8ccfa573.zip
${PERL} -> ${REINPLACE_CMD}
PR: 40784 Submitted by: corecode@corecode.ath.cx Reviewed by: flynn@energyhq.homeip.net
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 f060bff339e..a110bb0bdc7 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 \