Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 22 Oct 2016 09:03:52 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r424455 - head/net-mgmt/bandwidthd
Message-ID:  <201610220903.u9M93qHS043631@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sat Oct 22 09:03:52 2016
New Revision: 424455
URL: https://svnweb.freebsd.org/changeset/ports/424455

Log:
  - Fix LICENSE
  - Switch to options helpers

Modified:
  head/net-mgmt/bandwidthd/Makefile
  head/net-mgmt/bandwidthd/distinfo

Modified: head/net-mgmt/bandwidthd/Makefile
==============================================================================
--- head/net-mgmt/bandwidthd/Makefile	Sat Oct 22 08:28:30 2016	(r424454)
+++ head/net-mgmt/bandwidthd/Makefile	Sat Oct 22 09:03:52 2016	(r424455)
@@ -10,29 +10,32 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Tracks bandwidth usage by IP address
 
-LICENSE=	GPLv2
+LICENSE=	GPLv3+ # "any version of the GPL that is current as of your download"
 
 LIB_DEPENDS=	libgd.so:graphics/gd
 
-SUB_FILES=	bandwidthd
-
-USE_CSTD=	gnu89
-
+USES=		gmake tar:tgz
 GNU_CONFIGURE=	YES
 CONFIGURE_ARGS=	ac_cv_lib_iconv_libiconv_open=no \
 		ac_cv_lib_m_pow=no \
 		ac_cv_lib_png_png_read_info=no \
 		ac_cv_lib_pq_PQconnectdb=no
-USES=		gmake tar:tgz
+USE_CSTD=	gnu89
+
+SUB_FILES=	bandwidthd
+
+OPTIONS_DEFINE=	DOCS
 
 post-patch:
-	${REINPLACE_CMD} -e '/requires.*libpng/,/exit/d' \
+	@${REINPLACE_CMD} -e '/requires.*libpng/,/exit/d' \
 		${WRKSRC}/configure
 
 post-install:
 	${INSTALL_SCRIPT} ${WRKDIR}/bandwidthd \
-	    ${STAGEDIR}${PREFIX}/etc/rc.d
-	${MKDIR} ${STAGEDIR}${DOCSDIR}
+		${STAGEDIR}${PREFIX}/etc/rc.d
+
+post-install-DOCS-on:
+	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
 
 .include <bsd.port.mk>

Modified: head/net-mgmt/bandwidthd/distinfo
==============================================================================
--- head/net-mgmt/bandwidthd/distinfo	Sat Oct 22 08:28:30 2016	(r424454)
+++ head/net-mgmt/bandwidthd/distinfo	Sat Oct 22 09:03:52 2016	(r424455)
@@ -1,2 +1,3 @@
+TIMESTAMP = 1476707733
 SHA256 (bandwidthd-2.0.1.tgz) = 6ddbb80f7585658425fe31f6ccd293df9754052e012376af11814566ca878306
 SIZE (bandwidthd-2.0.1.tgz) = 140687



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