mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-18 19:49:40 +00:00
- Fix LICENSE
- Switch to options helpers
This commit is contained in:
parent
4216b722b7
commit
f756abc065
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=424455
@ -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>
|
||||
|
@ -1,2 +1,3 @@
|
||||
TIMESTAMP = 1476707733
|
||||
SHA256 (bandwidthd-2.0.1.tgz) = 6ddbb80f7585658425fe31f6ccd293df9754052e012376af11814566ca878306
|
||||
SIZE (bandwidthd-2.0.1.tgz) = 140687
|
||||
|
Loading…
Reference in New Issue
Block a user