blob: 6b7f53b9256191979ff2cb04c36c8c08e3160a37 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
|
# Created by: Anders Nordby <anders@FreeBSD.org>
PORTNAME= file-roller
PORTVERSION= 3.40.0
PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= archivers gnome
MASTER_SITES= GNOME
DIST_SUBDIR= gnome
MAINTAINER= gnome@FreeBSD.org
COMMENT= Archive manager for zip files, tar, etc
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= itstool:textproc/itstool
LIB_DEPENDS= libjson-glib-1.0.so:devel/json-glib \
libnotify.so:devel/libnotify
RUN_DEPENDS= gtar:archivers/gtar
PORTSCOUT= limitw:1,even
USES= cpe desktop-file-utils gettext gnome libarchive localbase \
meson pkgconfig python:3.5+,build tar:xz
USE_GNOME= cairo gtk30
USE_LDCONFIG= yes
MESON_ARGS= -Dpackagekit=false
BINARY_ALIAS= python3=${PYTHON_VERSION}
CPE_VENDOR= gnome
GLIB_SCHEMAS= org.gnome.FileRoller.gschema.xml
OPTIONS_SUB= yes
OPTIONS_DEFINE= NAUTILUS
OPTIONS_DEFAULT=NAUTILUS
OPTIONS_GROUP= FORMATS
OPTIONS_GROUP_FORMATS= 7ZIP ARJ LZO RAR ZIP
FORMATS_DESC= Additional compression formats support
7ZIP_DESC= 7zip archive support
7ZIP_RUN_DEPENDS= 7zz:archivers/7-zip
ARJ_DESC= ARJ archive support
ARJ_RUN_DEPENDS= arj:archivers/arj
LZO_RUN_DEPENDS= lzop:archivers/lzop
RAR_DESC= RAR archive support
RAR_RUN_DEPENDS= rar:archivers/rar \
unrar:archivers/unrar
ZIP_DESC= ZIP archive support
ZIP_RUN_DEPENDS= zip:archivers/zip
NAUTILUS_DESC= Nautilus context menu actions
NAUTILUS_USE= GNOME=nautilus3
NAUTILUS_MESON_ENABLED= nautilus-actions
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/fr-command-tar.c \
${WRKSRC}/src/fr-command-zip.c
@${REINPLACE_CMD} -e 's|"7z"|"7zz"|g' \
${WRKSRC}/src/fr-archive-libarchive.c \
${WRKSRC}/src/fr-command-7z.c \
${WRKSRC}/src/fr-command-tar.c
.include <bsd.port.mk>
|