aboutsummaryrefslogtreecommitdiff
path: root/science/gdis
diff options
context:
space:
mode:
authorPatrick Li <pat@FreeBSD.org>2002-06-23 20:56:43 +0000
committerPatrick Li <pat@FreeBSD.org>2002-06-23 20:56:43 +0000
commitcb1a5fa9770b4cde07ae2f61deeac6cf905c289c (patch)
treef74865e0f62296d8ada1a7f02367fd8e8a2ffe67 /science/gdis
parent3429beb3d69bf05cc09137cac5b420f8e26b86db (diff)
downloadports-cb1a5fa9770b4cde07ae2f61deeac6cf905c289c.tar.gz
ports-cb1a5fa9770b4cde07ae2f61deeac6cf905c289c.zip
Notes
Diffstat (limited to 'science/gdis')
-rw-r--r--science/gdis/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/science/gdis/Makefile b/science/gdis/Makefile
index 935a9f532780..5de233041282 100644
--- a/science/gdis/Makefile
+++ b/science/gdis/Makefile
@@ -17,6 +17,7 @@ MAINTAINER= ports@FreeBSD.org
LIB_DEPENDS= gtkextra:${PORTSDIR}/x11-toolkits/gtkextra \
gtkgl:${PORTSDIR}/x11-toolkits/gtkglarea
+USE_REINPLACE= yes
USE_GTK= yes
USE_MESA= yes
WRKSRC= ${WRKDIR}/${PORTNAME}
@@ -24,9 +25,9 @@ USE_GMAKE= yes
ALL_TARGET= # empty
post-patch:
- @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
+ @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g ; \
s,gtk-config,${GTK_CONFIG},g" ${WRKSRC}/Makefile
- @${PERL} -pi -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/gdis.h
+ @${REINPLACE_CMD} -e "s,%%DATADIR%%,${DATADIR},g" ${WRKSRC}/gdis.h
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdis ${PREFIX}/bin