aboutsummaryrefslogtreecommitdiff
path: root/textproc/rtf2htm/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/rtf2htm/Makefile')
-rw-r--r--textproc/rtf2htm/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/rtf2htm/Makefile b/textproc/rtf2htm/Makefile
index 24cdab7bdd4f..f8415aecaaf1 100644
--- a/textproc/rtf2htm/Makefile
+++ b/textproc/rtf2htm/Makefile
@@ -13,6 +13,8 @@ MASTER_SITES= http://www.geocities.com/tuorfa/
MAINTAINER= ports@FreeBSD.org
+USE_REINPLACE= yes
+
WRKSRC= ${WRKDIR}/${PORTNAME}
MAKEFILE= makefile
@@ -20,8 +22,8 @@ MANCOMPRESSED= no
MAN1= rtf2htm.1
post-patch:
- @${PERL} -pi -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
- @${PERL} -pi -e 's|malloc.h|stdlib.h|' ${WRKSRC}/malloc.c
+ @${REINPLACE_CMD} -e "s,^CC,#CC,g ; s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/${MAKEFILE}
+ @${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|' ${WRKSRC}/malloc.c
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/rtf2htm ${PREFIX}/bin