aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/giram
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 /graphics/giram
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 'graphics/giram')
-rw-r--r--graphics/giram/Makefile2
-rw-r--r--graphics/giram/pkg-plist4
2 files changed, 3 insertions, 3 deletions
diff --git a/graphics/giram/Makefile b/graphics/giram/Makefile
index a0f7d9b4d9a1..7af6f43baf4e 100644
--- a/graphics/giram/Makefile
+++ b/graphics/giram/Makefile
@@ -25,7 +25,7 @@ CONFIGURE_ARGS= --datadir="${PREFIX}/lib" \
--with-lib3ds-prefix="${LOCALBASE}"
CPPFLAGS+= -I${LOCALBASE}/include
-OPTIONS_DEFINE= EXAMPLES
+OPTIONS_DEFINE= DOCS EXAMPLES
post-patch:
@${REINPLACE_CMD} -e '36s,static ,,' ${WRKSRC}/src/tools/tool_disc.c
diff --git a/graphics/giram/pkg-plist b/graphics/giram/pkg-plist
index 4567051f6c86..cd786c768e75 100644
--- a/graphics/giram/pkg-plist
+++ b/graphics/giram/pkg-plist
@@ -38,7 +38,7 @@ libexec/giram/plug-ins/Box
libexec/giram/plug-ins/Rotate
libexec/giram/plug-ins/Spheres
man/man1/giram.1.gz
-%%DOCSDIR%%/Tutorial
+%%PORTDOCS%%%%DOCSDIR%%/Tutorial
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Cone.pov
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Disc.pov
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/Giram.pov
@@ -90,7 +90,7 @@ share/locale/tr/LC_MESSAGES/giram.mo
share/locale/uk/LC_MESSAGES/giram.mo
share/locale/zh_CN/LC_MESSAGES/giram.mo
share/locale/zh_TW/LC_MESSAGES/giram.mo
-@dirrm %%DOCSDIR%%
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm libexec/giram/plug-ins
@dirrm libexec/giram
@dirrm lib/giram/0.3/tips