aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2006-03-19 02:05:50 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2006-03-19 02:05:50 +0000
commitcf0f5c9e37168cb265f3a8f1b5d6b6ef3de1a93a (patch)
treee2c07d1d161415f918ea47213cf8322a0184e1b0 /archivers
parentd8c0eb14b253afa245bc0200269616051ac16fa2 (diff)
downloadports-cf0f5c9e37168cb265f3a8f1b5d6b6ef3de1a93a.tar.gz
ports-cf0f5c9e37168cb265f3a8f1b5d6b6ef3de1a93a.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/lzma/Makefile27
-rw-r--r--archivers/lzma/distinfo6
2 files changed, 13 insertions, 20 deletions
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile
index 7f6489bc4f97..8f9506e3e44e 100644
--- a/archivers/lzma/Makefile
+++ b/archivers/lzma/Makefile
@@ -6,43 +6,36 @@
#
PORTNAME= lzma
-PORTVERSION= 4.17
+PORTVERSION= 4.32
CATEGORIES= archivers
-MASTER_SITES= http://www.7-zip.org/dl/
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= sevenzip
DISTNAME= lzma${PORTVERSION:S/.//g}
-MAINTAINER= jylefort@FreeBSD.org
+MAINTAINER= ports@FreeBSD.org
COMMENT= Command line lzma archiver
USE_BZIP2= yes
-USE_GMAKE= yes
-USE_REINPLACE= yes
NO_WRKSUBDIR= yes
-
-BUILD_WRKSRC= ${WRKSRC}/SRC/7zip/Compress/LZMA_Alone
-MAKEFILE= makefile
-MAKE_ENV= CC="${CC}" CXX="${CXX}"
+USE_DOS2UNIX= yes
+BUILD_WRKSRC= ${WRKSRC}/C/7zip/Compress/LZMA_Alone
+MAKEFILE= makefile.gcc
PLIST_FILES= bin/lzma
-.if !defined(NOPORTDOCS)
-PORTDOCS= *.txt
-.endif
+PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt history.txt lzma.txt
post-patch:
- @${FIND} ${WRKSRC} -name '*.[ch]' -exec ${REINPLACE_CMD} -e \
- "s|`${ECHO_CMD} -e '\r'`$$||" {} \;
@${REINPLACE_CMD} -e \
's|^CXX.*||; \
- s|$$(CXX_C)|$$(CC)|; \
+ s|CXX_C|CC|; \
s|^CFLAGS =|CFLAGS +=|' \
${BUILD_WRKSRC}/${MAKEFILE}
do-install:
${INSTALL_PROGRAM} ${BUILD_WRKSRC}/lzma ${PREFIX}/bin
.if !defined(NOPORTDOCS)
- ${RM} -f ${WRKSRC}/LGPL.txt
${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${WRKSRC}/*.txt ${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/archivers/lzma/distinfo b/archivers/lzma/distinfo
index 61aa0cd897f8..76b2979036a0 100644
--- a/archivers/lzma/distinfo
+++ b/archivers/lzma/distinfo
@@ -1,3 +1,3 @@
-MD5 (lzma417.tar.bz2) = b1ab85e4dc1eb1323d77fef47a2cb71c
-SHA256 (lzma417.tar.bz2) = 84124d4501798ecb284fceb28931db023850535e1b1146c884add7b3b0331cbc
-SIZE (lzma417.tar.bz2) = 161670
+MD5 (lzma432.tar.bz2) = 155c1ebce5bc6710ae7ecc926226d9d7
+SHA256 (lzma432.tar.bz2) = 6b278a6f6f093b7e61df2e6b8cfcf0096f0cae1ccf6a9852b3a231fe2731250d
+SIZE (lzma432.tar.bz2) = 194914