From owner-svn-ports-all@FreeBSD.ORG Sun Oct 7 12:12:22 2012 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AC50106564A; Sun, 7 Oct 2012 12:12:22 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 2B10D8FC0A; Sun, 7 Oct 2012 12:12:22 +0000 (UTC) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q97CCM8b095569; Sun, 7 Oct 2012 12:12:22 GMT (envelope-from sunpoet@svn.freebsd.org) Received: (from sunpoet@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q97CCLI2095566; Sun, 7 Oct 2012 12:12:21 GMT (envelope-from sunpoet@svn.freebsd.org) Message-Id: <201210071212.q97CCLI2095566@svn.freebsd.org> From: Sunpoet Po-Chuan Hsieh Date: Sun, 7 Oct 2012 12:12:21 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r305465 - head/audio/libfishsound X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Oct 2012 12:12:22 -0000 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 -# +# Created by: Sunpoet Po-Chuan Hsieh # $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 -.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/