openbsd-ports/textproc/p5-Text-PDF/Makefile
shell f67e6b4578 Upgrade to 0.16
bump VERSION
2001-07-21 04:22:53 +00:00

36 lines
954 B
Makefile

# $OpenBSD: Makefile,v 1.7 2001/07/21 04:22:53 shell Exp $
COMMENT= "perl modules for creating and manipulating PDF"
DISTNAME= Text-PDF-0.16
PKGNAME= p5-${DISTNAME}
CATEGORIES= textproc perl5
NEED_VERSION= 1.427
MAINTAINER= Shell Hung <shell@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN}
MASTER_SITE_SUBDIR= Text
PERL_MODULES= ${LOCALBASE}/libdata/perl5/site_perl/${MACHINE_ARCH}-openbsd
BUILD_DEPENDS= ${PERL_MODULES}/Compress/Zlib.pm::archivers/p5-Compress-Zlib
RUN_DEPENDS= ${BUILD_DEPENDS}
CONFIGURE_STYLE= perl
EXAMPLE_DIR= ${PREFIX}/share/examples/p5-Text-PDF
EXAMPLE_LOC= ${WRKSRC}/examples
post-install:
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
${INSTALL_SCRIPT} ${EXAMPLE_LOC}/*.pl ${EXAMPLE_DIR}/
${INSTALL_DATA} ${EXAMPLE_LOC}/*.CFG ${EXAMPLE_DIR}/
${INSTALL_DATA} ${EXAMPLE_LOC}/*.pdf ${EXAMPLE_DIR}/
.include <bsd.port.mk>