aboutsummaryrefslogtreecommitdiffstats
path: root/net-mgmt
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:32 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-12-30 09:42:32 +0800
commit535d324ad24dd338cdf50e85a489064cfe3e452e (patch)
treec81ad73529b2d83773894bb3c2ba0d59b5cb770e /net-mgmt
parentcd686f0c196138698fa91d5359cfd6f1f73a2bee (diff)
downloadfreebsd-ports-gnome-535d324ad24dd338cdf50e85a489064cfe3e452e.tar.gz
freebsd-ports-gnome-535d324ad24dd338cdf50e85a489064cfe3e452e.tar.zst
freebsd-ports-gnome-535d324ad24dd338cdf50e85a489064cfe3e452e.zip
- Add LICENSE
- Switch to options helpers
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/portmon/Makefile11
1 files changed, 7 insertions, 4 deletions
diff --git a/net-mgmt/portmon/Makefile b/net-mgmt/portmon/Makefile
index 7ee0293c14b1..0a7aa8e9f961 100644
--- a/net-mgmt/portmon/Makefile
+++ b/net-mgmt/portmon/Makefile
@@ -11,6 +11,9 @@ MASTER_SITES= http://voodoo.bawue.com/download/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Daemon that monitor network services
+LICENSE= GPLv2 # or later
+LICENSE_FILE= ${WRKSRC}/COPYING
+
GNU_CONFIGURE= yes
PORTDOCS= README
@@ -29,9 +32,9 @@ do-install:
${STAGEDIR}${PREFIX}/man/man8
${INSTALL_DATA} ${WRKSRC}/extras/portmon.hosts.sample \
${STAGEDIR}${PREFIX}/etc
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
-.for i in README
- ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR}
-.endfor
+
+do-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>