aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/gavl/Makefile4
-rw-r--r--multimedia/mimms/Makefile4
-rw-r--r--multimedia/streamanalyze/Makefile4
3 files changed, 4 insertions, 8 deletions
diff --git a/multimedia/gavl/Makefile b/multimedia/gavl/Makefile
index 6d5e5f998206..3d9919380767 100644
--- a/multimedia/gavl/Makefile
+++ b/multimedia/gavl/Makefile
@@ -22,7 +22,7 @@ CONFIGURE_ARGS= --with-cpuflags=none --without-doxygen
PORTDOCS= README
-OPTIONS_DEFINE= OPTIMIZED_CFLAGS PNG
+OPTIONS_DEFINE= OPTIMIZED_CFLAGS PNG DOCS
OPTIONS_DEFAULT= OPTIMIZED_CFLAGS PNG
PNG_LIB_DEPENDS= libpng15.so:${PORTSDIR}/graphics/png
PNG_CONFIGURE_OFF= --disable-libpng
@@ -37,9 +37,7 @@ post-patch:
.endif
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>
diff --git a/multimedia/mimms/Makefile b/multimedia/mimms/Makefile
index 0145d7639165..b88da31ee537 100644
--- a/multimedia/mimms/Makefile
+++ b/multimedia/mimms/Makefile
@@ -19,15 +19,15 @@ PYDISTUTILS_PKGVERSION= 3.2
PORTDOCS= AUTHORS COPYING NEWS README
+OPTIONS_DEFINE= DOCS
+
post-patch:
@${REINPLACE_CMD} -e 's|share/man/man1|man/man1|' ${WRKSRC}/setup.py
post-install:
-.if !defined(NOPORTDOCS)
@${MKDIR} ${STAGEDIR}${DOCSDIR}
.for doc in ${PORTDOCS}
@${INSTALL_DATA} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
.include <bsd.port.mk>
diff --git a/multimedia/streamanalyze/Makefile b/multimedia/streamanalyze/Makefile
index 981c55f7cce1..5d009d9f2728 100644
--- a/multimedia/streamanalyze/Makefile
+++ b/multimedia/streamanalyze/Makefile
@@ -23,9 +23,7 @@ post-patch:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/streamanalyze ${STAGEDIR}${PREFIX}/bin
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
-.endif
.include <bsd.port.mk>