diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-04 08:24:35 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-04 08:24:35 +0800 |
commit | 6dc78950e0c80495bfd57af06cfff20ee2bbc55e (patch) | |
tree | 7783ff0f0257a62f380e3b38e870e71e9f194186 /lang/spl | |
parent | d93a96c3cc6bac03a611ffb3c80f89ee09e58d63 (diff) | |
download | freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.tar.gz freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.tar.zst freebsd-ports-gnome-6dc78950e0c80495bfd57af06cfff20ee2bbc55e.zip |
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'lang/spl')
-rw-r--r-- | lang/spl/Makefile | 4 | ||||
-rw-r--r-- | lang/spl/pkg-plist | 18 |
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 |