freebsd-ports/misc/p5-Business-ISBN/Makefile
2013-11-04 14:41:18 +00:00

39 lines
969 B
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
.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>