head	1.44;
access;
symbols
	RELEASE_8_3_0:1.43
	RELEASE_9_0_0:1.43
	RELEASE_7_4_0:1.41
	RELEASE_8_2_0:1.41
	RELEASE_6_EOL:1.41
	RELEASE_8_1_0:1.40
	RELEASE_7_3_0:1.39
	RELEASE_8_0_0:1.39
	RELEASE_7_2_0:1.33
	RELEASE_7_1_0:1.28
	RELEASE_6_4_0:1.28
	RELEASE_5_EOL:1.25
	RELEASE_7_0_0:1.20
	RELEASE_6_3_0:1.20
	PRE_XORG_7:1.11
	RELEASE_4_EOL:1.9
	RELEASE_6_2_0:1.8
	RELEASE_6_1_0:1.3
	RELEASE_5_5_0:1.3
	RELEASE_6_0_0:1.3;
locks; strict;
comment	@# @;


1.44
date	2012.11.17.05.54.21;	author svnexp;	state Exp;
branches;
next	1.43;

1.43
date	2011.06.22.14.47.56;	author bf;	state Exp;
branches;
next	1.42;

1.42
date	2011.03.11.07.16.45;	author bf;	state Exp;
branches;
next	1.41;

1.41
date	2010.07.08.12.51.32;	author bf;	state Exp;
branches;
next	1.40;

1.40
date	2010.04.29.06.32.50;	author wen;	state Exp;
branches;
next	1.39;

1.39
date	2009.09.21.14.42.09;	author naddy;	state Exp;
branches;
next	1.38;

1.38
date	2009.09.11.04.12.27;	author bland;	state Exp;
branches;
next	1.37;

1.37
date	2009.08.23.09.33.43;	author miwi;	state Exp;
branches;
next	1.36;

1.36
date	2009.08.22.20.37.23;	author miwi;	state Exp;
branches;
next	1.35;

1.35
date	2009.07.26.20.43.42;	author miwi;	state Exp;
branches;
next	1.34;

1.34
date	2009.06.07.18.51.17;	author miwi;	state Exp;
branches;
next	1.33;

1.33
date	2009.02.09.13.03.44;	author miwi;	state Exp;
branches;
next	1.32;

1.32
date	2009.01.14.16.00.08;	author miwi;	state Exp;
branches;
next	1.31;

1.31
date	2008.12.06.15.39.48;	author miwi;	state Exp;
branches;
next	1.30;

1.30
date	2008.11.29.20.34.38;	author miwi;	state Exp;
branches;
next	1.29;

1.29
date	2008.10.24.19.00.14;	author miwi;	state Exp;
branches;
next	1.28;

1.28
date	2008.09.07.04.07.05;	author linimon;	state Exp;
branches;
next	1.27;

1.27
date	2008.09.07.00.18.17;	author linimon;	state Exp;
branches;
next	1.26;

1.26
date	2008.07.25.09.08.37;	author pav;	state Exp;
branches;
next	1.25;

1.25
date	2008.05.07.13.44.41;	author sat;	state Exp;
branches;
next	1.24;

1.24
date	2008.05.07.04.51.43;	author sat;	state Exp;
branches;
next	1.23;

1.23
date	2008.04.21.15.57.10;	author naddy;	state Exp;
branches;
next	1.22;

1.22
date	2008.04.21.07.10.46;	author sat;	state Exp;
branches;
next	1.21;

1.21
date	2007.12.12.01.10.54;	author sat;	state Exp;
branches;
next	1.20;

1.20
date	2007.09.04.15.26.27;	author sat;	state Exp;
branches;
next	1.19;

1.19
date	2007.09.01.11.30.05;	author sat;	state Exp;
branches;
next	1.18;

1.18
date	2007.08.04.13.45.47;	author sat;	state Exp;
branches;
next	1.17;

1.17
date	2007.07.28.11.58.31;	author sat;	state Exp;
branches;
next	1.16;

1.16
date	2007.07.26.09.51.23;	author sat;	state Exp;
branches;
next	1.15;

1.15
date	2007.07.24.11.48.04;	author sat;	state Exp;
branches;
next	1.14;

1.14
date	2007.06.26.14.55.45;	author sat;	state Exp;
branches;
next	1.13;

1.13
date	2007.05.27.08.40.00;	author sat;	state Exp;
branches;
next	1.12;

1.12
date	2007.05.25.13.03.54;	author sat;	state Exp;
branches;
next	1.11;

1.11
date	2007.04.23.00.15.27;	author sat;	state Exp;
branches;
next	1.10;

1.10
date	2007.04.21.21.09.19;	author sat;	state Exp;
branches;
next	1.9;

1.9
date	2007.01.20.12.17.32;	author sat;	state Exp;
branches;
next	1.8;

1.8
date	2006.08.11.16.31.27;	author sat;	state Exp;
branches;
next	1.7;

1.7
date	2006.07.30.22.45.56;	author sat;	state Exp;
branches;
next	1.6;

1.6
date	2006.06.09.11.39.44;	author sat;	state Exp;
branches;
next	1.5;

1.5
date	2006.06.04.10.46.14;	author sat;	state Exp;
branches;
next	1.4;

1.4
date	2006.03.19.02.05.50;	author jylefort;	state Exp;
branches;
next	1.3;

1.3
date	2005.05.26.16.05.16;	author jylefort;	state Exp;
branches;
next	1.2;

1.2
date	2005.05.08.16.22.55;	author jylefort;	state Exp;
branches;
next	1.1;

1.1
date	2005.05.07.19.11.16;	author jylefort;	state Exp;
branches;
next	;


desc
@@


1.44
log
@Switch exporter over
@
text
@# New ports collection makefile for:	lzma
# Date created:		25 Apr 2005
# Whom:			Radim Kolar <hsn@@netmag.cz>
#
# $FreeBSD: head/archivers/lzma/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	lzma
PORTVERSION=	9.22
CATEGORIES=	archivers
MASTER_SITES=	SF/sevenzip/LZMA%20SDK/
DISTNAME=	lzma${PORTVERSION:S/.//g}

MAINTAINER=	bf@@FreeBSD.org
COMMENT=	High-ratio LZMA compressor

CONFLICTS=	lzmautils-[0-9]* xz-[0-9]*

USE_BZIP2=	yes
USE_GMAKE=	yes
NO_WRKSUBDIR=	yes
USE_DOS2UNIX=	yes
BUILD_WRKSRC=	${WRKSRC}/CPP/7zip/Bundles/LzmaCon
MAKEFILE=	makefile.gcc
PLIST_FILES=	bin/${PORTNAME}
.ifdef(WITH_LZMA_PROB32)
#increase the speed of decoding on some 32-bit CPUs, at the expense of doubled
#memory usage for CLzmaDec::probs
CFLAGS+=	-D_LZMA_PROB32
.endif
.ifdef(WITH_LZMA_SIZE_OPT)
#enable some optimizations in LZMA Decoder to get smaller executable code
CFLAGS+=	-D_LZMA_SIZE_OPT
.endif
PORTDOCS=	7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt

post-patch:
	@@${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
		${WRKSRC}/CPP/7zip/Common/FileStreams.h
	@@${REINPLACE_CMD} -e 's|malloc\.h|stdlib.h|g' \
		${WRKSRC}/CPP/7zip/UI/Common/Bench.cpp \
		${WRKSRC}/CPP/Common/MyWindows.cpp
	@@${REINPLACE_CMD} -e \
		'/^CXX/d;s|CXX_C|CC|;s|^CFLAGS =|CFLAGS +=|;s|-o|${CFLAGS} -o|'\
			${BUILD_WRKSRC}/${MAKEFILE}

do-install:
	@@${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin/
.ifndef NOPORTDOCS
	@@${INSTALL} -d ${DOCSDIR}/
	@@cd ${WRKSRC}/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif

regression-test: build
	${BUILD_WRKSRC}/${PORTNAME} b

.include <bsd.port.mk>
@


1.43
log
@update to 9.22; clean up pkg-descr
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.42
log
@Update to 9.20
@
text
@d9 1
a9 1
PORTVERSION=	9.20
a11 1

a25 1
CFLAGS+=	-D_LZMA_SYSTEM_SIZE_T
d40 3
@


1.41
log
@Change my ports to use my FreeBSD.org email address.
@
text
@d9 1
a9 1
PORTVERSION=	9.12
d11 2
a12 1
MASTER_SITES=	SF/sevenzip/LZMA%20SDK/${PORTVERSION}/
@


1.40
log
@- Update to 9.12

PR:		ports/146138
Submitted by:	bf <bf1783@@gmail.com> (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	bf1783@@gmail.com
@


1.39
log
@also conflicts with archivers/xz

Feature safe:	yes
@
text
@d9 1
a9 2
PORTVERSION=	9.07
PORTREVISION=	1
d11 1
a11 1
MASTER_SITES=	SF/sevenzip/7-Zip/${PORTVERSION}%20beta/
d23 1
a23 1
BUILD_WRKSRC=	${WRKSRC}/CPP/7zip/Compress/LZMA_Alone
@


1.38
log
@Update to 9.07 beta

PR:	138693
@
text
@d10 1
d18 1
a18 1
CONFLICTS=	lzmautils-[0-9]*
@


1.37
log
@- Fix fetch
@
text
@d9 1
a9 1
PORTVERSION=	9.06
d11 1
a11 1
MASTER_SITES=	SF/sevenzip/LZMA%20SDK/${PORTVERSION}%20beta/
@


1.36
log
@- Update to 9.06 beta

PR:		137979
Submitted by:	bf <bf1783@@gmail.com> (maintainer)
@
text
@d11 1
a11 2
MASTER_SITES=	SFP
MASTER_SITE_SUBDIR=	sevenzip/LZMA%20SDK/${PORTVERSION}%20beta
@


1.35
log
@- Update to 9.04.beta

PR:		136923
Submitted by:	bf <bf1783@@gmail.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	9.04
d11 2
a12 1
MASTER_SITES=	SFE/sevenzip
@


1.34
log
@- Update maintainer mail adresse

Submitted by:	"b. f." <bf1783@@gmail.com> (maintainer via private mail)
@
text
@d9 1
a9 1
PORTVERSION=	4.65
@


1.33
log
@- Update to 4.65

PR:		131460
Submitted by:	bf <bf2006a@@yahoo.com> (maintainer)
@
text
@d14 1
a14 1
MAINTAINER=	bf2006a@@yahoo.com
@


1.32
log
@- Update to 4.63

PR:		130533
Submitted by:	bf <bf2006a@@yahoo.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.63
@


1.31
log
@- Update to 4.62

PR:		129377
Submitted by:	bf <bf2006a@@yahoo.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.62
@


1.30
log
@- Update to 4.61

PR:		129171
Submitted by:	bf <bf2006a@@yahoo.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.61
@


1.29
log
@- Update to 4.60
- Remove an outdated change to the source code
- Add two build knobs and a regression-test target

PR:		128330
Submitted by:	bf <bf2006a@@yahoo.com> (maintainer)
@
text
@d9 1
a9 1
PORTVERSION=	4.60
@


1.28
log
@Assign to new volunteer.
@
text
@d9 1
a9 1
PORTVERSION=	4.58
d27 9
a38 2
	@@${REINPLACE_CMD} -e 's|4\.56|${DISTVERSION}|' \
		${BUILD_WRKSRC}/LzmaAlone.cpp
d52 3
@


1.27
log
@Reset infofarmer due to maintainer-timeouts and no response to email.

Hat:	portmgr
@
text
@d14 1
a14 1
MAINTAINER=	ports@@FreeBSD.org
@


1.26
log
@- Remove duplicates from MAKE_ENV after inclusion of CC and CXX in default MAKE_ENV
@
text
@d14 1
a14 1
MAINTAINER=	infofarmer@@FreeBSD.org
@


1.25
log
@- Fix docs installation

Reported by:	Gri Msb <gri.msb@@gmail.com>
@
text
@a26 1
MAKE_ENV+=	CXX="${CXX}" CC="${CC}"
@


1.24
log
@- Update to 4.58
@
text
@d43 1
a43 1
	@@cd ${WRKSRC}/DOC/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
@


1.23
log
@Conflict with archivers/lzmautils.

Approved by:	infofarmer
@
text
@d9 1
a9 2
PORTVERSION=	4.57
PORTREVISION=	1
d12 1
a12 1
DISTNAME=	7z${PORTVERSION:S/.//g}
@


1.22
log
@- Respect a non-default CC

PR:		ports/122931
Submitted by:	Frank Fenor <frank@@fenor.de>
@
text
@d10 1
d18 2
@


1.21
log
@- Update to 4.57
@
text
@d25 1
a25 1
MAKE_ENV+=	CXX="${CXX}"
@


1.20
log
@- Update to 4.54
@
text
@d9 1
a9 1
PORTVERSION=	4.54
d29 1
a29 1
	@@${REINPLACE_CMD} -e 's|4\.49|${DISTVERSION}|' \
@


1.19
log
@- Update to 4.53
@
text
@d9 1
a9 1
PORTVERSION=	4.53
@


1.18
log
@- Update to 4.52
@
text
@d9 1
a9 1
PORTVERSION=	4.52
d23 1
a23 1
PLIST_FILES=	bin/lzma
a25 1

d31 2
d38 4
a41 4
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/lzma ${PREFIX}/bin/
.if !defined(NOPORTDOCS)
	${INSTALL} -d ${DOCSDIR}/
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/DOC/,} ${DOCSDIR}/
@


1.17
log
@- Respect CXX and CFLAGS better
@
text
@d9 1
a9 1
PORTVERSION=	4.51
@


1.16
log
@- Update to 4.51
@
text
@d25 1
d33 1
a33 1
		's|^CXX.*||;s|CXX_C|CC|;s|^CFLAGS =|CFLAGS +=|'\
@


1.15
log
@- Update to 4.50
@
text
@d9 1
a9 1
PORTVERSION=	4.50
@


1.14
log
@- Update to 4.48
@
text
@d9 1
a9 1
PORTVERSION=	4.48
d29 2
@


1.13
log
@- Update to 4.47 (a noop bump)
@
text
@d9 1
a9 1
PORTVERSION=	4.47
d11 1
a11 1
MASTER_SITES=	SF/sevenzip
d18 1
d34 1
a34 1
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/lzma ${TARGETDIR}/bin/
@


1.12
log
@- Update to 4.46
@
text
@d9 1
a9 1
PORTVERSION=	4.46
@


1.11
log
@- Fix build

Reported by:	pointyhat via kris
@
text
@d9 1
a9 1
PORTVERSION=	4.45
a27 2
	@@${EGREP} -lr '(malloc.h|MyAlloc|MyFree)' ${WRKSRC}|\
		${XARGS} ${REINPLACE_CMD} -e 's|malloc.h|stdlib.h|'
d29 2
a30 3
		's|^CXX.*||;s|CXX_C|CC|;s|^CFLAGS =|CFLAGS +=|;\
		 s|Alloc.cpp|Alloc.c|;s|/Alloc.c|/C/Alloc.c|;/Alloc.c/s|CXX|CC|'\
		${BUILD_WRKSRC}/${MAKEFILE}
@


1.10
log
@- Update to 4.45
@
text
@d28 2
d31 2
a32 3
		's|^CXX.*||; \
		 s|CXX_C|CC|; \
		 s|^CFLAGS =|CFLAGS +=|' \
@


1.9
log
@- Update to 4.44
@
text
@d9 1
a9 1
PORTVERSION=	4.44
d11 1
a11 2
MASTER_SITES=	SF
MASTER_SITE_SUBDIR=	sevenzip
d37 1
a37 1
	${MKDIR} ${DOCSDIR}
@


1.8
log
@- Respect DESTDIR

PR:		ports/101803
Submitted by:	Gabor Kovesdan <gabor@@FreeBSD.org>
@
text
@d9 1
a9 1
PORTVERSION=	4.43
d13 1
a13 1
DISTNAME=	lzma${PORTVERSION:S/.//g}
d21 1
a21 1
BUILD_WRKSRC=	${WRKSRC}/C/7zip/Compress/LZMA_Alone
d39 1
a39 1
	${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
@


1.7
log
@- Provide additional mirrors where needed
- Convert to "magic" master sites
- Various minor portlint-prodded fixes
@
text
@d36 1
a36 1
	${INSTALL_PROGRAM} ${BUILD_WRKSRC}/lzma ${PREFIX}/bin
@


1.6
log
@- Edit comment and pkg-descr
@
text
@d11 1
a11 1
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
@


1.5
log
@- Update to 4.43
@
text
@d16 1
a16 1
COMMENT=	Command line lzma archiver
@


1.4
log
@- Update to 4.32 [1]
- Drop maintainership

[1]:
PR:		ports/93778
Submitted by:	Andrew Pantyukhin <infofarmer@@gmail.com>
@
text
@d3 1
a3 1
# Whom:			Radim Kolar
d9 1
a9 1
PORTVERSION=	4.32
d15 1
a15 1
MAINTAINER=	ports@@FreeBSD.org
d24 1
@


1.3
log
@- Respect ${CC} and ${CXX}
- Convert line terminators to UNIX format rather than requiring GCC 3.4 [1]

Reported by:	Patrick Bihan-Faou <patrick.bihan-faou@@netzuno.com> [1]
@
text
@d9 1
a9 1
PORTVERSION=	4.17
d11 2
a12 1
MASTER_SITES=	http://www.7-zip.org/dl/
d15 1
a15 1
MAINTAINER=	jylefort@@FreeBSD.org
a18 2
USE_GMAKE=	yes
USE_REINPLACE=	yes
d20 3
a22 4

BUILD_WRKSRC=	${WRKSRC}/SRC/7zip/Compress/LZMA_Alone
MAKEFILE=	makefile
MAKE_ENV=	CC="${CC}" CXX="${CXX}"
d25 1
a25 3
.if !defined(NOPORTDOCS)
PORTDOCS=	*.txt
.endif
a27 2
	@@${FIND} ${WRKSRC} -name '*.[ch]' -exec ${REINPLACE_CMD} -e \
		"s|`${ECHO_CMD} -e '\r'`$$||" {} \;
d30 1
a30 1
		 s|$$(CXX_C)|$$(CC)|; \
a36 1
	${RM} -f ${WRKSRC}/LGPL.txt
d38 1
a38 1
	${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
@


1.2
log
@Update to 4.17

PR:		ports/80706
Submitted by:	Radim Kolar <hsn@@netmag.cz>
@
text
@a16 1
USE_GCC=	3.4+
d24 1
d32 2
@


1.1
log
@Simple command line version of compression program using LZMA compression
method. This program is taken from LZMA SDK. 7-zip uses the same compression
method, but creates 7Z archives instead of pure LZMA data stream. LZMA can
compress and decompress data streams using standard input/output.

Compression ratio is about 25-30% better than bzip2 and decompression speed
is about two times faster. This makes LZMA good bzip2 replacement for
use in software distribution.

WWW: http://www.7-zip.org/sdk.html

PR:		ports/80554
Submitted by:	Radim Kolar <hsn@@netmag.cz>
@
text
@d9 1
a9 1
PORTVERSION=	4.0.6
d18 1
a18 1
USE_ZIP=	yes
d33 2
a34 1
		's|^CXX = .*||; \
@

