Fix MASTER_SITES to make it fetchable

- Add LICENSE
- Remove USE_PERL5=patch: use REINPLACE_CMD instead of PERL
- Fix and update WWW
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2018-06-04 18:01:46 +00:00
parent 2d7f23a185
commit 6cb772ea1f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=471578
2 changed files with 7 additions and 4 deletions

View file

@ -6,21 +6,24 @@ PORTVERSION= 0.18
PORTREVISION= 6
CATEGORIES= databases perl5 devel
MASTER_SITES= CPAN
MASTER_SITE_SUBDIR= CPAN:TCAINE
PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= POE interface to Round Robin Database Tools
LICENSE= ART10 GPLv1+
LICENSE_COMB= dual
BUILD_DEPENDS= rrdtool:databases/rrdtool \
p5-POE>=0:devel/p5-POE
RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure patch
USE_PERL5= configure
CONFIGURE_ARGS= </dev/null
post-patch:
@${PERL} -pi -e 's/(\(\$$maj, \$$min, \$$sub\))/$$1; $$1/' \
${WRKSRC}/Makefile.PL
@${REINPLACE_CMD} -e 's|($$maj, $$min, $$sub)|&; &|' ${WRKSRC}/Makefile.PL
.include <bsd.port.mk>

View file

@ -8,4 +8,4 @@ be used to create RRD files, update RRDs, retreive data from RRDs, and
generate graphs from the databases. This module provides a POE wrapper
around the rrdtool command line interface.
WWW: http://search.cpan.org/dist/POE-Component-RRDTool/
WWW: https://metacpan.org/release/TCAINE/POE-Component-RRDTool-0.18