mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-21 04:06:46 +00:00
c634b4bb83
PR: 58166 Submitted by: Cheng-Lung Sung <clsung@dragon2.net>
36 lines
790 B
Makefile
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>
|