Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 7 Oct 2012 12:12:21 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r305465 - head/audio/libfishsound
Message-ID:  <201210071212.q97CCLI2095566@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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
 

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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201210071212.q97CCLI2095566>