aboutsummaryrefslogtreecommitdiff
path: root/archivers/p7zip
diff options
context:
space:
mode:
Diffstat (limited to 'archivers/p7zip')
-rw-r--r--archivers/p7zip/Makefile15
-rw-r--r--archivers/p7zip/distinfo4
-rw-r--r--archivers/p7zip/pkg-plist45
3 files changed, 33 insertions, 31 deletions
diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile
index 0e698efdeca4..5225938325fd 100644
--- a/archivers/p7zip/Makefile
+++ b/archivers/p7zip/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= p7zip
-PORTVERSION= 4.14
+PORTVERSION= 4.16
CATEGORIES= archivers
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= p7zip
@@ -23,15 +23,14 @@ WRKSRC= ${WRKDIR}/${PORTNAME}_${PORTVERSION}
PORTDOCS= *
DLLDIR= ${PREFIX}/libexec/p7zip
-7ZBIN= 7za 7zCon.sfx
+PLIST_SUB= MODULES=""
+ALL_TARGET= 7z 7za sfx
+7ZBIN= 7z 7za 7zCon.sfx
.if defined(WITHOUT_MODULES)
PLIST_SUB= MODULES="@comment "
ALL_TARGET= 7za sfx
-.else
-PLIST_SUB= MODULES=""
-ALL_TARGET= all2
-7ZBIN+= 7z
+7ZBIN= 7za 7zCon.sfx
.endif
.include <bsd.port.pre.mk>
@@ -45,8 +44,10 @@ post-patch:
-e 's!g\+\+!${CXX}!' \
-e 's!gcc!${CC}!' \
-e '/LITTLE_ENDIAN/d' \
+ -e 's/-D_LARGEFILE_SOURCE//' \
+ -e 's/-D_FILE_OFFSET_BITS=64//' \
-e 's/-lc_r/${PTHREAD_LIBS}/' \
- ${WRKSRC}/makefile.freebsd_x86 > ${WRKSRC}/makefile.machine
+ ${WRKSRC}/makefile.freebsd > ${WRKSRC}/makefile.machine
do-install:
${MKDIR} ${DLLDIR}
diff --git a/archivers/p7zip/distinfo b/archivers/p7zip/distinfo
index 6cde5138343c..0dd514d0856e 100644
--- a/archivers/p7zip/distinfo
+++ b/archivers/p7zip/distinfo
@@ -1,2 +1,2 @@
-MD5 (p7zip_4.14_src.tar.bz2) = 1452c602c04547f0b96a100e9411258b
-SIZE (p7zip_4.14_src.tar.bz2) = 459185
+MD5 (p7zip_4.16_src.tar.bz2) = e307fc7f145f3a62ac2cb9f484d58b0b
+SIZE (p7zip_4.16_src.tar.bz2) = 456065
diff --git a/archivers/p7zip/pkg-plist b/archivers/p7zip/pkg-plist
index 7379af05e809..8c841a9d30ef 100644
--- a/archivers/p7zip/pkg-plist
+++ b/archivers/p7zip/pkg-plist
@@ -4,28 +4,29 @@ bin/7z
%%MODULES%%libexec/p7zip/7z
libexec/p7zip/7za
libexec/p7zip/7zCon.sfx
-%%MODULES%%libexec/p7zip/Codecs/7zAES.dll
-%%MODULES%%libexec/p7zip/Codecs/AES.dll
-%%MODULES%%libexec/p7zip/Codecs/BZip2.dll
-%%MODULES%%libexec/p7zip/Codecs/Branch.dll
-%%MODULES%%libexec/p7zip/Codecs/Copy.dll
-%%MODULES%%libexec/p7zip/Codecs/Deflate.dll
-%%MODULES%%libexec/p7zip/Codecs/Implode.dll
-%%MODULES%%libexec/p7zip/Codecs/LZMA.dll
-%%MODULES%%libexec/p7zip/Codecs/PPMD.dll
-%%MODULES%%libexec/p7zip/Codecs/Swap.dll
-%%MODULES%%libexec/p7zip/Formats/7z.dll
-%%MODULES%%libexec/p7zip/Formats/Rar.dll
-%%MODULES%%libexec/p7zip/Formats/Tar.dll
-%%MODULES%%libexec/p7zip/Formats/Zip.dll
-%%MODULES%%libexec/p7zip/Formats/arj.dll
-%%MODULES%%libexec/p7zip/Formats/bz2.dll
-%%MODULES%%libexec/p7zip/Formats/cab.dll
-%%MODULES%%libexec/p7zip/Formats/cpio.dll
-%%MODULES%%libexec/p7zip/Formats/deb.dll
-%%MODULES%%libexec/p7zip/Formats/gz.dll
-%%MODULES%%libexec/p7zip/Formats/rpm.dll
-%%MODULES%%libexec/p7zip/Formats/split.dll
+%%MODULES%%libexec/p7zip/Codecs/7zAES.so
+%%MODULES%%libexec/p7zip/Codecs/AES.so
+%%MODULES%%libexec/p7zip/Codecs/BZip2.so
+%%MODULES%%libexec/p7zip/Codecs/Branch.so
+%%MODULES%%libexec/p7zip/Codecs/Copy.so
+%%MODULES%%libexec/p7zip/Codecs/Deflate.so
+%%MODULES%%libexec/p7zip/Codecs/Implode.so
+%%MODULES%%libexec/p7zip/Codecs/LZMA.so
+%%MODULES%%libexec/p7zip/Codecs/PPMD.so
+%%MODULES%%libexec/p7zip/Codecs/Swap.so
+%%MODULES%%libexec/p7zip/Formats/7z.so
+%%MODULES%%libexec/p7zip/Formats/Rar.so
+%%MODULES%%libexec/p7zip/Formats/Tar.so
+%%MODULES%%libexec/p7zip/Formats/Zip.so
+%%MODULES%%libexec/p7zip/Formats/arj.so
+%%MODULES%%libexec/p7zip/Formats/bz2.so
+%%MODULES%%libexec/p7zip/Formats/cab.so
+%%MODULES%%libexec/p7zip/Formats/cpio.so
+%%MODULES%%libexec/p7zip/Formats/deb.so
+%%MODULES%%libexec/p7zip/Formats/gz.so
+%%MODULES%%libexec/p7zip/Formats/rpm.so
+%%MODULES%%libexec/p7zip/Formats/split.so
+%%MODULES%%libexec/p7zip/Formats/z.so
%%MODULES%%@dirrm libexec/p7zip/Formats
%%MODULES%%@dirrm libexec/p7zip/Codecs
@dirrm libexec/p7zip