aboutsummaryrefslogtreecommitdiff
path: root/net-mgmt
diff options
context:
space:
mode:
authorDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-22 18:20:45 +0000
committerDanilo Egea Gondolfo <danilo@FreeBSD.org>2014-02-22 18:20:45 +0000
commitc5f348909119eb283f6250802cb770635f84a439 (patch)
treeaef364885f1504751c80627db857ca53bec0285a /net-mgmt
parent4269f95cfaeeb80915fc742f9b3e9b465a62f72e (diff)
downloadports-c5f348909119eb283f6250802cb770635f84a439.tar.gz
ports-c5f348909119eb283f6250802cb770635f84a439.zip
- Add stage support
- Add LICENSE - Use options helpers Approved by: portmgr (blanket)
Notes
Notes: svn path=/head/; revision=345673
Diffstat (limited to 'net-mgmt')
-rw-r--r--net-mgmt/dhcdrop/Makefile15
1 files changed, 5 insertions, 10 deletions
diff --git a/net-mgmt/dhcdrop/Makefile b/net-mgmt/dhcdrop/Makefile
index 7572bda2ceb0..5d058660cdb7 100644
--- a/net-mgmt/dhcdrop/Makefile
+++ b/net-mgmt/dhcdrop/Makefile
@@ -10,24 +10,19 @@ MASTER_SITES= http://www.netpatch.ru/projects/dhcdrop/
MAINTAINER= ffault@gmail.com
COMMENT= Tool for searching and suppressing false DHCP servers
+LICENSE= GPLv2
+
USE_BZIP2= yes
USE_CSTD= gnu89
GNU_CONFIGURE= yes
-MAN8= ${PORTNAME}.8
-MANLANG= "" ru
-
-PLIST_FILES= sbin/dhcdrop
+PLIST_FILES= sbin/dhcdrop man/man8/dhcdrop.8.gz \
+ man/ru/man8/dhcdrop.8.gz
PLIST_DIRSTRY= man/ru/man8 man/ru
OPTIONS_DEFINE= STATIC
STATIC_DESC= Build a static version of dhcdrop
-NO_STAGE= yes
-.include <bsd.port.options.mk>
-
-.if ${PORT_OPTIONS:MSTATIC}
-CONFIGURE_ARGS+=--enable-static-build
-.endif
+STATIC_CONFIGURE_ENABLE= static-build
.include <bsd.port.mk>