diff options
author | adamw <adamw@FreeBSD.org> | 2014-07-05 06:25:48 +0800 |
---|---|---|
committer | adamw <adamw@FreeBSD.org> | 2014-07-05 06:25:48 +0800 |
commit | e774271429b814cb4ea8f9e7d65123a9b5cc2b77 (patch) | |
tree | 208ea5dc5e7a8a951319cfc1c00f5e6b5e4fd3ea /sysutils/xvidcap | |
parent | 5ba125c98f099d12e805f0ebb2446700e533512d (diff) | |
download | freebsd-ports-gnome-e774271429b814cb4ea8f9e7d65123a9b5cc2b77.tar.gz freebsd-ports-gnome-e774271429b814cb4ea8f9e7d65123a9b5cc2b77.tar.zst freebsd-ports-gnome-e774271429b814cb4ea8f9e7d65123a9b5cc2b77.zip |
Remove NOPORTDOCS and NOPORTEXAMPLES.
Diffstat (limited to 'sysutils/xvidcap')
-rw-r--r-- | sysutils/xvidcap/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/sysutils/xvidcap/Makefile b/sysutils/xvidcap/Makefile index b08cbf4fe6fa..16d0c889c8d1 100644 --- a/sysutils/xvidcap/Makefile +++ b/sysutils/xvidcap/Makefile @@ -38,15 +38,19 @@ CFLAGS+= -O2 -fno-strict-aliasing PORTDOCS= AUTHORS ChangeLog README NULLDOCS= COPYING +OPTIONS_DEFINE= DOCS + +.include <bsd.port.options.mk> + pre-configure: -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) ${REINPLACE_CMD} -e 's|pkgdataDATA install-xvidcapdocDATA|pkgdataDATA|' \ ${WRKSRC}/Makefile.in .endif ${REINPLACE_CMD} -e 's|/bin/bash | /bin/sh|' ${WRKSRC}/ppm2mpeg.sh post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${RM} -f ${NULLDOCS:S|^|${STAGEDIR}${DOCSDIR}/|} .endif |