From owner-svn-ports-head@FreeBSD.ORG Sun Oct 5 00:06:04 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0D83D33B; Sun, 5 Oct 2014 00:06:04 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D5E513EF; Sun, 5 Oct 2014 00:06:03 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s95063G4011809; Sun, 5 Oct 2014 00:06:03 GMT (envelope-from jhale@FreeBSD.org) Received: (from jhale@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s950635M011808; Sun, 5 Oct 2014 00:06:03 GMT (envelope-from jhale@FreeBSD.org) Message-Id: <201410050006.s950635M011808@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: jhale set sender to jhale@FreeBSD.org using -f From: "Jason E. Hale" Date: Sun, 5 Oct 2014 00:06:03 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r370025 - head/audio/pytone X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 05 Oct 2014 00:06:04 -0000 Author: jhale Date: Sun Oct 5 00:06:03 2014 New Revision: 370025 URL: https://svnweb.freebsd.org/changeset/ports/370025 QAT: https://qat.redports.org/buildarchive/r370025/ Log: - Convert to USES=python, limit to 2.x - Fix typo in RUN_DEPENDS - Simplify post-install - Remove PYAO option as the port builds a library for handling libao by default and py-ao would only be needed if that library wasn't built - Bump PORTREVISION Modified: head/audio/pytone/Makefile Modified: head/audio/pytone/Makefile ============================================================================== --- head/audio/pytone/Makefile Sun Oct 5 00:01:19 2014 (r370024) +++ head/audio/pytone/Makefile Sun Oct 5 00:06:03 2014 (r370025) @@ -3,6 +3,7 @@ PORTNAME= pytone PORTVERSION= 3.0.3 +PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= http://www.luga.de/pytone/download/ \ http://redundancy.redundancy.org/mirror/ @@ -15,29 +16,25 @@ LICENSE= GPLv2 LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>0:${PORTSDIR}/databases/py-sqlite3 \ - ${PYTHON_PKGNAMEPREFIX}mutagen>0y:${PORTSDIR}/audio/py-mutagen + ${PYTHON_PKGNAMEPREFIX}mutagen>0:${PORTSDIR}/audio/py-mutagen -USES= ncurses -USE_PYTHON= yes -USE_PYDISTUTILS= yes -PYDISTUTILS_AUTOPLIST= yes +USES= ncurses python:2 +USE_PYTHON= autoplist distutils -CFLAGS+= -I${LOCALBASE}/include -L${LOCALBASE}/lib +CFLAGS+= -I${LOCALBASE}/include SUB_FILES= pkg-message PLIST_FILES= etc/pytonerc.sample -OPTIONS_DEFINE= MAD MPG123 MPG321 PYAO VORBIS +OPTIONS_DEFINE= MAD MPG123 MPG321 VORBIS OPTIONS_DEFAULT= MAD VORBIS MAD_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}mad>0:${PORTSDIR}/audio/py-mad MPG123_RUN_DEPENDS= mpg123:${PORTSDIR}/audio/mpg123 MPG321_DESC= MP3 decoding support via mpg321 MPG321_RUN_DEPENDS= mpg321:${PORTSDIR}/audio/mpg321 -PYAO_DESC= ${AO_DESC} -PYAO_BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}ao>0:${PORTSDIR}/audio/py-ao VORBIS_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}vorbis>0:${PORTSDIR}/audio/py-vorbis post-patch: @@ -48,8 +45,7 @@ post-patch: .endfor post-install: - (cd ${WRKSRC}/conf && ${INSTALL_DATA} pytonerc \ - ${STAGEDIR}${PREFIX}/etc/pytonerc.sample) + ${INSTALL_DATA} ${WRKSRC}/conf/pytonerc ${STAGEDIR}${PREFIX}/etc/pytonerc.sample @${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pytone/*.so .include