aboutsummaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorSergey Matveychuk <sem@FreeBSD.org>2005-10-15 12:44:30 +0000
committerSergey Matveychuk <sem@FreeBSD.org>2005-10-15 12:44:30 +0000
commit1b437966e1c02a3362b6aba8a8a4fd2c2bbd4374 (patch)
treed854bb6ee2500b9586203ef10129ced55a56a535 /archivers
parentd1fd68a3688a7083c93c8682aaea4b5ac09b5cd6 (diff)
downloadports-1b437966e1c02a3362b6aba8a8a4fd2c2bbd4374.tar.gz
ports-1b437966e1c02a3362b6aba8a8a4fd2c2bbd4374.zip
Notes
Diffstat (limited to 'archivers')
-rw-r--r--archivers/p7zip/Makefile16
-rw-r--r--archivers/p7zip/distinfo4
-rw-r--r--archivers/p7zip/pkg-plist3
3 files changed, 17 insertions, 6 deletions
diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile
index e48dca840653..718dc92418bf 100644
--- a/archivers/p7zip/Makefile
+++ b/archivers/p7zip/Makefile
@@ -6,21 +6,24 @@
#
PORTNAME= p7zip
-PORTVERSION= 4.20
+PORTVERSION= 4.29
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= p7zip
-DISTNAME= ${PORTNAME}_${PORTVERSION}_src
+DISTNAME= ${PORTNAME}_${PORTVERSION}_src_all
MAINTAINER= nox@jelal.kn-bremen.de
COMMENT= Command line versions of 7-zip
USE_BZIP2= yes
USE_GMAKE= yes
+USE_REINPLACE= yes
MAKEFILE= makefile
WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
PORTDOCS= *
+MAN1= 7z.1 7za.1
+MANCOMPRESSED= no
DLLDIR= ${PREFIX}/libexec/p7zip
@@ -44,7 +47,7 @@ CFLAGS+= -fPIC
.endif
post-patch:
- ${SED} -e 's/-O2/${CFLAGS} ${PTHREAD_CFLAGS}/' \
+ ${SED} -e 's/-O/${CFLAGS} ${PTHREAD_CFLAGS}/' \
-e 's!g\+\+!${CXX}!' \
-e 's!gcc!${CC}!' \
-e '/LITTLE_ENDIAN/d' \
@@ -52,6 +55,8 @@ post-patch:
-e 's/-D_FILE_OFFSET_BITS=64//' \
-e 's/-lc_r/${PTHREAD_LIBS}/' \
${WRKSRC}/makefile.freebsd > ${WRKSRC}/makefile.machine
+ ${REINPLACE_CMD} -e 's|/usr/share/doc/p7zip/DOCS|${DOCSDIR}|' \
+ ${WRKSRC}/man1/*
do-install:
${MKDIR} ${DLLDIR}
@@ -63,7 +68,7 @@ do-install:
.if !defined(WITHOUT_MODULES)
.for f in Codecs Formats
${MKDIR} ${DLLDIR}/${f}
- ${INSTALL_PROGRAM} ${WRKSRC}/bin/${f}/* ${DLLDIR}/${f}
+ ${INSTALL_DATA} ${WRKSRC}/bin/${f}/* ${DLLDIR}/${f}
.endfor
.endif
.if !defined(NOPORTDOCS)
@@ -74,5 +79,8 @@ do-install:
${FIND} ${DOCSDIR} -type d | ${XARGS} ${CHMOD} 755
${FIND} ${DOCSDIR} -type f | ${XARGS} ${CHMOD} ${SHAREMODE}
.endif
+.for m in ${MAN1}
+ ${INSTALL} ${WRKSRC}/man1/${m} ${MAN1PREFIX}/man/man1
+.endfor
.include <bsd.port.post.mk>
diff --git a/archivers/p7zip/distinfo b/archivers/p7zip/distinfo
index 1008de9909ca..1effe2670e13 100644
--- a/archivers/p7zip/distinfo
+++ b/archivers/p7zip/distinfo
@@ -1,2 +1,2 @@
-MD5 (p7zip_4.20_src.tar.bz2) = 91abf73ddfc92a0ed87dd5bb9fc3a38d
-SIZE (p7zip_4.20_src.tar.bz2) = 328976
+MD5 (p7zip_4.29_src_all.tar.bz2) = 1ea12d7e91c9c67fb6512a6a144b8431
+SIZE (p7zip_4.29_src_all.tar.bz2) = 416265
diff --git a/archivers/p7zip/pkg-plist b/archivers/p7zip/pkg-plist
index 8c841a9d30ef..2e083e597b36 100644
--- a/archivers/p7zip/pkg-plist
+++ b/archivers/p7zip/pkg-plist
@@ -13,8 +13,10 @@ libexec/p7zip/7zCon.sfx
%%MODULES%%libexec/p7zip/Codecs/Implode.so
%%MODULES%%libexec/p7zip/Codecs/LZMA.so
%%MODULES%%libexec/p7zip/Codecs/PPMD.so
+%%MODULES%%libexec/p7zip/Codecs/Rar29.so
%%MODULES%%libexec/p7zip/Codecs/Swap.so
%%MODULES%%libexec/p7zip/Formats/7z.so
+%%MODULES%%libexec/p7zip/Formats/chm.so
%%MODULES%%libexec/p7zip/Formats/Rar.so
%%MODULES%%libexec/p7zip/Formats/Tar.so
%%MODULES%%libexec/p7zip/Formats/Zip.so
@@ -26,6 +28,7 @@ libexec/p7zip/7zCon.sfx
%%MODULES%%libexec/p7zip/Formats/gz.so
%%MODULES%%libexec/p7zip/Formats/rpm.so
%%MODULES%%libexec/p7zip/Formats/split.so
+%%MODULES%%libexec/p7zip/Formats/lzh.so
%%MODULES%%libexec/p7zip/Formats/z.so
%%MODULES%%@dirrm libexec/p7zip/Formats
%%MODULES%%@dirrm libexec/p7zip/Codecs