aboutsummaryrefslogtreecommitdiffstats
path: root/www
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-07 16:40:42 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-07 16:40:42 +0800
commit0f65d46d10b9551435ec0b023e20c73c16a7b0a3 (patch)
treeb7b33cc78ee3e4403819674e30df55eaa6b7184b /www
parenta6f0868d8bf041ba5926cdc98800774a40599fe7 (diff)
downloadfreebsd-ports-gnome-0f65d46d10b9551435ec0b023e20c73c16a7b0a3.tar.gz
freebsd-ports-gnome-0f65d46d10b9551435ec0b023e20c73c16a7b0a3.tar.zst
freebsd-ports-gnome-0f65d46d10b9551435ec0b023e20c73c16a7b0a3.zip
Support staging.
Diffstat (limited to 'www')
-rw-r--r--www/p5-W3C-LogValidator/Makefile28
-rw-r--r--www/p5-W3C-LogValidator/pkg-plist9
2 files changed, 20 insertions, 17 deletions
diff --git a/www/p5-W3C-LogValidator/Makefile b/www/p5-W3C-LogValidator/Makefile
index 4006a7964143..aade6b40efeb 100644
--- a/www/p5-W3C-LogValidator/Makefile
+++ b/www/p5-W3C-LogValidator/Makefile
@@ -23,23 +23,17 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
USES= perl5
USE_PERL5= configure
-MAN3= W3C::LogValidator.3 \
- W3C::LogValidator::Basic.3 \
- W3C::LogValidator::CSSValidator.3 \
- W3C::LogValidator::Config.3 \
- W3C::LogValidator::HTMLValidator.3 \
- W3C::LogValidator::Output::HTML.3 \
- W3C::LogValidator::Output::Mail.3 \
- W3C::LogValidator::Output::Raw.3 \
- W3C::LogValidator::SurveyEngine.3
-
-NO_STAGE= yes
+OPTIONS_DEFINE= EXAMPLES
+
+.include <bsd.port.options.mk>
+
post-install:
-.ifndef (NOPORTEXAMPLES)
- @${MKDIR} ${EXAMPLESDIR}/
- @${INSTALL_DATA} ${WRKSRC}/samples/NewModule.pm ${EXAMPLESDIR}/
- @${INSTALL_DATA} ${WRKSRC}/samples/NewOutputModule.pm ${EXAMPLESDIR}/
- @${INSTALL_DATA} ${WRKSRC}/samples/logprocess.conf ${EXAMPLESDIR}/
-.endif
+ ${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/samples/NewModule.pm \
+ ${STAGEDIR}${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/samples/NewOutputModule.pm \
+ ${STAGEDIR}${EXAMPLESDIR}/
+ ${INSTALL_DATA} ${WRKSRC}/samples/logprocess.conf \
+ ${STAGEDIR}${EXAMPLESDIR}/
.include <bsd.port.mk>
diff --git a/www/p5-W3C-LogValidator/pkg-plist b/www/p5-W3C-LogValidator/pkg-plist
index bd2a665ce570..5030b793706e 100644
--- a/www/p5-W3C-LogValidator/pkg-plist
+++ b/www/p5-W3C-LogValidator/pkg-plist
@@ -11,6 +11,15 @@ bin/logprocess.pl
%%SITE_PERL%%/W3C/LogValidator/Output/Raw.pm
%%SITE_PERL%%/W3C/LogValidator/SurveyEngine.pm
%%SITE_PERL%%/%%PERL_ARCH%%/auto/W3C/LogValidator/.packlist
+%%PERL5_MAN3%%/W3C::LogValidator.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Basic.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::CSSValidator.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Config.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::HTMLValidator.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Output::HTML.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Output::Mail.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::Output::Raw.3.gz
+%%PERL5_MAN3%%/W3C::LogValidator::SurveyEngine.3.gz
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/NewModule.pm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/NewOutputModule.pm
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/logprocess.conf