2004-06-26 03:35:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.17 2004/06/26 07:35:09 xsa Exp $
|
2001-02-19 21:56:31 -05:00
|
|
|
|
2001-05-16 04:58:18 -04:00
|
|
|
COMMENT= "perl modules for creating and manipulating PDF"
|
2001-03-29 21:29:17 -05:00
|
|
|
|
2003-06-14 06:04:22 -04:00
|
|
|
DISTNAME= Text-PDF-0.25
|
2001-02-19 21:56:31 -05:00
|
|
|
PKGNAME= p5-${DISTNAME}
|
|
|
|
CATEGORIES= textproc perl5
|
|
|
|
|
2001-04-17 02:37:33 -04:00
|
|
|
MAINTAINER= Shell Hung <shell@openbsd.org>
|
2001-02-19 21:56:31 -05:00
|
|
|
|
2003-11-15 10:12:53 -05:00
|
|
|
# Artistic
|
2001-02-19 21:56:31 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-14 08:07:09 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
|
2001-02-19 21:56:31 -05:00
|
|
|
|
2004-06-26 03:35:05 -04:00
|
|
|
RUN_DEPENDS= :p5-Compress-Zlib-*:archivers/p5-Compress-Zlib
|
|
|
|
BUILD_DEPENDS= ${RUN_DEPENDS}
|
2001-02-19 21:56:31 -05:00
|
|
|
|
|
|
|
CONFIGURE_STYLE= perl
|
|
|
|
|
2001-03-29 21:29:17 -05:00
|
|
|
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}/
|
2001-03-29 21:29:17 -05:00
|
|
|
|
2001-02-19 21:56:31 -05:00
|
|
|
.include <bsd.port.mk>
|