Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Jul 2016 09:00:32 +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: r418867 - head/www/netstiff
Message-ID:  <201607210900.u6L90Wn7068095@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Thu Jul 21 09:00:32 2016
New Revision: 418867
URL: https://svnweb.freebsd.org/changeset/ports/418867

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

Modified:
  head/www/netstiff/Makefile

Modified: head/www/netstiff/Makefile
==============================================================================
--- head/www/netstiff/Makefile	Thu Jul 21 07:30:41 2016	(r418866)
+++ head/www/netstiff/Makefile	Thu Jul 21 09:00:32 2016	(r418867)
@@ -10,22 +10,28 @@ DISTNAME=	${PORTNAME}_${PORTVERSION}.ori
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Powerful web page update checker
 
-LICENSE=	GPLv3
+LICENSE=	GPLv3+
+LICENSE_FILE=	${WRKSRC}/LICENSE
 
-NO_BUILD=	yes
-USE_RUBY=	yes
 USES=		shebangfix
 SHEBANG_FILES=	${WRKSRC}/${PORTNAME}
+USE_RUBY=	yes
+NO_BUILD=	yes
+NO_ARCH=	yes
 
 WRKSRC=		${WRKDIR}/${PORTNAME}_${PORTVERSION}
-PORTDOCS=	ChangeLog LICENSE THANKSTO
+
+PORTDOCS=	ChangeLog THANKSTO
 PLIST_FILES=	bin/${PORTNAME} \
 		man/man1/${PORTNAME}.1.gz
 
+OPTIONS_DEFINE=	DOCS
+
 do-install:
 	${INSTALL_SCRIPT} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin
 	${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1
 
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 



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