mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Add LICENSE_FILE
- Sort USE_PYTHON - Pet portlint - Strip shared library - Bump PORTREVISION for package change
This commit is contained in:
parent
085fea094c
commit
ab49e916aa
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=441944
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user