2013-08-30 01:02:57 +00:00
|
|
|
# Created by: Max Khon <fjoe@FreeBSD.org>
|
2004-02-17 03:05:13 +00:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= upx
|
2014-02-01 09:42:03 +00:00
|
|
|
PORTVERSION= 3.91
|
2004-02-17 03:05:13 +00:00
|
|
|
CATEGORIES= archivers
|
2008-03-10 08:01:43 +00:00
|
|
|
MASTER_SITES= http://upx.sourceforge.net/download/\
|
2010-05-04 14:45:26 +00:00
|
|
|
SF/sevenzip/7-Zip/${LZMA_VER}:lzma
|
2008-03-10 08:01:43 +00:00
|
|
|
DISTFILES= ${PORTNAME}-${PORTVERSION}-src${EXTRACT_SUFX}\
|
|
|
|
7z${LZMA_VER:S/.//g}${EXTRACT_SUFX}:lzma
|
2004-02-17 03:05:13 +00:00
|
|
|
|
|
|
|
MAINTAINER= fjoe@FreeBSD.org
|
|
|
|
COMMENT= The Ultimate Packer for eXecutables
|
|
|
|
|
2013-12-11 10:04:56 +00:00
|
|
|
LIB_DEPENDS= libucl.so:${PORTSDIR}/archivers/ucl
|
2004-02-17 03:05:13 +00:00
|
|
|
|
2010-05-04 14:45:26 +00:00
|
|
|
LZMA_VER= 4.65
|
2008-03-10 08:01:43 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
|
2014-06-01 07:59:15 +00:00
|
|
|
USES= tar:bzip2 gmake perl5
|
2013-08-30 01:02:57 +00:00
|
|
|
USE_PERL5= build
|
2008-03-10 08:01:43 +00:00
|
|
|
MAKE_ENV= UPX_UCLDIR=${LOCALBASE}\
|
|
|
|
UPX_LZMADIR=${WRKDIR}\
|
|
|
|
target=freebsd
|
2007-09-22 09:16:33 +00:00
|
|
|
NOT_FOR_ARCHS= sparc64
|
2004-02-17 03:05:13 +00:00
|
|
|
|
2008-03-10 08:01:43 +00:00
|
|
|
PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README\
|
|
|
|
README.1ST README.SRC THANKS TODO
|
2013-12-26 16:53:14 +00:00
|
|
|
PLIST_FILES= bin/upx \
|
|
|
|
man/man1/upx.1.gz
|
2004-02-17 03:05:13 +00:00
|
|
|
|
|
|
|
do-install:
|
2013-12-26 16:53:14 +00:00
|
|
|
@${INSTALL_PROGRAM} ${WRKSRC}/src/upx.out ${STAGEDIR}${PREFIX}/bin/upx
|
|
|
|
@${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${STAGEDIR}${MANPREFIX}/man/man1
|
|
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
|
|
@${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}/
|
2004-02-17 03:05:13 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|