head	1.14;
access;
symbols
	RELEASE_8_3_0:1.13
	RELEASE_9_0_0:1.12
	RELEASE_7_4_0:1.12
	RELEASE_8_2_0:1.12
	RELEASE_6_EOL:1.12
	RELEASE_8_1_0:1.11
	RELEASE_7_3_0:1.10
	RELEASE_8_0_0:1.9
	RELEASE_7_2_0:1.8
	RELEASE_7_1_0:1.7
	RELEASE_6_4_0:1.7
	RELEASE_5_EOL:1.7
	RELEASE_7_0_0:1.6
	RELEASE_6_3_0:1.6
	PRE_XORG_7:1.3
	RELEASE_4_EOL:1.2
	RELEASE_6_2_0:1.2
	RELEASE_6_1_0:1.2
	RELEASE_5_5_0:1.2
	RELEASE_6_0_0:1.2
	RELEASE_5_4_0:1.2
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1;
locks; strict;
comment	@# @;


1.14
date	2012.11.17.05.54.24;	author svnexp;	state Exp;
branches;
next	1.13;

1.13
date	2012.01.16.12.47.49;	author fjoe;	state Exp;
branches;
next	1.12;

1.12
date	2010.09.09.07.39.48;	author fjoe;	state Exp;
branches;
next	1.11;

1.11
date	2010.05.04.14.45.25;	author fjoe;	state Exp;
branches;
next	1.10;

1.10
date	2009.11.02.09.09.46;	author fjoe;	state Exp;
branches;
next	1.9;

1.9
date	2009.09.02.15.01.33;	author amdmi3;	state Exp;
branches;
next	1.8;

1.8
date	2008.10.27.15.46.43;	author fjoe;	state Exp;
branches;
next	1.7;

1.7
date	2008.03.10.08.01.43;	author fjoe;	state Exp;
branches;
next	1.6;

1.6
date	2007.09.22.09.16.33;	author fjoe;	state Exp;
branches;
next	1.5;

1.5
date	2007.08.21.15.55.38;	author fjoe;	state Exp;
branches;
next	1.4;

1.4
date	2007.05.26.08.45.14;	author fjoe;	state Exp;
branches;
next	1.3;

1.3
date	2007.02.23.07.52.53;	author fjoe;	state Exp;
branches;
next	1.2;

1.2
date	2005.01.08.11.16.50;	author fjoe;	state Exp;
branches;
next	1.1;

1.1
date	2004.02.17.03.05.12;	author fjoe;	state Exp;
branches;
next	;


desc
@@


1.14
log
@Switch exporter over
@
text
@# New ports collection makefile for:	upx
# Date created:				17 Feb 2004
# Whom:					Max Khon <fjoe@@FreeBSD.org>
#
# $FreeBSD: head/archivers/upx/Makefile 300895 2012-07-14 12:56:14Z beat $
#

PORTNAME=	upx
PORTVERSION=	3.08
CATEGORIES=	archivers
MASTER_SITES=	http://upx.sourceforge.net/download/\
		SF/sevenzip/7-Zip/${LZMA_VER}:lzma
DISTFILES=	${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}\
		7z${LZMA_VER:S/.//g}${EXTRACT_SUFX}:lzma

MAINTAINER=	fjoe@@FreeBSD.org
COMMENT=	The Ultimate Packer for eXecutables

LIB_DEPENDS=	ucl.1:${PORTSDIR}/archivers/ucl

LZMA_VER=	4.65
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
USE_BZIP2=	yes
USE_GMAKE=	yes
USE_PERL5_BUILD=yes
MAKE_ENV=	UPX_UCLDIR=${LOCALBASE}\
		UPX_LZMADIR=${WRKDIR}\
		target=freebsd
NOT_FOR_ARCHS=	sparc64

PORTDOCS=	BUGS COPYING LICENSE NEWS PROJECTS README\
		README.1ST README.SRC THANKS TODO
MAN1=		upx.1
PLIST_FILES=	bin/upx

do-install:
	@@${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${PREFIX}/bin/upx
	@@${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
	@@${MKDIR} ${DOCSDIR}
	@@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif

.include <bsd.port.mk>
@


1.13
log
@Update to 3.08

PR:		163856
Submitted by:	sunpoet@@
@
text
@d5 1
a5 1
# $FreeBSD$
@


1.12
log
@Update to 3.0.7.
@
text
@d9 1
a9 1
PORTVERSION=	3.07
@


1.11
log
@Update to upx 3.05 and lzma from 7zip 4.65

PR:		146216
@
text
@d9 1
a9 1
PORTVERSION=	3.05
@


1.10
log
@Update to 3.04.

PR:		140182
Submitted by:	Emanuel Haupt
@
text
@d9 1
a9 1
PORTVERSION=	3.04
d12 1
a12 1
		SF/sevenzip/7-Zip/4.57:lzma
d21 1
a21 1
LZMA_VER=	4.57
@


1.9
log
@- Retire MASTER_SITE_SOURCEFORGE_EXTENDED, it's no longer needed - all mirrors actually have all distfiles
- Merge all SF mirrors to MASTER_SITE_SOURCEFORGE, resort according to quick download speed survey
- Fix MASTER_SITES for all port that have used SOURCEFORGE_EXTENTED

Approved by:	portmgr (pav)
@
text
@d9 1
a9 1
PORTVERSION=	3.03
@


1.8
log
@Update to 3.03

PR:		128386
Submitted by:	Joseph S. Atkinson
@
text
@d12 1
a12 1
		SFE/sevenzip:lzma
@


1.7
log
@- Update to 3.02 [1]
- Update PORTDOCS [1]
- Add LZMA support [2]

PR:		120354
Submitted by:	Felippe de Meirelles Motta [1], Joseph S. Atkinson [2]
@
text
@d9 1
a9 1
PORTVERSION=	3.02
@


1.6
log
@Not for sparc64. I do not have sparc64 hw to fix the build.
@
text
@d9 1
a9 1
PORTVERSION=	3.01
d11 4
a14 2
MASTER_SITES=	http://upx.sourceforge.net/download/
DISTNAME=	${PORTNAME}-${PORTVERSION}-src
d21 2
d26 3
a28 1
MAKE_ENV=	UPX_UCLDIR=${LOCALBASE} target=freebsd
d31 2
a32 1
PORTDOCS=	BUGS COPYING LICENSE NEWS README THANKS
d41 1
a41 3
	@@for i in ${PORTDOCS}; do \
		${INSTALL_DATA} ${WRKSRC}/$$i ${DOCSDIR}; \
	done
@


1.5
log
@Update to 3.01

PR:		115570
Submitted by:	mm@@
@
text
@d23 1
@


1.4
log
@Update to 3.00.

PR:		112560
Submitted by:	Peter Johnson
@
text
@d9 1
a9 1
PORTVERSION=	3.00
@


1.3
log
@Mark the port as i386-only.

Noticed by:	rafan
@
text
@d9 1
a9 1
PORTVERSION=	1.25
d11 1
a11 2
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	upx/
d19 1
a19 2
ONLY_FOR_ARCHS=	i386

d22 1
a22 2
WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
MAKE_ENV=	UCLDIR=${LOCALBASE} target=freebsd
a27 6
post-patch:
	@@${CP} ${FILESDIR}/l_b_n2?.h ${WRKSRC}/stub

post-build:
	@@cd ${WRKSRC}/../doc && ${GMAKE}

d29 2
a30 2
	@@${INSTALL_PROGRAM} ${WRKSRC}/upx ${PREFIX}/bin
	@@${INSTALL_MAN} ${WRKSRC}/../doc/upx.1 ${MANPREFIX}/man/man1
d34 1
a34 1
		${INSTALL_DATA} ${WRKSRC}/../$$i ${DOCSDIR}; \
a36 1
	@@${CAT} ${PKGMESSAGE}
@


1.2
log
@Update to 1.25.

PR:		72472
@
text
@d20 2
@


1.1
log
@New port: upx 1.24

UPX is a free, portable, extendable, high-performance executable
packer for several different executable formats. It achieves an
excellent compression ratio and offers very fast decompression.
@
text
@d9 1
a9 1
PORTVERSION=	1.24
a29 1
	@@${CP} ${FILESDIR}/freebsd.h ${WRKSRC}/config_h
@

