Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 17 Jan 2016 14:04:08 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r406501 - head/devel/cvsdadm
Message-ID:  <201601171404.u0HE48ml037480@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Jan 17 14:04:08 2016
New Revision: 406501
URL: https://svnweb.freebsd.org/changeset/ports/406501

Log:
  - Add LICENSE
  - Add NO_ARCH
  - Switch to options helpers

Modified:
  head/devel/cvsdadm/Makefile

Modified: head/devel/cvsdadm/Makefile
==============================================================================
--- head/devel/cvsdadm/Makefile	Sun Jan 17 14:04:02 2016	(r406500)
+++ head/devel/cvsdadm/Makefile	Sun Jan 17 14:04:08 2016	(r406501)
@@ -11,10 +11,14 @@ MASTER_SITES=	ftp://quenix2.dyndns.org/F
 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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201601171404.u0HE48ml037480>