diff options
author | Adriaan de Groot <adridg@FreeBSD.org> | 2019-03-09 22:46:55 +0000 |
---|---|---|
committer | Adriaan de Groot <adridg@FreeBSD.org> | 2019-03-09 22:46:55 +0000 |
commit | e9c3a8b02e16ac2350daa71a1019d82f810642ae (patch) | |
tree | 2ffba2b7cb4c5532414098102f6ead2d55a94eea /archivers/ark | |
parent | 141af921f944f637b1b8e8137a60d622dba231cd (diff) | |
download | freebsd-ports-e9c3a8b02e16ac2350daa71a1019d82f810642ae.zip |
Turn on RAR option by default only on x86 in archivers/ark.
This makes it possible to build on non-x86 with default options. Support
for rar archives is via external executables, so there is no change in the
port's compiled artifacts.
Thanks linimon@ for the functional part of the change. While here,
polish up descriptions and links and bits and bobs.
PR: 236240
Submitted by: linimon
Diffstat (limited to 'archivers/ark')
-rw-r--r-- | archivers/ark/Makefile | 12 | ||||
-rw-r--r-- | archivers/ark/pkg-descr | 7 | ||||
-rw-r--r-- | archivers/ark/pkg-message | 4 |
3 files changed, 15 insertions, 8 deletions
diff --git a/archivers/ark/Makefile b/archivers/ark/Makefile index d444381d565a..e06262de9553 100644 --- a/archivers/ark/Makefile +++ b/archivers/ark/Makefile @@ -2,7 +2,7 @@ PORTNAME= ark DISTVERSION= ${KDE_APPLICATIONS_VERSION} -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= archivers kde kde-applications MAINTAINER= kde@FreeBSD.org @@ -23,13 +23,17 @@ USE_QT= concurrent core dbus gui network widgets xml \ USE_LDCONFIG= yes OPTIONS_DEFINE= 7ZIP RAR ZIP DOCS -OPTIONS_DEFAULT= ${OPTIONS_DEFINE} +OPTIONS_DEFAULT= 7ZIP ZIP DOCS +OPTIONS_DEFAULT_i386= RAR +OPTIONS_DEFAULT_amd64= RAR OPTIONS_SUB= YES -7ZIP_DESC= Support for 7-Zip archives +# The 7ZIP and RAR options only need runtime dependencies; +# the port builds identically with or without them. +7ZIP_DESC= Support for 7-Zip archives (runtime) 7ZIP_RUN_DEPENDS= 7z:archivers/p7zip -RAR_DESC= Support for RAR archives +RAR_DESC= Support for RAR archives (runtime) RAR_RUN_DEPENDS= unrar:archivers/unrar \ rar:archivers/rar diff --git a/archivers/ark/pkg-descr b/archivers/ark/pkg-descr index dfdfed20b0d5..4709cecc8a5b 100644 --- a/archivers/ark/pkg-descr +++ b/archivers/ark/pkg-descr @@ -4,8 +4,7 @@ environment. Archives can be viewed, extracted, created and modified from within Ark. The program can handle various formats such as tar, gzip, bzip2, zip, rar and lha (if appropriate command-line programs are -installed). Ark can work closely with Konqueror in the KDE -environment to handle archives, if you install the Konqueror -Integration plugin available in the kdeaddons package. +installed). Ark can work closely with Konqueror and Dolphin in +a KDE Plasma environment to handle archives. -WWW: https://utils.kde.org/ +WWW: https://utils.kde.org/projects/ark/ diff --git a/archivers/ark/pkg-message b/archivers/ark/pkg-message new file mode 100644 index 000000000000..2724954b78b9 --- /dev/null +++ b/archivers/ark/pkg-message @@ -0,0 +1,4 @@ +Support for 7zip and rar archives requires the appropriate executables. +If ark has been packaged without options 7ZIP or RAR, you can install +archivers/p7zip (for 7ZIP) or archivers/unrar and archivers/rar (for RAR) +to allow ark to handle those archives. |