2003-11-15 15:12:53 +00:00
|
|
|
# $OpenBSD: Makefile,v 1.16 2003/11/15 15:12:54 sturm Exp $
|
2001-02-20 02:56:31 +00:00
|
|
|
|
2001-05-16 08:58:18 +00:00
|
|
|
COMMENT= "perl modules for creating and manipulating PDF"
|
2001-03-30 02:29:17 +00:00
|
|
|
|
2003-06-14 10:04:22 +00:00
|
|
|
DISTNAME= Text-PDF-0.25
|
2001-02-20 02:56:31 +00:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
|
2001-04-17 06:37:33 +00:00
|
|
|
MAINTAINER= Shell Hung <shell@openbsd.org>
|
2001-02-20 02:56:31 +00:00
|
|
|
|
2003-11-15 15:12:53 +00:00
|
|
|
# Artistic
|
2001-02-20 02:56:31 +00:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-14 12:07:09 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
|
2001-02-20 02:56:31 +00:00
|
|
|
|
2002-06-09 05:31:40 +00:00
|
|
|
BUILD_DEPENDS= :p5-Compress-Zlib-*:archivers/p5-Compress-Zlib
|
2001-02-20 02:56:31 +00:00
|
|
|
RUN_DEPENDS= ${BUILD_DEPENDS}
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= perl
|
|
|
|
|
2001-03-30 02:29:17 +00:00
|
|
|
EXAMPLE_DIR= ${PREFIX}/share/examples/p5-Text-PDF
|
|
|
|
EXAMPLE_LOC= ${WRKSRC}/examples
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
|
2001-07-21 04:22:53 +00:00
|
|
|
${INSTALL_SCRIPT} ${EXAMPLE_LOC}/*.pl ${EXAMPLE_DIR}/
|
|
|
|
${INSTALL_DATA} ${EXAMPLE_LOC}/*.CFG ${EXAMPLE_DIR}/
|
|
|
|
${INSTALL_DATA} ${EXAMPLE_LOC}/*.pdf ${EXAMPLE_DIR}/
|
2001-03-30 02:29:17 +00:00
|
|
|
|
2001-02-20 02:56:31 +00:00
|
|
|
.include <bsd.port.mk>
|