Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Feb 2014 18:20:45 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r345673 - head/net-mgmt/dhcdrop
Message-ID:  <201402221820.s1MIKjeN084220@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



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