freebsd-ports/textproc/p5-PDF-API3/Makefile
Edwin Groothuis cf17741b8c maintainer-update textproc/p5-PDF-API2 to 0.3b49
PR:		ports/48483
Submitted by:	Erwin Lansing <erwin@lansing.dk>
2003-02-23 06:40:19 +00:00

35 lines
821 B
Makefile

# ex:ts=8
# Ports collection makefile for: p5-PDF-API2
# Date created: Feb 2, 2002
# Whom: ijliao
#
# $FreeBSD$
#
PORTNAME= PDF-API2
PORTVERSION= 0.3b49
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= PDF
PKGNAMEPREFIX= p5-
MAINTAINER= erwin@lansing.dk
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 <bsd.port.mk>