summaryrefslogtreecommitdiffstats
path: root/devel/cvs2cl/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/cvs2cl/Makefile')
-rw-r--r--devel/cvs2cl/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/cvs2cl/Makefile b/devel/cvs2cl/Makefile
index 98361f3..d4d17fe 100644
--- a/devel/cvs2cl/Makefile
+++ b/devel/cvs2cl/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= cvs2cl
-PORTVERSION= 2.29
+PORTVERSION= 2.38
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR= knu
@@ -17,7 +17,14 @@ USE_PERL5= YES
NO_BUILD= YES
WRKSRC= ${WRKDIR}/${PORTNAME}
+DOCDIR= ${PREFIX}/share/doc/${PORTNAME}
+
do-install:
${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME}.pl ${PREFIX}/bin/${PORTNAME}
+.if !defined(NOPORTDOCS)
+ ${MKDIR} ${DOCDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} README TODO index.html [cC]hange[lL]og* ${DOCDIR}
+ ${LN} -s ${PREFIX}/bin/${PORTNAME} ${DOCDIR}/${PORTNAME}.pl
+.endif
.include <bsd.port.mk>
OpenPOWER on IntegriCloud