aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordbn <dbn@FreeBSD.org>2013-12-19 23:16:59 +0800
committerdbn <dbn@FreeBSD.org>2013-12-19 23:16:59 +0800
commit2e493406f673cef4a6a37d1ac2faa57c4b7b036d (patch)
tree270138c2691a22d79faa503c9bb9e3ad32ba005c
parent2f43d958c27d217f139e5a80804f7a3e33962d98 (diff)
downloadfreebsd-ports-gnome-2e493406f673cef4a6a37d1ac2faa57c4b7b036d.tar.gz
freebsd-ports-gnome-2e493406f673cef4a6a37d1ac2faa57c4b7b036d.tar.zst
freebsd-ports-gnome-2e493406f673cef4a6a37d1ac2faa57c4b7b036d.zip
Move archivers/py-liblzma to using auto-plist.
- Add LICENSE (LGPL3) - Bump PORTREVISION as some may reject license
-rw-r--r--archivers/py-liblzma/Makefile18
-rw-r--r--archivers/py-liblzma/pkg-plist4
2 files changed, 10 insertions, 12 deletions
diff --git a/archivers/py-liblzma/Makefile b/archivers/py-liblzma/Makefile
index 2c96256be306..db55a9b65091 100644
--- a/archivers/py-liblzma/Makefile
+++ b/archivers/py-liblzma/Makefile
@@ -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>
diff --git a/archivers/py-liblzma/pkg-plist b/archivers/py-liblzma/pkg-plist
deleted file mode 100644
index c6e95efc3b9d..000000000000
--- a/archivers/py-liblzma/pkg-plist
+++ /dev/null
@@ -1,4 +0,0 @@
-%%PYTHON_SITELIBDIR%%/liblzma.py
-%%PYTHON_SITELIBDIR%%/lzma.so
-%%PYTHON_SITELIBDIR%%/liblzma.pyc
-%%PYTHON_SITELIBDIR%%/liblzma.pyo