aboutsummaryrefslogtreecommitdiff
path: root/graphics/linplasma
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-08 23:03:48 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-08 23:03:48 +0000
commit197dfc33216bbe1cfed7595fc5d1390963c330fd (patch)
tree1e1f9905bb0dacd75342f58ad7a3cc222554e8d1 /graphics/linplasma
parent8fe52170fabf7e974027f6e33d85c2494ec84c5b (diff)
downloadports-197dfc33216bbe1cfed7595fc5d1390963c330fd.tar.gz
ports-197dfc33216bbe1cfed7595fc5d1390963c330fd.zip
Notes
Diffstat (limited to 'graphics/linplasma')
-rw-r--r--graphics/linplasma/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/graphics/linplasma/Makefile b/graphics/linplasma/Makefile
index 6bb40df9f7e7..e27647566463 100644
--- a/graphics/linplasma/Makefile
+++ b/graphics/linplasma/Makefile
@@ -20,10 +20,11 @@ DOCFILES= README GPL
DOCDIR= share/doc/${PORTNAME}/
PLIST= ${WRKDIR}/pkg-plist
WRKSRC= ${WRKDIR}/${PORTNAME}
+USE_REINPLACE= yes
post-patch:
- @${PERL} -pi -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/Makefile
- @${PERL} -pi -e "s:PI:M_PI:g" ${WRKSRC}/linplasma.c
+ @${REINPLACE_CMD} -e "s:%%PREFIX%%:${PREFIX}:g" ${WRKSRC}/Makefile
+ @${REINPLACE_CMD} -e "s:PI:M_PI:g" ${WRKSRC}/linplasma.c
pre-install:
${ECHO_CMD} "bin/linplasma" > ${PLIST}