- switch to MODCPAN_EXAMPLES

This commit is contained in:
jasper 2010-10-03 16:59:55 +00:00
parent 903a969c6c
commit 6f5f3e6b2b
6 changed files with 17 additions and 34 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.4 2007/09/15 20:59:39 merdely Exp $
# $OpenBSD: Makefile,v 1.5 2010/10/03 16:59:55 jasper Exp $
COMMENT= syntax highlight for HTML
@ -17,8 +17,8 @@ RUN_DEPENDS= ::www/p5-HTML-Parser
MAKE_ENV+= TEST_POD=Yes
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Syntax-Highlight-HTML
${INSTALL_DATA} ${WRKDIST}/eg/* ${PREFIX}/share/examples/p5-Syntax-Highlight-HTML
MODCPAN_EXAMPLES= Yes
MODCPAN_EXAMPLES_DIST= eg
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.7 2010/07/13 20:14:23 sthen Exp $
# $OpenBSD: Makefile,v 1.8 2010/10/03 16:59:55 jasper Exp $
COMMENT= syntax highlight for Mason
@ -19,8 +19,7 @@ RUN_DEPENDS= ::www/p5-HTML-Mason \
::textproc/p5-Syntax-Highlight-Perl \
::textproc/p5-Syntax-Highlight-HTML
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-Syntax-Highlight-Mason
${INSTALL_DATA} ${WRKDIST}/eg/view_source.html ${PREFIX}/share/examples/p5-Syntax-Highlight-Mason
MODCPAN_EXAMPLES= Yes
MODCPAN_EXAMPLES_DIST= eg
.include <bsd.port.mk>

View File

@ -1,10 +1,10 @@
# $OpenBSD: Makefile,v 1.22 2010/07/13 20:14:23 sthen Exp $
# $OpenBSD: Makefile,v 1.23 2010/10/03 16:59:55 jasper Exp $
COMMENT= perl modules for creating and manipulating PDF
MODULES= cpan
DISTNAME= Text-PDF-0.25
REVISION= 1
REVISION= 2
CATEGORIES= textproc
# Artistic
@ -13,13 +13,6 @@ PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
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}/
MODCPAN_EXAMPLES= Yes
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.9 2004/09/15 18:44:05 espie Exp $
@comment $OpenBSD: PLIST,v 1.10 2010/10/03 16:59:55 jasper Exp $
bin/pdfbklt.plx
bin/pdfrevert.plx
bin/pdfstamp.plx
@ -39,6 +39,7 @@ ${P5SITE}/Text/PDF/changes
@man man/man3p/Text::PDF::Utils.3p
share/examples/p5-Text-PDF/
share/examples/p5-Text-PDF/CD.CFG
share/examples/p5-Text-PDF/call_conf.txt
share/examples/p5-Text-PDF/graph.pl
share/examples/p5-Text-PDF/hello.pl
share/examples/p5-Text-PDF/pdfaddobj.pl

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2010/09/09 19:24:50 jasper Exp $
# $OpenBSD: Makefile,v 1.19 2010/10/03 16:59:55 jasper Exp $
COMMENT= perl extension for writing XML documents
@ -14,10 +14,6 @@ PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MODULES= cpan
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/p5-XML-Writer
${INSTALL_DATA} ${WRKSRC}/examples/* \
${PREFIX}/share/examples/p5-XML-Writer
MODCPAN_EXAMPLES= Yes
.include <bsd.port.mk>

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.18 2010/07/13 20:14:23 sthen Exp $
# $OpenBSD: Makefile,v 1.19 2010/10/03 16:59:55 jasper Exp $
COMMENT= modules for parsing and evaluating XPath statements
@ -9,18 +9,12 @@ CATEGORIES= textproc
RUN_DEPENDS= :p5-XML-Parser->=2.23:textproc/p5-XML-Parser
# GPL/Artistic
# perl
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
DOCDIR= ${PREFIX}/share/examples/p5-XML-XPath
SRCDOCDIR= ${WRKSRC}/examples
post-install:
${INSTALL_DATA_DIR} ${DOCDIR}
${INSTALL_SCRIPT} ${SRCDOCDIR}/xpath ${DOCDIR}/
${INSTALL_DATA} ${SRCDOCDIR}/*.xml ${DOCDIR}/
MODCPAN_EXAMPLES= Yes
.include <bsd.port.mk>