Files
ports/archivers/file-roller/Makefile
Koop Mast 7f57e48d2d Update file-roller to 3.28.1.
* Add options for additional archive types [1]

Submitted by:	Alexandre C. Guimarães <lebarondemerde@privacychain.ch> [1]
2018-11-11 21:33:59 +00:00

69 lines
1.6 KiB
Makefile

# Created by: Anders Nordby <anders@FreeBSD.org>
# $FreeBSD$
PORTNAME= file-roller
PORTVERSION= 3.28.1
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= desktop-file-utils gettext gnome libarchive localbase \
meson pkgconfig python:3.5+,build tar:xz
USE_GNOME= cairo gtk30
INSTALLS_ICONS= yes
USE_LDCONFIG= yes
MESON_ARGS= -Dpackagekit=false
BINARY_ALIAS= python3=${PYTHON_VERSION}
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= 7z:archivers/p7zip
ARJ_DESC= ARJ archive support
ARJ_RUN_DEPENDS= arj:archivers/arj
LZO_DESC= LZO compression support
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_TRUE= nautilus-actions
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
${WRKSRC}/src/fr-command-tar.c \
${WRKSRC}/src/fr-command-zip.c
.include <bsd.port.mk>