aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2008-03-10 08:01:43 +0000
committerMax Khon <fjoe@FreeBSD.org>2008-03-10 08:01:43 +0000
commitafdb9c2fb616aef3fdaa3808ccb4ab617f3ddc71 (patch)
tree5dd1af163813d86dd2cf0448daef9d9aa3117d10 /archivers
parent57b4ce02947efc33ce7348621134a4d46794c3be (diff)
downloadports-afdb9c2fb616aef3fdaa3808ccb4ab617f3ddc71.tar.gz
ports-afdb9c2fb616aef3fdaa3808ccb4ab617f3ddc71.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/upx/Makefile21
-rw-r--r--archivers/upx/distinfo9
2 files changed, 19 insertions, 11 deletions
diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile
index 4dbfac330ce6..63d02fbc1df8 100644
--- a/archivers/upx/Makefile
+++ b/archivers/upx/Makefile
@@ -6,23 +6,30 @@
#
PORTNAME= upx
-PORTVERSION= 3.01
+PORTVERSION= 3.02
CATEGORIES= archivers
-MASTER_SITES= http://upx.sourceforge.net/download/
-DISTNAME= ${PORTNAME}-${PORTVERSION}-src
+MASTER_SITES= http://upx.sourceforge.net/download/\
+ SFE/sevenzip: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.57
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}-src
USE_BZIP2= yes
USE_GMAKE= yes
USE_PERL5_BUILD=yes
-MAKE_ENV= UPX_UCLDIR=${LOCALBASE} target=freebsd
+MAKE_ENV= UPX_UCLDIR=${LOCALBASE}\
+ UPX_LZMADIR=${WRKDIR}\
+ target=freebsd
NOT_FOR_ARCHS= sparc64
-PORTDOCS= BUGS COPYING LICENSE NEWS README THANKS
+PORTDOCS= BUGS COPYING LICENSE NEWS PROJECTS README\
+ README.1ST README.SRC THANKS TODO
MAN1= upx.1
PLIST_FILES= bin/upx
@@ -31,9 +38,7 @@ do-install:
@${INSTALL_MAN} ${WRKSRC}/doc/upx.1 ${MANPREFIX}/man/man1
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
- @for i in ${PORTDOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$i ${DOCSDIR}; \
- done
+ @${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/archivers/upx/distinfo b/archivers/upx/distinfo
index d04cc33c29ae..e73868b38243 100644
--- a/archivers/upx/distinfo
+++ b/archivers/upx/distinfo
@@ -1,3 +1,6 @@
-MD5 (upx-3.01-src.tar.bz2) = 58f3c87bf7e067ece5f7c510d4423cb8
-SHA256 (upx-3.01-src.tar.bz2) = dfc05143d37277ef2c937fa7e1bbeda54bf8b54b923589716ac6338dda6f7f64
-SIZE (upx-3.01-src.tar.bz2) = 728384
+MD5 (upx-3.02-src.tar.bz2) = 6188a7cdf1e81a61c2cad90362c4d99d
+SHA256 (upx-3.02-src.tar.bz2) = b2eb34cdb8dd9a3cb5b7ffbd3bfef76aed7d8fc05ea64f3c26853b555a01f456
+SIZE (upx-3.02-src.tar.bz2) = 740377
+MD5 (7z457.tar.bz2) = a504b4174d3960ef93539986b5a092fa
+SHA256 (7z457.tar.bz2) = 09fc3719fbe373edd1c62bf8e48c1f98caea4522c26d0244aa40d2058ee2fd7e
+SIZE (7z457.tar.bz2) = 620119