Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Dec 2013 15:17:00 +0000 (UTC)
From:      David Naylor <dbn@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336923 - head/archivers/py-liblzma
Message-ID:  <201312191517.rBJFH0KB076308@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312191517.rBJFH0KB076308>