aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Pantyukhin <sat@FreeBSD.org>2007-09-01 11:30:05 +0000
committerAndrew Pantyukhin <sat@FreeBSD.org>2007-09-01 11:30:05 +0000
commit4eac7a811327ede6d449747bf329615e89e4478a (patch)
treea9e0c49bc964d8ff87be25778abf5cb9b77df88c
parentee30fb7595ba6ba3e93ceed7691f224b697e4fd0 (diff)
downloadports-4eac7a811327ede6d449747bf329615e89e4478a.tar.gz
ports-4eac7a811327ede6d449747bf329615e89e4478a.zip
Notes
-rw-r--r--archivers/lzma/Makefile15
-rw-r--r--archivers/lzma/distinfo6
2 files changed, 11 insertions, 10 deletions
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile
index 4220cfa8465e..dd5b2510638d 100644
--- a/archivers/lzma/Makefile
+++ b/archivers/lzma/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lzma
-PORTVERSION= 4.52
+PORTVERSION= 4.53
CATEGORIES= archivers
MASTER_SITES= SFE/sevenzip
DISTNAME= 7z${PORTVERSION:S/.//g}
@@ -20,24 +20,25 @@ NO_WRKSUBDIR= yes
USE_DOS2UNIX= yes
BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Compress/LZMA_Alone
MAKEFILE= makefile.gcc
-PLIST_FILES= bin/lzma
+PLIST_FILES= bin/${PORTNAME}
CFLAGS+= -D_LZMA_SYSTEM_SIZE_T
MAKE_ENV+= CXX="${CXX}"
-
PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt
post-patch:
@${REINPLACE_CMD} -e 's|4\.49|${DISTVERSION}|' \
${BUILD_WRKSRC}/LzmaAlone.cpp
+ @${REINPLACE_CMD} -e '/bool Open(LPCTSTR fileName, DWORD creationDisposition)/,/}/d'\
+ ${WRKSRC}/CPP/7zip/Common/FileStreams.h
@${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}/lzma ${PREFIX}/bin/
-.if !defined(NOPORTDOCS)
- ${INSTALL} -d ${DOCSDIR}/
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/DOC/,} ${DOCSDIR}/
+ @${INSTALL_PROGRAM} ${BUILD_WRKSRC}/${PORTNAME} ${PREFIX}/bin/
+.ifndef NOPORTDOCS
+ @${INSTALL} -d ${DOCSDIR}/
+ @cd ${WRKSRC}/DOC/&&${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/archivers/lzma/distinfo b/archivers/lzma/distinfo
index 7383d8ab1425..1979d449423b 100644
--- a/archivers/lzma/distinfo
+++ b/archivers/lzma/distinfo
@@ -1,3 +1,3 @@
-MD5 (7z452.tar.bz2) = 8c05b04c12d6c0787c1d01c612850eb8
-SHA256 (7z452.tar.bz2) = 2bd753bb17834f7c7178053be3237a35542f7220e43b57cff286a4066c1247e8
-SIZE (7z452.tar.bz2) = 618339
+MD5 (7z453.tar.bz2) = 07647b42bec5cd3bc5c882d772d0bc3d
+SHA256 (7z453.tar.bz2) = 652bd94e18dbf4525477d8c54d82d0371556e6aba6a081b9be83d2587b0c9966
+SIZE (7z453.tar.bz2) = 618295