head	1.6;
access;
symbols
	RELEASE_8_3_0:1.5
	RELEASE_9_0_0:1.5
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1;
locks; strict;
comment	@# @;


1.6
date	2012.11.17.05.54.23;	author svnexp;	state Exp;
branches;
next	1.5;

1.5
date	2011.09.23.22.20.51;	author amdmi3;	state Exp;
branches;
next	1.4;

1.4
date	2011.07.16.05.18.27;	author linimon;	state Exp;
branches;
next	1.3;

1.3
date	2011.03.22.08.16.28;	author mm;	state Exp;
branches;
next	1.2;

1.2
date	2011.03.21.20.47.39;	author mm;	state Exp;
branches;
next	1.1;

1.1
date	2010.11.23.10.26.40;	author mm;	state Exp;
branches;
next	;


desc
@@


1.6
log
@Switch exporter over
@
text
@# New ports collection makefile for:	pxz
# Date created:		2011-23-16
# Whom:			mm
#
# $FreeBSD: head/archivers/pxz/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	pxz
PORTVERSION=	0.20101123
CATEGORIES=	archivers
MASTER_SITES=	${MASTER_SITE_LOCAL}
MASTER_SITE_SUBDIR=	mm
DISTNAME=	pxz-git-${PORTVERSION:S/0.//}

MAINTAINER=	mm@@FreeBSD.org
COMMENT=	Parallel LZMA compressor using liblzma

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

WRKSRC=		${WRKDIR}/${PORTNAME}

PLIST_FILES=	bin/pxz
MAN1=	pxz.1

MAKE_ENV+=	BINDIR=${PREFIX}/bin \
		MANDIR=${MANPREFIX}/man

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 800505 || (${OSVERSION} >= 900000 && ${OSVERSION} < 900012)
LIB_DEPENDS+=	lzma.5:${PORTSDIR}/archivers/xz
CFLAGS+=	-I${LOCALBASE}/include
LDFLAGS+=	-L${LOCALBASE}/lib
.endif

.if ${ARCH} == "sparc64"
BROKEN=		Does not link on sparc64
.endif

post-patch:
	@@${REINPLACE_CMD} -e 's/CC=.*/CC:=$${CC}/g' ${WRKSRC}/Makefile

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


1.5
log
@- Add LDFLAGS to CONFIGURE_ENV and MAKE_ENV (as it was done with LDFLAGS)
- Fix all ports that add {CPP,LD}FLAGS to *_ENV to modify flags instead

PR:		157936
Submitted by:	myself
Exp-runs by:	pav
Approved by:	pav
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.4
log
@Mark as broken on sparc64: does not link.
@
text
@a34 1
MAKE_ENV+=	LDFLAGS="${LDFLAGS}"
@


1.3
log
@- Set LICENSE_FILE
@
text
@d38 4
@


1.2
log
@Add LICENSE information (GPLv2).
@
text
@d19 1
a28 4
.if !defined(NOPORTDOCS)
PORTDOCS=	COPYING
.endif

a40 8
post-install:
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
. for FILE in ${PORTDOCS}
	@@${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}/${FILE}
. endfor
.endif

@


1.1
log
@Parallel XZ is a compression utility that takes advantage of running LZMA
compression of different parts of an input file on multiple cores and
processors simultaneously.
Its primary goal is to utilize all resources to speed up compression time
with minimal possible influence on compression ratio.

WWW: http://jnovy.fedorapeople.org/pxz/
@
text
@d18 2
@

