From owner-svn-ports-all@freebsd.org Sun May 28 23:16:21 2017 Return-Path: Delivered-To: svn-ports-all@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 0A985D854FA; Sun, 28 May 2017 23:16:21 +0000 (UTC) (envelope-from sunpoet@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 CE577E03; Sun, 28 May 2017 23:16:20 +0000 (UTC) (envelope-from sunpoet@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id v4SNGJEr052752; Sun, 28 May 2017 23:16:19 GMT (envelope-from sunpoet@FreeBSD.org) Received: (from sunpoet@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id v4SNGJao052751; Sun, 28 May 2017 23:16:19 GMT (envelope-from sunpoet@FreeBSD.org) Message-Id: <201705282316.v4SNGJao052751@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: sunpoet set sender to sunpoet@FreeBSD.org using -f From: Sunpoet Po-Chuan Hsieh Date: Sun, 28 May 2017 23:16:19 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r441944 - 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-all@freebsd.org X-Mailman-Version: 2.1.23 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, 28 May 2017 23:16:21 -0000 Author: sunpoet Date: Sun May 28 23:16:19 2017 New Revision: 441944 URL: https://svnweb.freebsd.org/changeset/ports/441944 Log: Add LICENSE_FILE - Sort USE_PYTHON - Pet portlint - Strip shared library - Bump PORTREVISION for package change Modified: head/audio/py-shout/Makefile Modified: head/audio/py-shout/Makefile ============================================================================== --- head/audio/py-shout/Makefile Sun May 28 23:16:14 2017 (r441943) +++ head/audio/py-shout/Makefile Sun May 28 23:16:19 2017 (r441944) @@ -3,7 +3,7 @@ PORTNAME= shout PORTVERSION= 0.2.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= audio python MASTER_SITES= http://downloads.us.xiph.org/releases/libshout/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -13,19 +13,22 @@ MAINTAINER= python@FreeBSD.org COMMENT= Python bindings for libshout2 LICENSE= LGPL20 - -OPTIONS_DEFINE= EXAMPLES +LICENSE_FILE= ${WRKSRC}/COPYING LIB_DEPENDS= libshout.so:audio/libshout -EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +OPTIONS_DEFINE= EXAMPLES USES= pkgconfig python:2 shebangfix SHEBANG_FILES= example.py -USE_PYTHON= distutils autoplist +USE_PYTHON= autoplist distutils +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} PORTEXAMPLES= example.py +post-install: + ${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/shout.so + post-install-EXAMPLES-on: @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} ${CP} ${WRKSRC}/example.py ${STAGEDIR}${EXAMPLESDIR}