aboutsummaryrefslogtreecommitdiff
path: root/devel/bcpp/Makefile
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-19 03:52:40 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-12-19 03:52:40 +0000
commitae7cc0cc5cedd28a2cc0d437b838622bb434e353 (patch)
tree2bc96ebbd75369ab5368fba7d7e83e63439b08a2 /devel/bcpp/Makefile
parentecefb5ebe956e1524bd701a824a5000d80681a7a (diff)
downloadports-ae7cc0cc5cedd28a2cc0d437b838622bb434e353.tar.gz
ports-ae7cc0cc5cedd28a2cc0d437b838622bb434e353.zip
Notes
Diffstat (limited to 'devel/bcpp/Makefile')
-rw-r--r--devel/bcpp/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/devel/bcpp/Makefile b/devel/bcpp/Makefile
index adc5aeee5947..ffa39ce9f612 100644
--- a/devel/bcpp/Makefile
+++ b/devel/bcpp/Makefile
@@ -18,10 +18,14 @@ WRKSRC= ${WRKDIR}/${DISTNAME}/code
MAKEFILE= makefile
ALL_TARGET= ${PORTNAME}
+post-patch:
+ @${PERL5} -pi -e 's,%%PREFIX%%,${PREFIX},g' ${WRKSRC}/bcpp.cpp
+
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/${PORTNAME}.cfg \
${PREFIX}/etc/${PORTNAME}.cfg.sample
+
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${INSTALL_MAN} ${WRKDIR}/${DISTNAME}/txtdocs/hirachy.txt ${DOCSDIR}