aboutsummaryrefslogtreecommitdiff
path: root/sysutils/xvidcap
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:25:48 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2014-07-04 22:25:48 +0000
commit6883b2c6e73fe8ce623318807a0287e5daa9b208 (patch)
tree208ea5dc5e7a8a951319cfc1c00f5e6b5e4fd3ea /sysutils/xvidcap
parent381f5c8d0b11d6ffa759a218ed654f320aaef1ae (diff)
downloadports-6883b2c6e73fe8ce623318807a0287e5daa9b208.tar.gz
ports-6883b2c6e73fe8ce623318807a0287e5daa9b208.zip
Notes
Diffstat (limited to 'sysutils/xvidcap')
-rw-r--r--sysutils/xvidcap/Makefile8
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