aboutsummaryrefslogtreecommitdiffstats
path: root/audio/liboggz
diff options
context:
space:
mode:
authoradamw <adamw@FreeBSD.org>2014-01-03 23:26:06 +0800
committeradamw <adamw@FreeBSD.org>2014-01-03 23:26:06 +0800
commit855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99 (patch)
treebc69c025c1ff53d7dce410b1f29dea3232181f67 /audio/liboggz
parentd62f31863259e22aad489e1d7c5e0045037951d4 (diff)
downloadfreebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.tar.gz
freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.tar.zst
freebsd-ports-gnome-855b8f9eb8b6c8d2ac7ab50561b4fcac8c30ac99.zip
Convert to PORT_OPTIONS:MDOCS.
Holdout shame list: ruby, perl, python
Diffstat (limited to 'audio/liboggz')
-rw-r--r--audio/liboggz/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/audio/liboggz/Makefile b/audio/liboggz/Makefile
index e8426f9e0bee..844faaa42057 100644
--- a/audio/liboggz/Makefile
+++ b/audio/liboggz/Makefile
@@ -34,6 +34,8 @@ MAN1= oggz.1 \
oggz-validate.1 \
oggz-codecs.1
+.include <bsd.port.options.mk>
+
# First REINPLACE_CMD line makes all timestimes relative to localtime, crude hack
post-patch:
@${REINPLACE_CMD} -e 's/timezone/0/' \
@@ -41,7 +43,7 @@ post-patch:
${WRKSRC}/src/tools/oggz-chop/httpdate_test.c
@${REINPLACE_CMD} -e '/^pkgconfigdir/s!=.*!= ${PREFIX}/libdata/pkgconfig!' \
${WRKSRC}/Makefile.in
-.ifdef NOPORTDOCS
+.if ${PORT_OPTIONS:MDOCS}
@${REINPLACE_CMD} -e '/^install-data-am/s!install-data-local!!' \
${WRKSRC}/doc/Makefile.in
.endif