svn commit: r336923 - head/archivers/py-liblzma

David Naylor dbn at FreeBSD.org
Thu Dec 19 15:17:00 UTC 2013


Author: dbn
Date: Thu Dec 19 15:16:59 2013
New Revision: 336923
URL: http://svnweb.freebsd.org/changeset/ports/336923

Log:
  Move archivers/py-liblzma to using auto-plist.
  
   - Add LICENSE (LGPL3)
   - Bump PORTREVISION as some may reject license

Deleted:
  head/archivers/py-liblzma/pkg-plist
Modified:
  head/archivers/py-liblzma/Makefile

Modified: head/archivers/py-liblzma/Makefile
==============================================================================
--- head/archivers/py-liblzma/Makefile	Thu Dec 19 15:15:56 2013	(r336922)
+++ head/archivers/py-liblzma/Makefile	Thu Dec 19 15:16:59 2013	(r336923)
@@ -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 at 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>


More information about the svn-ports-head mailing list