- use PORTEXAMPLES and EXAMPLESDIR as appropiate and fix plist for -DNO*

- bump PORTREVISION

Approved by:	maintainer timeout on QAT BotMail
Prompted by:	QAT QA run
This commit is contained in:
Ion-Mihai Tetcu 2008-11-22 08:36:31 +00:00
parent fb40493251
commit 29da39342a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=223179
2 changed files with 7 additions and 6 deletions

View File

@ -7,6 +7,7 @@
PORTNAME= XML-SAX-Machines
PORTVERSION= 0.41
PORTREVISION= 1
CATEGORIES= textproc perl5
MASTER_SITES= CPAN
PKGNAMEPREFIX= p5-
@ -27,7 +28,7 @@ MAN3= XML::Filter::Distributor.3 XML::Filter::DocSplitter.3 \
XML::SAX::Manifold.3 XML::SAX::Pipeline.3 XML::SAX::Tap.3
post-install:
.ifndef(NOPORTDOCS)
.ifndef(NOPORTEXAMPLES)
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${EXAMPLESDIR}

View File

@ -20,8 +20,8 @@
@dirrm %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX/Machines
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML/SAX
@dirrmtry %%SITE_PERL%%/%%PERL_ARCH%%/auto/XML
%%EXAMPLESDIR%%/append_to_xml_file
%%EXAMPLESDIR%%/output_to_process
%%EXAMPLESDIR%%/xml_records_thru_libxslt
%%EXAMPLESDIR%%/xml_records_to_data_structures
@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/append_to_xml_file
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/output_to_process
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xml_records_thru_libxslt
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/xml_records_to_data_structures
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%