git: 5b41e0f8452e - main - archivers/lzma: add LICENSE
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 26 Aug 2025 08:48:03 UTC
The branch main has been updated by alven:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5b41e0f8452e69de85a9479b240faff7ceba0c13
commit 5b41e0f8452e69de85a9479b240faff7ceba0c13
Author: Chris Hutchinson <portmaster@BSDforge.com>
AuthorDate: 2025-08-26 04:59:56 +0000
Commit: Älven <alven@FreeBSD.org>
CommitDate: 2025-08-26 08:47:37 +0000
archivers/lzma: add LICENSE
PR: 287786
Approved by: yuri@ (Mentor)
---
archivers/lzma/Makefile | 25 ++++++++++++++++++-------
1 file changed, 18 insertions(+), 7 deletions(-)
diff --git a/archivers/lzma/Makefile b/archivers/lzma/Makefile
index 77bce2834cb2..adb101b564a6 100644
--- a/archivers/lzma/Makefile
+++ b/archivers/lzma/Makefile
@@ -8,22 +8,33 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= High-ratio LZMA compressor
WWW= https://www.7-zip.org/sdk.html
-CONFLICTS= lzmautils xz
+LICENSE= PD
+LICENSE_TEXT_PD= LZMA SDK is written and placed in the public \
+ domain by Igor PavlovAnyone. Anyone is free to copy, modify, \
+ publish, use, compile, sell, or distribute the original LZMA \
+ SDK code, either in source code form or as a compiled binary, \
+ for any purpose, commercial or non-commercial, and by any means.
+
+USES= 7z dos2unix gmake
-USES= 7z gmake dos2unix
-NO_WRKSUBDIR= yes
-BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Bundles/LzmaCon
MAKEFILE= makefile.gcc
-PLIST_FILES= bin/${PORTNAME}
-.ifdef(WITH_LZMA_PROB32)
+
+.ifdef (WITH_LZMA_PROB32)
#increase the speed of decoding on some 32-bit CPUs, at the expense of doubled
#memory usage for CLzmaDec::probs
CFLAGS+= -D_LZMA_PROB32
.endif
-.ifdef(WITH_LZMA_SIZE_OPT)
+.ifdef (WITH_LZMA_SIZE_OPT)
#enable some optimizations in LZMA Decoder to get smaller executable code
CFLAGS+= -D_LZMA_SIZE_OPT
.endif
+CONFLICTS= lzmautils xz
+
+NO_WRKSUBDIR= yes
+BUILD_WRKSRC= ${WRKSRC}/CPP/7zip/Bundles/LzmaCon
+
+PLIST_FILES= bin/${PORTNAME}
+
PORTDOCS= 7zC.txt 7zFormat.txt Methods.txt lzma-history.txt lzma.txt
OPTIONS_DEFINE= DOCS