# ex:ts=8 # Ports collection makefile for: p5-PDF-API2 # Date created: Feb 2, 2002 # Whom: ijliao # # $FreeBSD$ # PORTNAME= PDF-API2 PORTVERSION= 0.3r74 CATEGORIES= textproc perl5 MASTER_SITES= ${MASTER_SITE_PERL_CPAN} MASTER_SITE_SUBDIR= PDF PKGNAMEPREFIX= p5- MAINTAINER= erwin@FreeBSD.org COMMENT= 'The Next Generation' of Text::PDF::API BUILD_DEPENDS= ${PERL_SITELIBDIR}/${PERL_ARCH}/Compress/Zlib.pm:${PORTSDIR}/archivers/p5-Compress-Zlib RUN_DEPENDS= ${BUILD_DEPENDS} PERL_CONFIGURE= yes PERL_SITELIBDIR= ${LOCALBASE}/lib/perl5/site_perl/${PERL_VER} FILES= API2.pm API2/IOString.pm API2/UniMap.pm \ API2/PDF/FileAPI.pm API2/TTF/Font.pm pre-patch: .for i in ${FILES} @${PERL} -pi -e '$$_="" if /require 5/;' \ -e '$$_="" if /no warnings/;' \ ${WRKSRC}/lib/PDF/${i} .endfor .include