openbsd-ports/textproc/p5-Text-PDF/Makefile
2004-06-26 07:35:05 +00:00

34 lines
835 B
Makefile

# $OpenBSD: Makefile,v 1.17 2004/06/26 07:35:09 xsa Exp $
COMMENT= "perl modules for creating and manipulating PDF"
DISTNAME= Text-PDF-0.25
PKGNAME= p5-${DISTNAME}
CATEGORIES= textproc perl5
MAINTAINER= Shell Hung <shell@openbsd.org>
# Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
RUN_DEPENDS= :p5-Compress-Zlib-*:archivers/p5-Compress-Zlib
BUILD_DEPENDS= ${RUN_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>