2009-02-15 21:09:41 +01:00
|
|
|
# New ports collection makefile for: py-liblzma
|
|
|
|
# Date created: 09 Dec 2008
|
2009-10-16 16:00:34 +02:00
|
|
|
# Whom: David Naylor <naylor.b.david@gmail.com>
|
2009-02-15 21:09:41 +01:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= liblzma
|
2009-03-02 20:56:51 +01:00
|
|
|
PORTVERSION= 0.5.2
|
2009-09-21 16:27:37 +02:00
|
|
|
PORTREVISION= 1
|
2009-02-15 21:09:41 +01:00
|
|
|
CATEGORIES= archivers python
|
|
|
|
MASTER_SITES= ${MASTER_SITE_CHEESESHOP}source/p/pyliblzma/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${PYDISTUTILS_PKGNAME}-${PORTVERSION}
|
|
|
|
|
2009-10-16 16:00:34 +02:00
|
|
|
MAINTAINER= naylor.b.david@gmail.com
|
2009-02-15 21:09:41 +01:00
|
|
|
COMMENT= Python binding for the LZMA compression library
|
|
|
|
|
|
|
|
BUILD_DEPENDS= pkg-config:${PORTSDIR}/devel/pkg-config
|
|
|
|
|
|
|
|
USE_BZIP2= yes
|
2009-03-02 20:56:51 +01:00
|
|
|
USE_PYTHON= 2.6+
|
2009-02-15 21:09:41 +01:00
|
|
|
USE_PYDISTUTILS=yes
|
|
|
|
PYDISTUTILS_PKGNAME= py${PORTNAME}
|
|
|
|
|
2010-05-21 18:23:46 +02:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
|
|
|
|
LIB_DEPENDS+= lzma.0:${PORTSDIR}/archivers/xz
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|