1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-21 00:25:50 +00:00

Move archivers/py-liblzma to using auto-plist.

- Add LICENSE (LGPL3)
 - Bump PORTREVISION as some may reject license
This commit is contained in:
David Naylor 2013-12-19 15:16:59 +00:00
parent 22674eaebe
commit 2f70b75023
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=336923
2 changed files with 10 additions and 12 deletions

View File

@ -3,21 +3,23 @@
PORTNAME= liblzma
PORTVERSION= 0.5.3
PORTREVISION= 3
PORTREVISION= 4
CATEGORIES= archivers python
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR= source/p/py${PORTNAME}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PYDISTUTILS_PKGNAME}-${PORTVERSION}
DISTNAME= py${PORTNAME}-${PORTVERSION}
MAINTAINER= dbn@FreeBSD.org
COMMENT= Python binding for the LZMA compression library
USES= pkgconfig
USE_BZIP2= yes
USE_PYTHON= 2.6+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= py${PORTNAME}
LICENSE= LGPL3
USES= pkgconfig
USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
.include <bsd.port.pre.mk>
@ -30,6 +32,6 @@ post-patch:
.endif
post-install:
${STRIP_CMD} ${STAGEDIR}${PYTHON_SITELIBDIR}/lzma.so
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lzma.so
.include <bsd.port.post.mk>

View File

@ -1,4 +0,0 @@
%%PYTHON_SITELIBDIR%%/liblzma.py
%%PYTHON_SITELIBDIR%%/lzma.so
%%PYTHON_SITELIBDIR%%/liblzma.pyc
%%PYTHON_SITELIBDIR%%/liblzma.pyo