aboutsummaryrefslogtreecommitdiffstats
path: root/archivers/py-liblzma/Makefile
blob: eec72d1e846517787d2d9b77fbd790d328fe2258 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
# New ports collection makefile for:    py-liblzma
# Date created:     09 Dec 2008
# Whom:         David Naylor <naylor.b.david@gmail.com>
#
# $FreeBSD$

PORTNAME=   liblzma
PORTVERSION=    0.5.2
PORTREVISION=   1
CATEGORIES= archivers python
MASTER_SITES=   ${MASTER_SITE_CHEESESHOP}source/p/pyliblzma/
PKGNAMEPREFIX=  ${PYTHON_PKGNAMEPREFIX}
DISTNAME=   ${PYDISTUTILS_PKGNAME}-${PORTVERSION}

MAINTAINER= naylor.b.david@gmail.com
COMMENT=    Python binding for the LZMA compression library

BUILD_DEPENDS=  pkg-config:${PORTSDIR}/devel/pkg-config

USE_BZIP2=  yes
USE_PYTHON= 2.6+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=    py${PORTNAME}

.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>