2004-02-17 04:05:13 +01:00
|
|
|
# New ports collection makefile for: upx
|
|
|
|
# Date created: 17 Feb 2004
|
|
|
|
# Whom: Max Khon <fjoe@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= upx
|
2012-01-16 13:47:49 +01:00
|
|
|
PORTVERSION= 3.08
|
2004-02-17 04:05:13 +01:00
|
|
|
CATEGORIES= archivers
|
2008-03-10 09:01:43 +01:00
|
|
|
MASTER_SITES= http://upx.sourceforge.net/download/\
|
2010-05-04 16:45:26 +02:00
|
|
|
SF/sevenzip/7-Zip/${LZMA_VER}:lzma
|
2008-03-10 09:01:43 +01:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}\
|
|
|
|
7z${LZMA_VER:S/.//g}${EXTRACT_SUFX}:lzma
|
2004-02-17 04:05:13 +01:00
|
|
|
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
|
|
COMMENT= The Ultimate Packer for eXecutables
|
|
|
|
|
|
|
|
LIB_DEPENDS= ucl.1:${PORTSDIR}/archivers/ucl
|
|
|
|
|
2010-05-04 16:45:26 +02:00
|
|
|
LZMA_VER= 4.65
|
2008-03-10 09:01:43 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
|
2007-05-26 10:45:15 +02:00
|
|
|
USE_BZIP2= yes
|
2004-02-17 04:05:13 +01:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_PERL5_BUILD=yes
|
2008-03-10 09:01:43 +01:00
|
|
|
MAKE_ENV= UPX_UCLDIR=${LOCALBASE}\
|
|
|
|
UPX_LZMADIR=${WRKDIR}\
|
|
|
|
target=freebsd
|
2007-09-22 11:16:33 +02:00
|
|
|
NOT_FOR_ARCHS= sparc64
|
2004-02-17 04:05:13 +01:00
|
|
|
|
2008-03-10 09:01:43 +01:00
|
|
|
PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README\
|
|
|
|
README.1ST README.SRC THANKS TODO
|
2004-02-17 04:05:13 +01:00
|
|
|
MAN1= upx.1
|
|
|
|
PLIST_FILES= bin/upx
|
|
|
|
|
|
|
|
do-install:
|
2007-05-26 10:45:15 +02:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${PREFIX}/bin/upx
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${MANPREFIX}/man/man1
|
2004-02-17 04:05:13 +01:00
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
2008-03-10 09:01:43 +01:00
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
|
2004-02-17 04:05:13 +01:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|