svn commit: r305465 - head/audio/libfishsound
Sunpoet Po-Chuan Hsieh
sunpoet at FreeBSD.org
Sun Oct 7 12:12:22 UTC 2012
Author: sunpoet
Date: Sun Oct 7 12:12:21 2012
New Revision: 305465
URL: http://svn.freebsd.org/changeset/ports/305465
Log:
- Cleanup Makefile header
- Convert to new options framework
Modified:
head/audio/libfishsound/Makefile (contents, props changed)
head/audio/libfishsound/pkg-descr (contents, props changed)
Modified: head/audio/libfishsound/Makefile
==============================================================================
--- head/audio/libfishsound/Makefile Sun Oct 7 12:09:41 2012 (r305464)
+++ head/audio/libfishsound/Makefile Sun Oct 7 12:12:21 2012 (r305465)
@@ -1,9 +1,5 @@
-# New ports collection makefile for: libfishsound
-# Date created: 2010-05-28
-# Whom: Sunpoet Po-Chuan Hsieh <sunpoet at sunpoet.net>
-#
+# Created by: Sunpoet Po-Chuan Hsieh <sunpoet at 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
Modified: head/audio/libfishsound/pkg-descr
==============================================================================
--- head/audio/libfishsound/pkg-descr Sun Oct 7 12:09:41 2012 (r305464)
+++ head/audio/libfishsound/pkg-descr Sun Oct 7 12:12:21 2012 (r305465)
@@ -13,4 +13,4 @@ encapsulation, though it is most commonl
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/
More information about the svn-ports-head
mailing list