aboutsummaryrefslogtreecommitdiff
path: root/devel/cvs2html
diff options
context:
space:
mode:
authorDennis Herrmann <dhn@FreeBSD.org>2011-04-01 13:35:36 +0000
committerDennis Herrmann <dhn@FreeBSD.org>2011-04-01 13:35:36 +0000
commit9739e9906c7cf5f056d8279263ef064a01d6ce3f (patch)
tree272dd637b02ce9b4dd159d4c9365da3989466a78 /devel/cvs2html
parentb8c2fe81001d84d37a1f46acecec23537bcb2c96 (diff)
downloadports-9739e9906c7cf5f056d8279263ef064a01d6ce3f.tar.gz
ports-9739e9906c7cf5f056d8279263ef064a01d6ce3f.zip
Notes
Diffstat (limited to 'devel/cvs2html')
-rw-r--r--devel/cvs2html/Makefile11
-rw-r--r--devel/cvs2html/distinfo1
2 files changed, 9 insertions, 3 deletions
diff --git a/devel/cvs2html/Makefile b/devel/cvs2html/Makefile
index 8821d8655f08..9c0946e12b29 100644
--- a/devel/cvs2html/Makefile
+++ b/devel/cvs2html/Makefile
@@ -7,6 +7,7 @@
PORTNAME= cvs2html
PORTVERSION= 1.98
+PORTREVISION= 1
CATEGORIES= devel perl5
MASTER_SITES= http://www.bayofrum.net/dist/${PORTNAME}/${PORTVERSION}/ \
http://cvs.sslug.dk/cvs2html/utils/
@@ -22,9 +23,15 @@ LICENSE= GPLv2
PLIST_FILES= bin/cvs2html
USE_PERL5= yes
NO_BUILD= yes
-NO_WRKSUBDIR= yes
+
+do-extract:
+ @${MKDIR} ${WRKDIR}
+ @${CP} ${DISTDIR}/${PORTNAME} ${WRKDIR}
+
+post-patch:
+ ${REINPLACE_CMD} -e '1s|\(#!\).*$$|\1${PERL}|' ${WRKDIR}/${PORTNAME}
do-install:
- ${INSTALL_SCRIPT} ${DISTDIR}/${PORTNAME} ${PREFIX}/bin
+ ${INSTALL_SCRIPT} ${WRKDIR}/${PORTNAME} ${PREFIX}/bin
.include <bsd.port.mk>
diff --git a/devel/cvs2html/distinfo b/devel/cvs2html/distinfo
index 75b237e0e1e6..c9e4a336dcde 100644
--- a/devel/cvs2html/distinfo
+++ b/devel/cvs2html/distinfo
@@ -1,3 +1,2 @@
-MD5 (cvs2html) = 8f8ddd3bb4d2ba0b55b9f67c3051fdaa
SHA256 (cvs2html) = a66cb741a364a6f2574c866cadd83fc30eacfd8a18178b730f9f9a6f9e0da675
SIZE (cvs2html) = 60868