aboutsummaryrefslogtreecommitdiffstats
path: root/math/pecl-big_int
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-07-16 11:00:46 +0800
committeradamw <adamw@FreeBSD.org>2014-07-16 11:00:46 +0800
commit037277c495c4a69f56029e71eecf6838910561c8 (patch)
tree728a3619568ce38b9188fc0b8717a16a880d52d3 /math/pecl-big_int
parent944f55c3adc149ff34c18999a68dd201bd55600a (diff)
downloadfreebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.tar.gz
freebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.tar.zst
freebsd-ports-gnome-037277c495c4a69f56029e71eecf6838910561c8.zip
Add DOCS option for ports with PORTDOCS in plist.
Diffstat (limited to 'math/pecl-big_int')
-rw-r--r--math/pecl-big_int/Makefile2
-rw-r--r--math/pecl-big_int/pkg-plist12
2 files changed, 8 insertions, 6 deletions
diff --git a/math/pecl-big_int/Makefile b/math/pecl-big_int/Makefile
index 02ada663f217..253a40010cdc 100644
--- a/math/pecl-big_int/Makefile
+++ b/math/pecl-big_int/Makefile
@@ -21,6 +21,8 @@ EXAMPLES= bitset.php example.php rand.php RSA.php std_header.php
CONFIGURE_ARGS= --enable-big-int=shared
+OPTIONS_DEFINE= DOCS EXAMPLES
+
post-install:
${MKDIR} ${STAGEDIR}${DOCSDIR}
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
diff --git a/math/pecl-big_int/pkg-plist b/math/pecl-big_int/pkg-plist
index 982efe9af06e..5e11de094436 100644
--- a/math/pecl-big_int/pkg-plist
+++ b/math/pecl-big_int/pkg-plist
@@ -3,10 +3,10 @@
%%PORTDOCS%%%%DOCSDIR%%/LICENSE
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%%%DOCSDIR%%/index.html
-%%PORTDOCS%%%%EXAMPLESDIR%%/RSA.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/bitset.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/example.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/rand.php
-%%PORTDOCS%%%%EXAMPLESDIR%%/std_header.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/RSA.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/bitset.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/example.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/rand.php
+%%PORTEXAMPLES%%%%EXAMPLESDIR%%/std_header.php
%%PORTDOCS%%@dirrm %%DOCSDIR%%
-%%PORTDOCS%%@dirrm %%EXAMPLESDIR%%
+%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%