# Ports collection makefile for:  pear-Image_Barcode
# Date created:			  11 March 2005
# Whom:				  Antonio Carlos Venancio Junior (<antonio@inf.ufsc.br>)
#
# $FreeBSD: ports/graphics/pear-Image_Barcode/Makefile,v 1.10 2010/11/04 10:00:34 miwi Exp $
#

PORTNAME=	Image_Barcode
PORTVERSION=	1.1.1
CATEGORIES=	graphics www pear

MAINTAINER=	miwi@FreeBSD.org
COMMENT=	PEAR class for barcode generation

BUILD_DEPENDS=	${PEARDIR}/PEAR.php:${PORTSDIR}/devel/pear
RUN_DEPENDS=	${BUILD_DEPENDS}

USE_PHP=	gd

LATEST_LINK=	pear-${PORTNAME}
OPTIONS=	PEAR_PHP_COMPAT "PEAR::PHP_Compat support" off

FILES=		Image/Barcode.php Image/Barcode/int25.php \
		Image/Barcode/ean13.php Image/Barcode/Code39.php \
		Image/Barcode/upca.php Image/Barcode/code128.php \
		Image/Barcode/postnet.php
DOCS=		ChangeLog Readme.txt
EXAMPLES=	test-image-barcode.php barcode_img.php
_EXAMPLESDIR=	docs/examples

.include <bsd.port.pre.mk>

.if defined(WITH_PEAR_PHP_COMPAT)
RUN_DEPENDS+=	${PEARDIR}/PHP/Compat.php:${PORTSDIR}/devel/pear-PHP_Compat
.endif

.include "${PORTSDIR}/devel/pear/bsd.pear.mk"
.include <bsd.port.post.mk>
