aboutsummaryrefslogtreecommitdiffstats
path: root/misc
diff options
context:
space:
mode:
Diffstat (limited to 'misc')
-rw-r--r--misc/kdeaddons/Makefile3
-rw-r--r--misc/kwatch/Makefile3
-rw-r--r--misc/pybliographer/Makefile7
3 files changed, 7 insertions, 6 deletions
diff --git a/misc/kdeaddons/Makefile b/misc/kdeaddons/Makefile
index e69eeed54516..62ff4c3480c5 100644
--- a/misc/kdeaddons/Makefile
+++ b/misc/kdeaddons/Makefile
@@ -19,6 +19,7 @@ BUILD_DEPENDS= autoconf213:${PORTSDIR}/devel/autoconf213 \
LIB_DEPENDS+= noatun.0:${PORTSDIR}/audio/kdemultimedia2 \
SDL-1.1.4:${PORTSDIR}/devel/sdl12
+USE_REINPLACE= yes
WITH_SDL= yes
USE_KDEBASE_VER=2
USE_BZIP2= yes
@@ -45,7 +46,7 @@ pre-configure:
.endfor
cd ${WRKSRC} && env PATH=${WRKSRC}/auto-bin:$$PATH \
${GMAKE} -f Makefile.cvs
- find ${WRKSRC} -name Makefile.in | xargs ${PERL} -pi -e \
+ ${FIND} ${WRKSRC} -name Makefile.in | ${XARGS} ${REINPLACE_CMD} -e \
"s@sdl-config@${LOCALBASE}/bin/sdl11-config@g"
.include <bsd.port.post.mk>
diff --git a/misc/kwatch/Makefile b/misc/kwatch/Makefile
index 32ff80309c4f..13718b7b17de 100644
--- a/misc/kwatch/Makefile
+++ b/misc/kwatch/Makefile
@@ -17,10 +17,11 @@ MAINTAINER= kde@freebsd.org
BUILD_DEPENDS= msgfmt:${PORTSDIR}/devel/gettext
+USE_REINPLACE= yes
USE_KDELIBS_VER= 2
GNU_CONFIGURE= yes
post-patch:
- @${PERL} -pi -e 's|-O2 ||g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -e 's|-O2 ||g' ${WRKSRC}/configure
.include <bsd.port.mk>
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 \