da7af081ce
- Trim Makefile header
50 lines
1.3 KiB
Makefile
50 lines
1.3 KiB
Makefile
# Created by: Seamus Venasse <svenasse@polaris.ca>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= Business-ISBN
|
|
PORTVERSION= 2.06
|
|
CATEGORIES= misc perl5
|
|
MASTER_SITES= CPAN
|
|
PKGNAMEPREFIX= p5-
|
|
|
|
MAINTAINER= perl@FreeBSD.org
|
|
COMMENT= Work with International Standard Book Numbers
|
|
|
|
LICENSE= ART10 GPLv1
|
|
LICENSE_COMB= dual
|
|
|
|
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
|
|
|
|
USES= perl5
|
|
USE_PERL5= configure
|
|
|
|
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
|
|
|
|
.include <bsd.port.mk>
|