diff options
Diffstat (limited to 'graphics/linplasma/Makefile')
-rw-r--r-- | graphics/linplasma/Makefile | 5 |
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} |