summaryrefslogtreecommitdiff
path: root/audio/libvorbis/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'audio/libvorbis/Makefile')
-rw-r--r--audio/libvorbis/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/audio/libvorbis/Makefile b/audio/libvorbis/Makefile
index 7f1a51bda798..7572d10142d3 100644
--- a/audio/libvorbis/Makefile
+++ b/audio/libvorbis/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libvorbis
-# Date created: 18 October 2000
-# Whom: t.vanklaveren@student.utwente.nl
-#
+# Created by: t.vanklaveren@student.utwente.nl
# $FreeBSD$
-#
PORTNAME= libvorbis
PORTVERSION= 1.3.3
@@ -27,10 +23,12 @@ CONFIGURE_ARGS= --with-ogg=${LOCALBASE} \
--disable-docs # don't rebuild
MAKE_JOBS_SAFE= yes
-.if defined(NOPORTDOCS)
-MAKE_ENV= DOC=""
-.else
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MDOCS}
MAKE_ENV= DOC=doc
+.else
+MAKE_ENV= DOC=""
.endif
regression-test: build