archivers/7zip
This commit is contained in:
parent
e559f93cc9
commit
2fca8259a6
41
archivers-7zip/Makefile
Normal file
41
archivers-7zip/Makefile
Normal file
@ -0,0 +1,41 @@
|
||||
COMMENT = file archiver with a high compression ratio
|
||||
|
||||
V = 24.08
|
||||
DISTNAME = 7z2408-src
|
||||
PKGNAME = 7zip-${V}
|
||||
|
||||
CATEGORIES = archivers
|
||||
|
||||
HOMEPAGE = https://7-zip.org
|
||||
|
||||
MAINTAINER = "Ed <ed@i2pmail.org>"
|
||||
|
||||
# LGPLv2.1
|
||||
PERMIT_PACKAGE = Yes
|
||||
|
||||
WANTLIB = ${COMPILER_LIBCXX} c m
|
||||
|
||||
SITES = "https://github.com/ip7z/7zip/releases/download/${V}/"
|
||||
|
||||
EXTRACT_SUFX = .tar.xz
|
||||
|
||||
FIX_CRLF_FILES = CPP/7zip/7zip_gcc.mak
|
||||
|
||||
COMPILER = base-clang ports-gcc
|
||||
|
||||
USE_GMAKE = Yes
|
||||
CONFIGURE_STYLE = none
|
||||
|
||||
NO_TEST = Yes
|
||||
|
||||
MAKE_FILE_base-clang = ../../cmpl_clang.mak
|
||||
MAKE_FILE_ports-gcc = ../../cmpl_gcc.mak
|
||||
MAKE_FILE = ${MAKE_FILE_${CHOSEN_COMPILER}}
|
||||
|
||||
WRKDIST = ${WRKDIR}
|
||||
WRKSRC = ${WRKDIST}/CPP/7zip/Bundles/Alone2
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/b/c/7zz ${PREFIX}/bin
|
||||
|
||||
.include <bsd.port.mk>
|
2
archivers-7zip/distinfo
Normal file
2
archivers-7zip/distinfo
Normal file
@ -0,0 +1,2 @@
|
||||
SHA256 (7z2408-src.tar.xz) = qgSqyQagTfWecwH0xp6fSICObI7K5OtpdwOke/sKwEI=
|
||||
SIZE (7z2408-src.tar.xz) = 1493700
|
12
archivers-7zip/patches/patch-CPP_7zip_7zip_gcc_mak
Normal file
12
archivers-7zip/patches/patch-CPP_7zip_7zip_gcc_mak
Normal file
@ -0,0 +1,12 @@
|
||||
Index: CPP/7zip/7zip_gcc.mak
|
||||
--- CPP/7zip/7zip_gcc.mak.orig Sun Jun 16 03:00:00 2024
|
||||
+++ CPP/7zip/7zip_gcc.mak Fri Sep 27 22:21:23 2024
|
||||
@@ -162,7 +162,7 @@ DEL_OBJ_EXE = -$(RM) $(PROGPATH) $(PROGPATH_STATIC) $(
|
||||
# LOCAL_LIBS=-lpthread
|
||||
# LOCAL_LIBS_DLL=$(LOCAL_LIBS) -ldl
|
||||
LIB2 = -lpthread
|
||||
-LIB2 = -lpthread -ldl
|
||||
+#LIB2 = -lpthread -ldl
|
||||
|
||||
|
||||
endif
|
6
archivers-7zip/pkg/DESCR
Normal file
6
archivers-7zip/pkg/DESCR
Normal file
@ -0,0 +1,6 @@
|
||||
7-Zip is a file archiver with a high compression ratio.
|
||||
|
||||
The main features of 7-Zip are:
|
||||
- High compression ratio in 7z format with LZMA and LZMA2 compression
|
||||
- Multiple supported formats (7z, XZ, BZIP2, GZIP, TAR, ZIP, WIM, etc.)
|
||||
- Strong AES-256 encryption in 7z and ZIP formats
|
1
archivers-7zip/pkg/PLIST
Normal file
1
archivers-7zip/pkg/PLIST
Normal file
@ -0,0 +1 @@
|
||||
@bin bin/7zz
|
Loading…
Reference in New Issue
Block a user