summaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authormnag <mnag@FreeBSD.org>2006-03-11 18:40:23 +0000
committermnag <mnag@FreeBSD.org>2006-03-11 18:40:23 +0000
commit6c4fa53859de90b2bf1bd66219b1462c1ee18288 (patch)
treeeedeb5db05684ff64bab727f0e4a4d3a63384c6f /devel
parent7cb46a5079a7a0246cb068b294f95d2d28a8f83f (diff)
downloadFreeBSD-ports-6c4fa53859de90b2bf1bd66219b1462c1ee18288.zip
FreeBSD-ports-6c4fa53859de90b2bf1bd66219b1462c1ee18288.tar.gz
- Reorganize Makefile and replace to right ${PERL}
Notified by: tobez Approved by: portmgr (marcus in past commit)
Diffstat (limited to 'devel')
-rw-r--r--devel/cvs2cl/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/devel/cvs2cl/Makefile b/devel/cvs2cl/Makefile
index eba3305..3f17e45 100644
--- a/devel/cvs2cl/Makefile
+++ b/devel/cvs2cl/Makefile
@@ -18,19 +18,21 @@ COMMENT= CVS-log-message-to-ChangeLog conversion script
USE_PERL5= yes
NO_WRKSUBDIR= yes
+NO_BUILD= yes
MANCOMPRESSED= no
MAN1= ${PORTNAME}.1
PLIST_FILES= bin/${PORTNAME}
do-extract:
@${MKDIR} ${WRKSRC}
+ @${CP} ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} ${WRKSRC}/${PORTNAME}
-do-build:
- @${SED} -e "s^exec perl -w -x^exec /usr/local/bin/perl -w -x^; s^#!perl -w^#!/usr/local/bin/perl -w^ " \
- ${DISTDIR}/${DIST_SUBDIR}/${DISTFILES} > ${WRKSRC}/${PORTNAME}
- @pod2man ${WRKSRC}/${PORTNAME} > ${WRKSRC}/${PORTNAME}.1
+post-patch:
+ @${REINPLACE_CMD} -e "s|exec perl -w -x|exec ${PERL} -w -x|" \
+ -e "s|#!perl -w|#!${PERL} -w|" ${WRKSRC}/${PORTNAME}
do-install:
+ @pod2man ${WRKSRC}/${PORTNAME} > ${WRKSRC}/${PORTNAME}.1
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/${PORTNAME}
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${MANPREFIX}/man/man1/
OpenPOWER on IntegriCloud