1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/textproc/p5-PDF-API2/Makefile
Ying-Chieh Liao c634b4bb83 utilize SITE_PERL
PR:		58166
Submitted by:	Cheng-Lung Sung <clsung@dragon2.net>
2003-10-24 12:05:09 +00:00

36 lines
790 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.3r77
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= ${SITE_PERL}
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>