openbsd-ports/textproc/p5-Text-PDF/Makefile

28 lines
703 B
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.20 2007/09/15 20:59:40 merdely Exp $
COMMENT= perl modules for creating and manipulating PDF
MODULES= cpan
2003-06-14 06:04:22 -04:00
DISTNAME= Text-PDF-0.25
PKGNAME= p5-${DISTNAME}p0
CATEGORIES= textproc
2003-11-15 10:12:53 -05:00
# Artistic
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
RUN_DEPENDS= :p5-Compress-Zlib-*:archivers/p5-Compress-Zlib
EXAMPLE_DIR= ${PREFIX}/share/examples/p5-Text-PDF
EXAMPLE_LOC= ${WRKSRC}/examples
post-install:
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
2001-07-21 00:22:53 -04:00
${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>