svn commit: r345673 - head/net-mgmt/dhcdrop

Danilo Egea Gondolfo danilo at FreeBSD.org
Sat Feb 22 18:20:46 UTC 2014


Author: danilo
Date: Sat Feb 22 18:20:45 2014
New Revision: 345673
URL: http://svnweb.freebsd.org/changeset/ports/345673
QAT: https://qat.redports.org/buildarchive/r345673/

Log:
  - Add stage support
  - Add LICENSE
  - Use options helpers
  
  Approved by:	portmgr (blanket)

Modified:
  head/net-mgmt/dhcdrop/Makefile

Modified: head/net-mgmt/dhcdrop/Makefile
==============================================================================
--- head/net-mgmt/dhcdrop/Makefile	Sat Feb 22 18:17:50 2014	(r345672)
+++ head/net-mgmt/dhcdrop/Makefile	Sat Feb 22 18:20:45 2014	(r345673)
@@ -10,24 +10,19 @@ MASTER_SITES=	http://www.netpatch.ru/pro
 MAINTAINER=	ffault at 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>


More information about the svn-ports-all mailing list