aboutsummaryrefslogtreecommitdiffstats
path: root/math/plplot
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-08-04 11:40:14 +0800
committeradamw <adamw@FreeBSD.org>2014-08-04 11:40:14 +0800
commit4eda3a9e794c7b1834eede06f4e71fe345c791d6 (patch)
tree813aa84d1ad8bd3cfafe0793f530eff6e9c6194c /math/plplot
parent0eff41e7b9a36ea4031df2f12affda98bd0b9e61 (diff)
downloadfreebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.tar.gz
freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.tar.zst
freebsd-ports-gnome-4eda3a9e794c7b1834eede06f4e71fe345c791d6.zip
In some straightforward cases, protect documentation behind
PORTDOCS, adding a DOCS option where needed, and a couple PORTEXAMPLES for good measure.
Diffstat (limited to 'math/plplot')
-rw-r--r--math/plplot/Makefile4
-rw-r--r--math/plplot/pkg-plist38
2 files changed, 21 insertions, 21 deletions
diff --git a/math/plplot/Makefile b/math/plplot/Makefile
index d1924eb2fd58..aaeb3dd5ac79 100644
--- a/math/plplot/Makefile
+++ b/math/plplot/Makefile
@@ -20,8 +20,8 @@ LIB_DEPENDS= libLASi.so:${PORTSDIR}/devel/lasi \
RUN_DEPENDS= bash:${PORTSDIR}/shells/bash \
${FREEFONT_DIR}/FreeMono.ttf:${PORTSDIR}/x11-fonts/freefont-ttf
-OPTIONS_DEFINE= FORTRAN GD LUA PYTHON QT4 TCLTK THREADS WXGTK X11
-OPTIONS_DEFAULT= THREADS X11
+OPTIONS_DEFINE= FORTRAN GD LUA PYTHON QT4 TCLTK THREADS WXGTK X11 DOCS
+OPTIONS_DEFAULT=THREADS X11
USE_GNOME= pango
USE_PERL5= build
diff --git a/math/plplot/pkg-plist b/math/plplot/pkg-plist
index c410025a56e0..010ec5b492cf 100644
--- a/math/plplot/pkg-plist
+++ b/math/plplot/pkg-plist
@@ -112,24 +112,24 @@ libdata/pkgconfig/plplotd.pc
%%TCLTK%%man/man1/plserver.1.gz
%%TCLTK%%man/man1/pltcl.1.gz
man/man1/pltek.1.gz
-%%DOCSDIR%%/ABOUT
-%%DOCSDIR%%/AUTHORS
-%%DOCSDIR%%/COPYING.LIB
-%%DOCSDIR%%/ChangeLog.release
-%%DOCSDIR%%/Copyright
-%%DOCSDIR%%/FAQ
-%%DOCSDIR%%/NEWS
-%%DOCSDIR%%/PROBLEMS
-%%DOCSDIR%%/README
-%%DOCSDIR%%/README.1st.csa
-%%DOCSDIR%%/README.1st.nn
-%%DOCSDIR%%/README.csa
-%%DOCSDIR%%/README.drivers
-%%DOCSDIR%%/README.nn
-%%DOCSDIR%%/README.pkg-config
-%%DOCSDIR%%/README.release
-%%DOCSDIR%%/README.testing
-%%DOCSDIR%%/README.wxwidgets
+%%PORTDOCS%%%%DOCSDIR%%/ABOUT
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING.LIB
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.release
+%%PORTDOCS%%%%DOCSDIR%%/Copyright
+%%PORTDOCS%%%%DOCSDIR%%/FAQ
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/PROBLEMS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/README.1st.csa
+%%PORTDOCS%%%%DOCSDIR%%/README.1st.nn
+%%PORTDOCS%%%%DOCSDIR%%/README.csa
+%%PORTDOCS%%%%DOCSDIR%%/README.drivers
+%%PORTDOCS%%%%DOCSDIR%%/README.nn
+%%PORTDOCS%%%%DOCSDIR%%/README.pkg-config
+%%PORTDOCS%%%%DOCSDIR%%/README.release
+%%PORTDOCS%%%%DOCSDIR%%/README.testing
+%%PORTDOCS%%%%DOCSDIR%%/README.wxwidgets
%%DATADIR%%/cglobe.map
%%DATADIR%%/cmap0_alternate.pal
%%DATADIR%%/cmap0_black_on_white.pal
@@ -637,7 +637,7 @@ man/man1/pltek.1.gz
@dirrm %%DATADIR%%/examples/c
@dirrm %%DATADIR%%/examples
@dirrm %%DATADIR%%
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm lib/plplot/driversd
@dirrm lib/plplot
%%LUA%%@dirrm %%LUA_MODLIBDIR%%/plplot