aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-07-21 17:00:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-07-21 17:00:32 +0800
commite8c21a512e99f1caf0599896a8f9057a4bc0ce05 (patch)
treeccc9469135996e78fdcfe8f0edd6d3da8b672aed /www
parentfd98fe2e0c3d15bd2b95d394b413686d3fc81ea2 (diff)
downloadfreebsd-ports-gnome-e8c21a512e99f1caf0599896a8f9057a4bc0ce05.tar.gz
freebsd-ports-gnome-e8c21a512e99f1caf0599896a8f9057a4bc0ce05.tar.zst
freebsd-ports-gnome-e8c21a512e99f1caf0599896a8f9057a4bc0ce05.zip
- Clarify LICENSE
- Add LICENSE_FILE - Add NO_ARCH - Switch to options helpers
Diffstat (limited to 'www')
-rw-r--r--www/netstiff/Makefile14
1 files changed, 10 insertions, 4 deletions
diff --git a/www/netstiff/Makefile b/www/netstiff/Makefile
index 46f576ff79be..3dbb460296b5 100644
--- a/www/netstiff/Makefile
+++ b/www/netstiff/Makefile
@@ -10,22 +10,28 @@ DISTNAME= ${PORTNAME}_${PORTVERSION}.orig
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}