From owner-svn-ports-all@FreeBSD.ORG Sat Oct 6 16:01:59 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 ADF22106566B; Sat, 6 Oct 2012 16:01:59 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 7F9428FC12; Sat, 6 Oct 2012 16:01:59 +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 q96G1xe2093313; Sat, 6 Oct 2012 16:01:59 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q96G1xq7093310; Sat, 6 Oct 2012 16:01:59 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210061601.q96G1xq7093310@svn.freebsd.org> From: Eitan Adler Date: Sat, 6 Oct 2012 16:01:59 +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: r305379 - head/audio/libgpod 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: Sat, 06 Oct 2012 16:01:59 -0000 Author: eadler Date: Sat Oct 6 16:01:58 2012 New Revision: 305379 URL: http://svn.freebsd.org/changeset/ports/305379 Log: Convert to OptionsNG Trim header Approved by: avilla (maintainer) Modified: head/audio/libgpod/Makefile Modified: head/audio/libgpod/Makefile ============================================================================== --- head/audio/libgpod/Makefile Sat Oct 6 15:34:12 2012 (r305378) +++ head/audio/libgpod/Makefile Sat Oct 6 16:01:58 2012 (r305379) @@ -1,9 +1,5 @@ -# New ports collection makefile for: libgpod -# Date created: Wed Jan 1 00:48:58 EST 2006 -# Whom: Devon Ryan -# +# Created by: Devon Ryan # $FreeBSD$ -# PORTNAME= libgpod PORTVERSION= 0.8.2 @@ -31,16 +27,15 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-udev --without-hal \ --with-html-dir="${PREFIX}/share/doc" - -OPTIONS= IMOBILE "Support Apple iPhone/iPod Touch" on \ - PYTHON "Enable Python bindings" off \ - MONO "Enable Mono bindings" off +OPTIONS_DEFINE= IMOBILE PYTHON MONO +OPTIONS_DEFAULT= IMOBILE +IMOBILE_DESC= Apple iPhone/iPod Touch support PORTDOCS= ChangeLog NEWS README* .include -.if defined(WITH_PYTHON) +.if ${PORT_OPTIONS:MPYTHON} USE_PYTHON= yes USE_GNOME+= pygobject BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/mutagen/__init__.py:${PORTSDIR}/audio/py-mutagen \ @@ -52,7 +47,7 @@ CONFIGURE_ARGS+= --without-python PLIST_SUB+= PYTHON="@comment " .endif -.if defined(WITH_MONO) +.if ${PORT_OPTIONS:MMONO} USE_GNOME+= gtksharp20 CONFIGURE_ARGS+= --with-mono PLIST_SUB+= MONO="" @@ -63,7 +58,7 @@ PLIST_SUB+= MONO="@comment " .include -.if defined(WITH_IMOBILE) && (${OSVERSION} > 900002 || \ +.if ${PORT_OPTIONS:MIMOBILE} && (${OSVERSION} > 900002 || \ ${OSVERSION} < 900000 && ${OSVERSION} > 800107) COMMENT:= ${COMMENT:S,iPod,&/iPhone,} LIB_DEPENDS+= imobiledevice.1:${PORTSDIR}/comms/libimobiledevice @@ -82,12 +77,12 @@ post-patch: @${REINPLACE_CMD} -e \ '/noinst_PROGRAMS =/s,^,@HAVE_HAL_TRUE@,' \ ${WRKSRC}/tools/Makefile.in -.if defined(NOPORTDOCS) +.if empty(PORT_OPTIONS:MDOCS) @${REINPLACE_CMD} -e 's, docs,,' ${WRKSRC}/Makefile.in .endif post-install: -.if !defined(NOPORTDOCS) +.if ${PORT_OPTIONS:MDOCS} ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR} .endif