diff options
author | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-10-22 09:03:52 +0000 |
---|---|---|
committer | Dmitry Marakasov <amdmi3@FreeBSD.org> | 2016-10-22 09:03:52 +0000 |
commit | f756abc0654b9ecc41046d6b9bc59a9f1b71cee0 (patch) | |
tree | 30004adfb4e3bc6e00d60d8520c11adde6fd8eb8 /net-mgmt/bandwidthd | |
parent | net/py-libcloud: update to 1.3.0 (diff) |
- Fix LICENSE
- Switch to options helpers
Notes
Notes:
svn path=/head/; revision=424455
Diffstat (limited to 'net-mgmt/bandwidthd')
-rw-r--r-- | net-mgmt/bandwidthd/Makefile | 21 | ||||
-rw-r--r-- | net-mgmt/bandwidthd/distinfo | 1 |
2 files changed, 13 insertions, 9 deletions
diff --git a/net-mgmt/bandwidthd/Makefile b/net-mgmt/bandwidthd/Makefile index 8f451e337af9..b6ee82e4f948 100644 --- a/net-mgmt/bandwidthd/Makefile +++ b/net-mgmt/bandwidthd/Makefile @@ -10,29 +10,32 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION} 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> diff --git a/net-mgmt/bandwidthd/distinfo b/net-mgmt/bandwidthd/distinfo index 2ebb1ed81a83..1a007ed32e02 100644 --- a/net-mgmt/bandwidthd/distinfo +++ b/net-mgmt/bandwidthd/distinfo @@ -1,2 +1,3 @@ +TIMESTAMP = 1476707733 SHA256 (bandwidthd-2.0.1.tgz) = 6ddbb80f7585658425fe31f6ccd293df9754052e012376af11814566ca878306 SIZE (bandwidthd-2.0.1.tgz) = 140687 |