From owner-svn-ports-head@freebsd.org Tue Apr 18 03:26:49 2017 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 9187DD42BB4; Tue, 18 Apr 2017 03:26:49 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::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 6202A1A9D; Tue, 18 Apr 2017 03:26:49 +0000 (UTC) (envelope-from miwi@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v3I3QmJv065654; Tue, 18 Apr 2017 03:26:48 GMT (envelope-from miwi@FreeBSD.org) Received: (from miwi@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v3I3Qm2r065653; Tue, 18 Apr 2017 03:26:48 GMT (envelope-from miwi@FreeBSD.org) Message-Id: <201704180326.v3I3Qm2r065653@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: miwi set sender to miwi@FreeBSD.org using -f From: Martin Wilke Date: Tue, 18 Apr 2017 03:26:48 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r438760 - head/audio/py-shout 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.23 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: Tue, 18 Apr 2017 03:26:49 -0000 Author: miwi Date: Tue Apr 18 03:26:48 2017 New Revision: 438760 URL: https://svnweb.freebsd.org/changeset/ports/438760 Log: - Switch to options helper - Fix shebangs Modified: head/audio/py-shout/Makefile Modified: head/audio/py-shout/Makefile ============================================================================== --- head/audio/py-shout/Makefile Tue Apr 18 03:25:11 2017 (r438759) +++ head/audio/py-shout/Makefile Tue Apr 18 03:26:48 2017 (r438760) @@ -3,7 +3,7 @@ PORTNAME= shout PORTVERSION= 0.2.1 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio python MASTER_SITES= http://downloads.us.xiph.org/releases/libshout/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -14,16 +14,19 @@ COMMENT= Python bindings for libshout2 LICENSE= LGPL20 +OPTIONS_DEFINE= EXAMPLES + LIB_DEPENDS= libshout.so:audio/libshout EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} -USES= pkgconfig python:2 +USES= pkgconfig python:2 shebangfix +SHEBANG_FILES= example.py USE_PYTHON= distutils autoplist PORTEXAMPLES= example.py -post-install: +post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}