aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-07-08 10:41:30 +0000
commit2730c8a3dcd82845271c9dbb832f982bbacff7ab (patch)
tree1642e533cdc6183365ccba20544974f74946044a /multimedia
parent4e50fe70614b6cbe88ee0c6606cd7336356c42d0 (diff)
downloadports-2730c8a3dcd82845271c9dbb832f982bbacff7ab.tar.gz
ports-2730c8a3dcd82845271c9dbb832f982bbacff7ab.zip
Notes
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gsubedit/Makefile7
-rw-r--r--multimedia/ppm2fli/Makefile4
2 files changed, 7 insertions, 4 deletions
diff --git a/multimedia/gsubedit/Makefile b/multimedia/gsubedit/Makefile
index 912598a18b4c..956d6fcf192d 100644
--- a/multimedia/gsubedit/Makefile
+++ b/multimedia/gsubedit/Makefile
@@ -15,6 +15,7 @@ MASTER_SITE_SUBDIR= ${PORTNAME}
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
USE_GNOME= yes
@@ -23,14 +24,14 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
post-patch:
- @${PERL} -pi -e 's|Bison |Bison|g ; \
+ @${REINPLACE_CMD} -e 's|Bison |Bison|g ; \
s|-lpthread|${PTHREAD_LIBS}|g ; \
s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
s|share/pixmaps|share/gnome/pixmaps|g' ${WRKSRC}/configure
- @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${PERL} -pi -e \
+ @${FIND} ${WRKSRC} -name "Makefile.in*" | ${XARGS} ${REINPLACE_CMD} -e \
's|^gsubeditdoc|#gsubeditdoc|g ; \
s|-g -O2|| ; \
- s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|'
+ s|\$$(datadir)/locale|\$$(prefix)/share/locale|'
post-install:
.if !defined(NOPORTDOCS)
diff --git a/multimedia/ppm2fli/Makefile b/multimedia/ppm2fli/Makefile
index 04277ae5e211..5d427a810a08 100644
--- a/multimedia/ppm2fli/Makefile
+++ b/multimedia/ppm2fli/Makefile
@@ -12,10 +12,12 @@ MASTER_SITES= http://vento.pi.tu-berlin.de/ppm2fli/
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
+
MAN1= ppm2fli.1 unflick.1
pre-patch:
- @${PERL} -pi -e 's|^C|#C|g ; \
+ @${REINPLACE_CMD} -e 's|^C|#C|g ; \
s|gcc |\$${CC} |g' ${WRKSRC}/Makefile
do-install: