diff options
author | pat <pat@FreeBSD.org> | 2002-06-23 20:56:43 +0000 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-06-23 20:56:43 +0000 |
commit | 1a8959d0efd313f8993462f373aa46df4b818a13 (patch) | |
tree | 7bfa9415cb5412f76fd427ea42749445099679fa /science/gdis | |
parent | 68d2ede20fe929082f7b63b1201632f02303de36 (diff) | |
download | FreeBSD-ports-1a8959d0efd313f8993462f373aa46df4b818a13.zip FreeBSD-ports-1a8959d0efd313f8993462f373aa46df4b818a13.tar.gz |
PERL -> REINPLACE_CMD
PR: ports/39716 ports/39715 ports/39711
Submitted by: Scott Flatman <sf@dsinw.com>
Diffstat (limited to 'science/gdis')
-rw-r--r-- | science/gdis/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/science/gdis/Makefile b/science/gdis/Makefile index 935a9f5..5de2330 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 |