aboutsummaryrefslogtreecommitdiff
path: root/lang/spl
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:24:35 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 00:24:35 +0000
commitfb921759707ace68a7e9d3b32c4d6c179381faf4 (patch)
tree7783ff0f0257a62f380e3b38e870e71e9f194186 /lang/spl
parentb26a28d61964b5c5877f0d97003ba7d9ec101b09 (diff)
downloadports-fb921759707ace68a7e9d3b32c4d6c179381faf4.tar.gz
ports-fb921759707ace68a7e9d3b32c4d6c179381faf4.zip
Remove NOPORTDOCS and NOPORTEXAMPLES.
Notes
Notes: svn path=/head/; revision=360495
Diffstat (limited to 'lang/spl')
-rw-r--r--lang/spl/Makefile4
-rw-r--r--lang/spl/pkg-plist18
2 files changed, 11 insertions, 11 deletions
diff --git a/lang/spl/Makefile b/lang/spl/Makefile
index 4fc444690a61..2521788bc723 100644
--- a/lang/spl/Makefile
+++ b/lang/spl/Makefile
@@ -15,6 +15,8 @@ USES= bison gmake
ALL_EXAMPLES= Makefile fibonacci.spl fibonacci2.spl guess.spl hello.spl \
primes.spl reverse.spl shakesbeer.spl
+OPTIONS_DEFINE= EXAMPLES
+
post-patch:
.for f in . examples
${REINPLACE_CMD} -e 's,= gcc,?= gcc,' -e 's,^CCFLAGS.*,CFLAGS += -Wall,' \
@@ -25,9 +27,7 @@ post-patch:
do-install:
${TAR} -C ${WRKSRC}/spl -cf - . | ${TAR} -C ${STAGEDIR}${PREFIX} -xf -
-.if !defined(NOPORTDOCS)
${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
cd ${WRKSRC}/examples && ${INSTALL_DATA} ${ALL_EXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
.include <bsd.port.mk>
diff --git a/lang/spl/pkg-plist b/lang/spl/pkg-plist
index 76ca78b69821..1f3b38088ffc 100644
--- a/lang/spl/pkg-plist
+++ b/lang/spl/pkg-plist
@@ -1,12 +1,12 @@
bin/spl2c
include/spl.h
lib/libspl.a
-%%PORTDOCS%%share/examples/spl/Makefile
-%%PORTDOCS%%share/examples/spl/hello.spl
-%%PORTDOCS%%share/examples/spl/primes.spl
-%%PORTDOCS%%share/examples/spl/reverse.spl
-%%PORTDOCS%%share/examples/spl/fibonacci.spl
-%%PORTDOCS%%share/examples/spl/fibonacci2.spl
-%%PORTDOCS%%share/examples/spl/guess.spl
-%%PORTDOCS%%share/examples/spl/shakesbeer.spl
-%%PORTDOCS%%@dirrm share/examples/spl
+%%PORTEXAMPLES%%share/examples/spl/Makefile
+%%PORTEXAMPLES%%share/examples/spl/hello.spl
+%%PORTEXAMPLES%%share/examples/spl/primes.spl
+%%PORTEXAMPLES%%share/examples/spl/reverse.spl
+%%PORTEXAMPLES%%share/examples/spl/fibonacci.spl
+%%PORTEXAMPLES%%share/examples/spl/fibonacci2.spl
+%%PORTEXAMPLES%%share/examples/spl/guess.spl
+%%PORTEXAMPLES%%share/examples/spl/shakesbeer.spl
+%%PORTEXAMPLES%%@dirrm share/examples/spl