2013-01-16 21:15:07 +01:00
|
|
|
# Created by: David Naylor <naylor.b.david@gmail.com>
|
2009-02-15 21:09:41 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= liblzma
|
2010-06-27 06:50:29 +02:00
|
|
|
PORTVERSION= 0.5.3
|
2013-12-19 16:16:59 +01:00
|
|
|
PORTREVISION= 4
|
2009-02-15 21:09:41 +01:00
|
|
|
CATEGORIES= archivers python
|
2011-12-21 20:34:14 +01:00
|
|
|
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}
|
|
|
|
MASTER_SITE_SUBDIR= source/p/py${PORTNAME}
|
2009-02-15 21:09:41 +01:00
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
2013-12-19 16:16:59 +01:00
|
|
|
DISTNAME= py${PORTNAME}-${PORTVERSION}
|
2009-02-15 21:09:41 +01:00
|
|
|
|
2013-01-16 21:15:07 +01:00
|
|
|
MAINTAINER= dbn@FreeBSD.org
|
2009-02-15 21:09:41 +01:00
|
|
|
COMMENT= Python binding for the LZMA compression library
|
|
|
|
|
2013-12-19 16:16:59 +01:00
|
|
|
LICENSE= LGPL3
|
|
|
|
|
|
|
|
USES= pkgconfig
|
|
|
|
USE_BZIP2= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
|
|
|
PYDISTUTILS_AUTOPLIST= yes
|
2009-02-15 21:09:41 +01:00
|
|
|
|
2010-06-27 06:50:29 +02:00
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's/pc_cflags = .*/pc_cflags = ""/' \
|
|
|
|
-e 's/pc_libs = .*/pc_libs = "-llzma"/' ${WRKSRC}/setup.py
|
2010-05-21 18:23:46 +02:00
|
|
|
|
2013-11-18 19:08:26 +01:00
|
|
|
post-install:
|
2013-12-19 16:16:59 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/lzma.so
|
2013-11-18 19:08:26 +01:00
|
|
|
|
2014-01-13 08:23:43 +01:00
|
|
|
.include <bsd.port.mk>
|