aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorsunpoet <sunpoet@FreeBSD.org>2012-10-07 20:12:21 +0800
committersunpoet <sunpoet@FreeBSD.org>2012-10-07 20:12:21 +0800
commit92841b7b386990e1cf234d47eae8aacd49881e75 (patch)
treee03e700a6944087d094c9a66ca67f4e82c261175 /audio
parent7945f2cc08ac085a4d802372f41d6f0962098817 (diff)
downloadfreebsd-ports-graphics-92841b7b386990e1cf234d47eae8aacd49881e75.tar.gz
freebsd-ports-graphics-92841b7b386990e1cf234d47eae8aacd49881e75.tar.zst
freebsd-ports-graphics-92841b7b386990e1cf234d47eae8aacd49881e75.zip
- Cleanup Makefile header
- Convert to new options framework
Diffstat (limited to 'audio')
-rw-r--r--audio/libfishsound/Makefile12
-rw-r--r--audio/libfishsound/pkg-descr2
2 files changed, 5 insertions, 9 deletions
diff --git a/audio/libfishsound/Makefile b/audio/libfishsound/Makefile
index 28512182da9..1cd7fed909b 100644
--- a/audio/libfishsound/Makefile
+++ b/audio/libfishsound/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libfishsound
-# Date created: 2010-05-28
-# Whom: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet@sunpoet.net>
# $FreeBSD$
-#
PORTNAME= libfishsound
PORTVERSION= 1.0.0
@@ -23,17 +19,17 @@ GNU_CONFIGURE= yes
USE_GNOME= gnomehack pkgconfig
USE_LDCONFIG= yes
-OPTIONS= DOXYGEN "Doxygen is required for generating documents" off
+OPTIONS_DEFINE= DOCS DOXYGEN
.include <bsd.port.options.mk>
-.if !defined(NOPORTDOCS) && defined(WITH_DOXYGEN)
+.if ${PORT_OPTIONS:MDOCS} && ${PORT_OPTIONS:MDOXYGEN}
BUILD_DEPENDS+= ${LOCALBASE}/bin/doxygen:${PORTSDIR}/devel/doxygen
PORTDOCS= *
.endif
post-patch:
-.if defined(NOPORTDOCS) || !defined(WITH_DOXYGEN)
+.if empty(PORT_OPTIONS:MDOCS) || empty(PORT_OPTIONS:MDOXYGEN)
@${REINPLACE_CMD} -e '/^SUBDIRS = / s| doc||' ${WRKSRC}/Makefile.in
.endif
diff --git a/audio/libfishsound/pkg-descr b/audio/libfishsound/pkg-descr
index 88fc2b87a3b..075abe4f073 100644
--- a/audio/libfishsound/pkg-descr
+++ b/audio/libfishsound/pkg-descr
@@ -13,4 +13,4 @@ encapsulation, though it is most commonly used in conjunction with liboggz to
decode or encode FLAC, Speex or Vorbis audio tracks in Ogg files, including Ogg
Theora and Annodex.
-WWW: http://www.xiph.org/fishsound/
+WWW: http://www.xiph.org/fishsound/