aboutsummaryrefslogtreecommitdiff
path: root/devel/cvsdadm
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-17 14:04:08 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-01-17 14:04:08 +0000
commite0a3c70b3e11943da4acdf35632bd1165b48d50a (patch)
tree36f6cbc78e9536b8d4ba7fe1b1f870d9b4a3b4a0 /devel/cvsdadm
parent3eafcdb465059f599cd955e1e0f4477dba00b0ad (diff)
downloadports-e0a3c70b3e11943da4acdf35632bd1165b48d50a.tar.gz
ports-e0a3c70b3e11943da4acdf35632bd1165b48d50a.zip
Notes
Diffstat (limited to 'devel/cvsdadm')
-rw-r--r--devel/cvsdadm/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/devel/cvsdadm/Makefile b/devel/cvsdadm/Makefile
index 6147aab99110..2e2209e2cb74 100644
--- a/devel/cvsdadm/Makefile
+++ b/devel/cvsdadm/Makefile
@@ -11,10 +11,14 @@ MASTER_SITES= ftp://quenix2.dyndns.org/FreeBSD/ports/distfiles/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Tool for CVSd pserver user administration
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE
+
WRKSRC= ${WRKDIR}/${PORTNAME}
USES= shebangfix perl5
NO_BUILD= yes
+NO_ARCH= yes
USE_PERL5= run
POD2TEXT?= pod2text
PORTDOCS= cvsdadm.README
@@ -24,11 +28,15 @@ SHEBANG_FILES= cvsdadm
PLIST_FILES= bin/cvsdadm \
man/man1/cvsdadm.1.gz
+OPTIONS_DEFINE= DOCS
+
do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/cvsdadm ${STAGEDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/cvsdadm.1 ${STAGEDIR}${MANPREFIX}/man/man1
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${POD2TEXT} ${WRKSRC}/cvsdadm > ${WRKSRC}/${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${PORTDOCS} ${STAGEDIR}${DOCSDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/cvsdadm ${STAGEDIR}${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/cvsdadm.1 ${STAGEDIR}${PREFIX}/man/man1
.include <bsd.port.mk>