aboutsummaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2009-03-20 16:34:30 +0800
committerdinoex <dinoex@FreeBSD.org>2009-03-20 16:34:30 +0800
commitaaeb6606b503d629c9e56ce9fbe4e4df0a75eebe (patch)
treea1b7b710a0c26f4bc7edec9dc7f6f2f4bb3e0102 /graphics
parentf2a2b9494e4acd9b31f772b49baf8acd2655e626 (diff)
downloadfreebsd-ports-gnome-aaeb6606b503d629c9e56ce9fbe4e4df0a75eebe.tar.gz
freebsd-ports-gnome-aaeb6606b503d629c9e56ce9fbe4e4df0a75eebe.tar.zst
freebsd-ports-gnome-aaeb6606b503d629c9e56ce9fbe4e4df0a75eebe.zip
- honor NOPORTEXAMPLES
Diffstat (limited to 'graphics')
-rw-r--r--graphics/graphviz/Makefile2
-rw-r--r--graphics/graphviz/pkg-plist48
2 files changed, 26 insertions, 24 deletions
diff --git a/graphics/graphviz/Makefile b/graphics/graphviz/Makefile
index 7aba2adbbbc8..461a77f6488a 100644
--- a/graphics/graphviz/Makefile
+++ b/graphics/graphviz/Makefile
@@ -424,6 +424,7 @@ post-install: install-ldconfig-file
. endfor
cd ${DOCSDIR}/pdf && ${LN} -fs gxl2dot.pdf dot2gxl.pdf
.endif
+.if !defined(NOPORTEXAMPLES)
@${ECHO_MSG} "Installing demo data..."
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_SCRIPT} \
@@ -444,5 +445,6 @@ post-install: install-ldconfig-file
${INSTALL_DATA} \
${WRKSRC}/tclpkg/tclpathplan/demo/pathplan_data/*.dat \
${EXAMPLESDIR}/pathplan_data/
+.endif
.include <bsd.port.post.mk>
diff --git a/graphics/graphviz/pkg-plist b/graphics/graphviz/pkg-plist
index 6111b7a08e53..311e70c5ce99 100644
--- a/graphics/graphviz/pkg-plist
+++ b/graphics/graphviz/pkg-plist
@@ -374,28 +374,28 @@ libdata/pkgconfig/libgvc.pc
%%PORTDOCS%%%%DOCSDIR%%/cpl1.0.txt
%%PORTDOCS%%%%DOCSDIR%%/Dot.ref
%%PORTDOCS%%%%DOCSDIR%%/latex_suggestions.txt
-%%EXAMPLESDIR%%/entities.tcl
-%%EXAMPLESDIR%%/entities.tcl.README
-%%EXAMPLESDIR%%/doted.tcl
-%%EXAMPLESDIR%%/doted.tcl.README
-%%EXAMPLESDIR%%/gcat.tcl
-%%EXAMPLESDIR%%/gcat.tcl.README
-%%EXAMPLESDIR%%/pathplan_data/boxes.dat
-%%EXAMPLESDIR%%/pathplan_data/dpd.dat
-%%EXAMPLESDIR%%/pathplan_data/funny.dat
-%%EXAMPLESDIR%%/pathplan_data/maze.dat
-%%EXAMPLESDIR%%/pathplan_data/nested.dat
-%%EXAMPLESDIR%%/pathplan_data/northo.dat
-%%EXAMPLESDIR%%/pathplan_data/obs.dat
-%%EXAMPLESDIR%%/pathplan_data/other.dat
-%%EXAMPLESDIR%%/pathplan_data/paths.dat
-%%EXAMPLESDIR%%/pathplan_data/rotor.dat
-%%EXAMPLESDIR%%/pathplan_data/u.dat
-%%EXAMPLESDIR%%/pathplan_data/unknown.dat
-%%EXAMPLESDIR%%/pathplan.tcl
-%%EXAMPLESDIR%%/pathplan.tcl.README
-%%EXAMPLESDIR%%/spline.tcl
-%%EXAMPLESDIR%%/spline.tcl.README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/entities.tcl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/entities.tcl.README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/doted.tcl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/doted.tcl.README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gcat.tcl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/gcat.tcl.README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/boxes.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/dpd.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/funny.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/maze.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/nested.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/northo.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/obs.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/other.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/paths.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/rotor.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/u.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan_data/unknown.dat
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan.tcl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/pathplan.tcl.README
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spline.tcl
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/spline.tcl.README
%%WITH_LUA%%%%DATADIR%%/demo/modgraph.lua
%%WITH_PERL%%%%DATADIR%%/demo/modgraph.pl
%%WITH_PHP%%%%DATADIR%%/demo/modgraph.php
@@ -568,8 +568,8 @@ libdata/pkgconfig/libgvc.pc
@dirrm %%DATADIR%%/lefty
@dirrm %%DATADIR%%/smyrna
@dirrm %%DATADIR%%
-@dirrm %%EXAMPLESDIR%%/pathplan_data
-@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%/pathplan_data
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/html
%%PORTDOCS%%@dirrm %%DOCSDIR%%/pdf
%%PORTDOCS%%@dirrm %%DOCSDIR%%