mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-28 01:06:17 +00:00
a3154e38e8
o Ressurect pkg-plist to support to make modules optional. 25 lines out of 31 are wrapped with %%MODULES%% which can be controlled by WITHOUT_MODULES knob. The modules support more codecs and formats than stand-alone binary. o Install 7za to libexec and wrap it with script to support sfx creation. 7za and .sfx should be placed in the same directory as 7z and modules do. o Wrapper script executes corresponding binary (7z or 7za.) In WITHOUT_MODULES case, it can be called by 7z or 7za but always executes 7za. This is compatible action for previous port. o Turn BROKEN to IGNORE. There is no hope to compile this software in RELENG_4. And correct quotation for this change. Approved by: maintainer
32 lines
1.1 KiB
Plaintext
32 lines
1.1 KiB
Plaintext
@unexec /bin/rm -f %D/bin/7za
|
|
bin/7z
|
|
@exec /bin/ln -sf 7z %D/bin/7za
|
|
%%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%%@dirrm libexec/p7zip/Formats
|
|
%%MODULES%%@dirrm libexec/p7zip/Codecs
|
|
@dirrm libexec/p7zip
|