- Add LICENSE

- Simplify Makefile by switching to pkg-plist

Approved by:	portmgr blanket
This commit is contained in:
Dmitry Marakasov 2019-03-17 09:01:01 +00:00
parent 516e926ebf
commit a192722d73
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=496034
2 changed files with 15 additions and 14 deletions

View File

@ -13,25 +13,16 @@ DISTNAME= Business-MaxMind-${PORTVERSION}
MAINTAINER= vivek@khera.org
COMMENT= Interface to MaxMind minFraud service
RUN_DEPENDS+= p5-libwww>0.0:www/p5-libwww \
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
RUN_DEPENDS= p5-libwww>0.0:www/p5-libwww \
p5-LWP-Protocol-https>0.0:www/p5-LWP-Protocol-https
BUILD_DEPENDS+= p5-libwww>0.0:www/p5-libwww
BUILD_DEPENDS= p5-libwww>0.0:www/p5-libwww
USES= perl5 shebangfix
SHEBANG_FILES= example*.pl
USE_PERL5= configure
NO_ARCH= yes
PLIST_FILES= \
%%SITE_PERL%%/Business/MaxMind.pm \
%%SITE_PERL%%/Business/MaxMind/CreditCardFraudDetection.pm \
%%SITE_PERL%%/Business/MaxMind/HTTPBase.pm \
%%SITE_PERL%%/Business/MaxMind/TelephoneVerification.pm \
%%SITE_PERL%%/Business/example.pl \
%%SITE_PERL%%/Business/example_telv.pl \
%%PERL5_MAN3%%/Business::MaxMind.3.gz \
%%PERL5_MAN3%%/Business::MaxMind::CreditCardFraudDetection.3.gz \
%%PERL5_MAN3%%/Business::MaxMind::HTTPBase.3.gz \
%%PERL5_MAN3%%/Business::MaxMind::TelephoneVerification.3.gz
.include <bsd.port.mk>

View File

@ -0,0 +1,10 @@
%%SITE_PERL%%/Business/MaxMind.pm
%%SITE_PERL%%/Business/MaxMind/CreditCardFraudDetection.pm
%%SITE_PERL%%/Business/MaxMind/HTTPBase.pm
%%SITE_PERL%%/Business/MaxMind/TelephoneVerification.pm
%%SITE_PERL%%/Business/example.pl
%%SITE_PERL%%/Business/example_telv.pl
%%PERL5_MAN3%%/Business::MaxMind.3.gz
%%PERL5_MAN3%%/Business::MaxMind::CreditCardFraudDetection.3.gz
%%PERL5_MAN3%%/Business::MaxMind::HTTPBase.3.gz
%%PERL5_MAN3%%/Business::MaxMind::TelephoneVerification.3.gz