aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2015-03-06 01:27:20 +0800
committersunpoet <sunpoet@FreeBSD.org>2015-03-06 01:27:20 +0800
commite06b8ffca416dc8fee61466ad02303e42d5258c6 (patch)
treec4c08af5fdb74665597cde940ab99b63d0dd7e13 /textproc
parente154bf1cd786a5c067324d80f188a47924be0800 (diff)
downloadfreebsd-ports-gnome-e06b8ffca416dc8fee61466ad02303e42d5258c6.tar.gz
freebsd-ports-gnome-e06b8ffca416dc8fee61466ad02303e42d5258c6.tar.zst
freebsd-ports-gnome-e06b8ffca416dc8fee61466ad02303e42d5258c6.zip
- Simplify Makefile
- Use PORTEXAMPLES - Sort PLIST
Diffstat (limited to 'textproc')
-rw-r--r--textproc/p5-SVG/Makefile4
-rw-r--r--textproc/p5-SVG/pkg-plist27
2 files changed, 6 insertions, 25 deletions
diff --git a/textproc/p5-SVG/Makefile b/textproc/p5-SVG/Makefile
index 51c8ae6e7d77..9de79ccb375f 100644
--- a/textproc/p5-SVG/Makefile
+++ b/textproc/p5-SVG/Makefile
@@ -18,13 +18,11 @@ OPTIONS_DEFINE= EXAMPLES
USES= perl5 dos2unix
USE_PERL5= configure
-.include <bsd.port.options.mk>
+PORTEXAMPLES= *
post-install:
-.if ${PORT_OPTIONS:MEXAMPLES}
@${ECHO_MSG} "===> Installing examples for ${PKGNAME}"
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}/
${INSTALL_SCRIPT} ${WRKSRC}/examples/* ${STAGEDIR}${EXAMPLESDIR}/
-.endif
.include <bsd.port.mk>
diff --git a/textproc/p5-SVG/pkg-plist b/textproc/p5-SVG/pkg-plist
index bda2a54d8f00..0e2d619ad975 100644
--- a/textproc/p5-SVG/pkg-plist
+++ b/textproc/p5-SVG/pkg-plist
@@ -1,27 +1,10 @@
-%%PERL5_MAN3%%/SVG.3.gz
-%%PERL5_MAN3%%/SVG::DOM.3.gz
-%%PERL5_MAN3%%/SVG::Element.3.gz
-%%PERL5_MAN3%%/SVG::Extension.3.gz
-%%PERL5_MAN3%%/SVG::XML.3.gz
%%SITE_PERL%%/SVG.pm
%%SITE_PERL%%/SVG/DOM.pm
%%SITE_PERL%%/SVG/Element.pm
%%SITE_PERL%%/SVG/Extension.pm
%%SITE_PERL%%/SVG/XML.pm
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/01_circle.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/02_circle_with_color.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/03_circle_and_square.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/SVG_02_sample.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/attributeManip.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/circle.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/image_sample.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/inline_sample.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/inlinesvg.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/minsvg.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/starpath.cgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/sun_text_sample.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/svg.psgi
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/svg2png.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/svg_dom_sample.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/svgtest2.pl
-%%PORTEXAMPLES%%%%EXAMPLESDIR%%/yaph5.cgi
+%%PERL5_MAN3%%/SVG.3.gz
+%%PERL5_MAN3%%/SVG::DOM.3.gz
+%%PERL5_MAN3%%/SVG::Element.3.gz
+%%PERL5_MAN3%%/SVG::Extension.3.gz
+%%PERL5_MAN3%%/SVG::XML.3.gz