aboutsummaryrefslogtreecommitdiff
path: root/misc/p5-Business-ISBN
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-06-08 22:43:25 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2013-06-08 22:43:25 +0000
commit79aa7a9280b7ba7cc6ad3c0157d6a7fcc6f5b255 (patch)
treef4b565f6f1dba5d527fcd67437594157679a7e45 /misc/p5-Business-ISBN
parent3ffa1962bd0e41a9d1b797c97daabe699dc55020 (diff)
downloadports-79aa7a9280b7ba7cc6ad3c0157d6a7fcc6f5b255.tar.gz
ports-79aa7a9280b7ba7cc6ad3c0157d6a7fcc6f5b255.zip
- Add LICENSE
- Fix *_DEPENDS - Add BUILD_DEPENDS and TEST_DEPENDS - Fix PLIST [1] and complete it with corresponding PLIST_DIRSTRY Reported by: pointyhat [1]
Notes
Notes: svn path=/head/; revision=320304
Diffstat (limited to 'misc/p5-Business-ISBN')
-rw-r--r--misc/p5-Business-ISBN/Makefile29
-rw-r--r--misc/p5-Business-ISBN/pkg-descr2
2 files changed, 20 insertions, 11 deletions
diff --git a/misc/p5-Business-ISBN/Makefile b/misc/p5-Business-ISBN/Makefile
index 1a7b807927e9..9772c001fd66 100644
--- a/misc/p5-Business-ISBN/Makefile
+++ b/misc/p5-Business-ISBN/Makefile
@@ -10,28 +10,39 @@ PKGNAMEPREFIX= p5-
MAINTAINER= perl@FreeBSD.org
COMMENT= Work with International Standard Book Numbers
-RUN_DEPENDS= p5-Business-ISBN-Data>=20081020:${PORTSDIR}/misc/p5-Business-ISBN-Data
+LICENSE= ART10 GPLv1
+LICENSE_COMB= dual
-PERL_CONFIGURE= yes
-
-MAN3= ISBN.3 ISBN10.3 ISBN13.3
-
-PLIST_FILES= ${SITE_PERL_REL}/Business/ISBN.pm \
- ${SITE_PERL_REL}/Business/ISBN10.pm \
- ${SITE_PERL_REL}/Business/ISBN13.pm \
- ${SITE_PERL_REL}/${PERL_ARCH}/auto/Business/ISBN/.packlist
+BUILD_DEPENDS= p5-Business-ISBN-Data>=20081208:${PORTSDIR}/misc/p5-Business-ISBN-Data
+RUN_DEPENDS:= ${BUILD_DEPENDS}
+TEST_DEPENDS= p5-GD-Barcode>=0:${PORTSDIR}/graphics/p5-GD-Barcode
OPTIONS_DEFINE= BARCODE XISBN
BARCODE_DESC= Barcode support
XISBN_DESC= xISBN support
+PERL_CONFIGURE= yes
+
+MAN3= Business::ISBN.3 \
+ Business::ISBN10.3 \
+ Business::ISBN13.3
+PLIST_FILES= %%SITE_PERL%%/Business/ISBN.pm \
+ %%SITE_PERL%%/Business/ISBN10.pm \
+ %%SITE_PERL%%/Business/ISBN13.pm \
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/ISBN/.packlist
+PLIST_DIRSTRY= %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business/ISBN \
+ %%SITE_PERL%%/%%PERL_ARCH%%/auto/Business \
+ %%SITE_PERL%%/Business
+
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MBARCODE}
+BUILD_DEPENDS+= p5-GD-Barcode>=0:${PORTSDIR}/graphics/p5-GD-Barcode
RUN_DEPENDS+= p5-GD-Barcode>=0:${PORTSDIR}/graphics/p5-GD-Barcode
.endif
.if ${PORT_OPTIONS:MXISBN}
+BUILD_DEPENDS+= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
RUN_DEPENDS+= p5-libwww>=0:${PORTSDIR}/www/p5-libwww
.endif
diff --git a/misc/p5-Business-ISBN/pkg-descr b/misc/p5-Business-ISBN/pkg-descr
index 8fe3a870c471..6a33176915ea 100644
--- a/misc/p5-Business-ISBN/pkg-descr
+++ b/misc/p5-Business-ISBN/pkg-descr
@@ -4,5 +4,3 @@ verified as being valid, the checksum can be fixed, and it cna be converted
to a European Article Number (EAN).
WWW: http://search.cpan.org/dist/Business-ISBN/
-
-Seamus Venasse <svenasse@polaris.ca>