aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/maverik/Makefile
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-07-08 18:41:30 +0800
committerijliao <ijliao@FreeBSD.org>2002-07-08 18:41:30 +0800
commit27b58e05583dbd0dbed960cf162e599ebc0f227b (patch)
tree08d4d418aed90a1f7e8eb25819d284dce8d35a8b /graphics/maverik/Makefile
parente5f65fe9c160b78b54514fe1bebfa37c1259f7c8 (diff)
downloadfreebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.tar.gz
freebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.tar.zst
freebsd-ports-gnome-27b58e05583dbd0dbed960cf162e599ebc0f227b.zip
PERL -> REINPLACE_CMD
PR: 39938 Submitted by: Oliver Braun <obraun@informatik.unibw-muenchen.de>
Diffstat (limited to 'graphics/maverik/Makefile')
-rw-r--r--graphics/maverik/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/maverik/Makefile b/graphics/maverik/Makefile
index fe6a49e9424f..34e01c0e4d46 100644
--- a/graphics/maverik/Makefile
+++ b/graphics/maverik/Makefile
@@ -15,6 +15,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gtkgl.5:${PORTSDIR}/x11-toolkits/gtkglarea
+USE_REINPLACE= yes
USE_SUBMAKE= yes
USE_MESA= yes
WANT_GTK= yes
@@ -48,7 +49,7 @@ post-extract:
@${SETENV} ${SCRIPTS_ENV} ${SH} ${SCRIPTDIR}/genman3list.sh
post-patch:
- @${PERL} -pi -e "s,%%X11BASE%%,${X11BASE},g ; \
+ @${REINPLACE_CMD} -e "s,%%X11BASE%%,${X11BASE},g ; \
s,%%CC%%,${CC},g ; \
s,%%CXX%%,${CXX},g ; \
s,%%CFLAGS%%,${CFLAGS},g ; \
@@ -56,7 +57,7 @@ post-patch:
s,%%PTHREAD_CFLAGS%%,${PTHREAD_CFLAGS},g ; \
s,%%PTHREAD_LIBS%%,${PTHREAD_LIBS},g ; \
s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/setup
- @${PERL} -pi -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/examples/misc/GTK/Makefile
+ @${REINPLACE_CMD} -e "s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/examples/misc/GTK/Makefile
do-install:
${INSTALL_DATA} ${WRKSRC}/lib/*.* ${PREFIX}/lib