head	1.12;
access;
symbols
	RELEASE_8_3_0:1.9
	RELEASE_9_0_0:1.8
	RELEASE_7_4_0:1.7
	RELEASE_8_2_0:1.7
	RELEASE_6_EOL:1.7
	RELEASE_8_1_0:1.6
	RELEASE_7_3_0:1.4
	RELEASE_8_0_0:1.3
	RELEASE_7_2_0:1.2;
locks; strict;
comment	@# @;


1.12
date	2013.01.16.20.24.39;	author svnexp;	state Exp;
branches;
next	1.11;

1.11
date	2012.11.17.05.54.23;	author svnexp;	state Exp;
branches;
next	1.10;

1.10
date	2012.07.26.05.40.22;	author bapt;	state Exp;
branches;
next	1.9;

1.9
date	2011.12.21.19.34.14;	author jgh;	state Exp;
branches;
next	1.8;

1.8
date	2011.06.08.08.26.45;	author wen;	state Exp;
branches;
next	1.7;

1.7
date	2010.11.09.18.58.24;	author naddy;	state Exp;
branches;
next	1.6;

1.6
date	2010.06.27.04.50.29;	author miwi;	state Exp;
branches;
next	1.5;

1.5
date	2010.05.21.16.23.46;	author naddy;	state Exp;
branches;
next	1.4;

1.4
date	2009.10.16.14.00.34;	author wen;	state Exp;
branches;
next	1.3;

1.3
date	2009.09.21.14.27.36;	author naddy;	state Exp;
branches;
next	1.2;

1.2
date	2009.03.02.19.56.51;	author beat;	state Exp;
branches;
next	1.1;

1.1
date	2009.02.15.20.09.41;	author miwi;	state Exp;
branches;
next	;


desc
@@


1.12
log
@## SVN ## Exported commit - http://svnweb.freebsd.org/changeset/base/310522
## SVN ## CVS IS DEPRECATED: http://wiki.freebsd.org/CvsIsDeprecated
@
text
@# Created by: David Naylor <naylor.b.david@@gmail.com>
# $FreeBSD: head/archivers/py-liblzma/Makefile 310522 2013-01-16 20:15:07Z dbn $

PORTNAME=	liblzma
PORTVERSION=	0.5.3
PORTREVISION=	2
CATEGORIES=	archivers python
MASTER_SITES=	${MASTER_SITE_CHEESESHOP}
MASTER_SITE_SUBDIR=	source/p/py${PORTNAME}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PYDISTUTILS_PKGNAME}-${PORTVERSION}

MAINTAINER=	dbn@@FreeBSD.org
COMMENT=	Python binding for the LZMA compression library

USE_PKGCONFIG=	yes
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.5:${PORTSDIR}/archivers/xz
.else
post-patch:
	@@${REINPLACE_CMD} -e 's/pc_cflags = .*/pc_cflags = ""/' \
		-e 's/pc_libs = .*/pc_libs = "-llzma"/' ${WRKSRC}/setup.py
.endif

.include <bsd.port.post.mk>
@


1.11
log
@Switch exporter over
@
text
@d1 2
a2 5
# New ports collection makefile for:	py-liblzma
# Date created:		09 Dec 2008
# Whom:			David Naylor <naylor.b.david@@gmail.com>
#
# $FreeBSD: head/archivers/py-liblzma/Makefile 301539 2012-07-26 05:40:22Z bapt $
d13 1
a13 1
MAINTAINER=	naylor.b.david@@gmail.com
@


1.10
log
@SVN rev 301539 on 2012-07-26 05:40:22Z by bapt

new devel/pkgconf added to replace devel/pkg-config. new version of pkg-config
are no more self hosting so we are stuck with 0.25 version while pkgconf provide
the same set of features as 0.27 and a compatible frontend. A symlink to
pkg-config has been added for convenience and compatibility

This also introduces a new macro to use pkgconf in your ports:
USE_PKGCONFIG

it can take the following arguments:
 - yes (meaning build only dep)
 - build (meaning build only dep)
 - run (meaning run only dep)
 - both (meaning run and build dep)

From now USE_GNOME= pkgconfig is deprecated in favour of USE_PKGCONFIG
The old gnome macro has been modified to use pkgconf but still the sameway: run
and build dep to avoid large breakage.

While here fix some ports relying on pkg-config but not specifying it, fix some
ports broken because testing wrong .pc files, and fix ports using pkg-config
--version to determine pkg-config version instead of
pkg-config --modversion pkg-config like recommanded by pkg-config

With Hat:	portmgr
Exp-runs by:	bapt (pointhat-west), beat (pointyhat)
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.9
log
@Update MASTER_SITES to take advantage of latest CHEESESHOP mirrors and add MASTER_SITE_SUBDIR

Submitted by:	jgh
Approved by:	David Naylor (maintainer via email) , crees (mentor)
@
text
@d19 1
a19 2
BUILD_DEPENDS=	pkg-config:${PORTSDIR}/devel/pkg-config

@


1.8
log
@- Fix build with python-2.7

PR:		ports/157300
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer)
@
text
@d11 2
a12 1
MASTER_SITES=	${MASTER_SITE_CHEESESHOP}source/p/pyliblzma/
@


1.7
log
@Increment PORTREVISION after liblzma major version change in archivers/xz.
@
text
@d9 1
a9 1
PORTREVISION=	1
@


1.6
log
@- Update to 0.5.3

PR:		148110
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer)
Feature safe:	yes
@
text
@d9 1
d28 1
a28 1
LIB_DEPENDS+=	lzma.0:${PORTSDIR}/archivers/xz
@


1.5
log
@The xz utils and lzma library have been imported into base, so make
the dependency on the archivers/xz port conditional on OSVERSION.
@
text
@d8 1
a8 2
PORTVERSION=	0.5.2
PORTREVISION=	1
d28 4
@


1.4
log
@- Change maintainer's email address

PR:		ports/139655
Submitted by:	David Naylor <naylor.b.david@@gmail.com> (maintainer)
Approved by:	miwi(mentor)
@
text
@a18 1
LIB_DEPENDS=	lzma.0:${PORTSDIR}/archivers/xz
d25 7
a31 1
.include <bsd.port.mk>
@


1.3
log
@lzmautils-devel -> xz

Feature safe:	yes
@
text
@d3 1
a3 1
# Whom:			David Naylor <dragonsa@@highveldmail.co.za>
d15 1
a15 1
MAINTAINER=	dragonsa@@highveldmail.co.za
@


1.2
log
@- Update to 0.5.2

PR:		ports/132224
Submitted by:	David Naylor <naylor.b.david AT gmail.com> (maintainer)
Approved by:	miwi (mentor)
@
text
@d9 1
d19 1
a19 1
LIB_DEPENDS=	lzma.0:${PORTSDIR}/archivers/lzmautils-devel
@


1.1
log
@Python module implementing LZMA Utils' liblzma API

PylibLZMA provides a python interface for the liblzma
library to read and write data that has been compressed
or can be decompressed by Lasse Collin's LZMA Utils.

WWW: http://launchpad.net/pyliblzma

PR:		ports/129560
Submitted by:	David Naylor <dragonsa at highveldmail.co.za>
@
text
@d8 1
a8 1
PORTVERSION=	0.5.1
d21 1
a21 1
USE_PYTHON=	yes
@

