Changeset View
Changeset View
Standalone View
Standalone View
head/archivers/xarchiver/Makefile
# Created by: Andreev Maxim | # Created by: Andreev Maxim | ||||
# $FreeBSD$ | # $FreeBSD$ | ||||
PORTNAME= xarchiver | PORTNAME= xarchiver | ||||
PORTVERSION= 0.5.4.7 | PORTVERSION= 0.5.4.15 | ||||
CATEGORIES= archivers | CATEGORIES= archivers | ||||
MAINTAINER= danilo@FreeBSD.org | MAINTAINER= danilo@FreeBSD.org | ||||
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools | COMMENT= Desktop-agnostic GTK frontend to various archiving tools | ||||
LICENSE= GPLv2+ | LICENSE= GPLv2+ | ||||
LICENSE_FILE= ${WRKSRC}/COPYING | LICENSE_FILE= ${WRKSRC}/COPYING | ||||
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ | LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \ | ||||
libfreetype.so:print/freetype2 | libfreetype.so:print/freetype2 | ||||
RUN_DEPENDS= xdg-open:devel/xdg-utils \ | RUN_DEPENDS= 7zr:archivers/p7zip \ | ||||
7zr:archivers/p7zip \ | gtar:archivers/gtar \ | ||||
zip:archivers/zip \ | gzip:archivers/gzip \ | ||||
zipinfo:archivers/unzip | ${LOCALBASE}/bin/unzip:archivers/unzip \ | ||||
xdg-open:devel/xdg-utils \ | |||||
zip:archivers/zip | |||||
USES= desktop-file-utils gmake gnome pkgconfig | USES= desktop-file-utils gmake gnome pkgconfig | ||||
USE_GITHUB= yes | USE_GITHUB= yes | ||||
GH_ACCOUNT= ib | GH_ACCOUNT= ib | ||||
USE_GNOME= cairo glib20 intltool | USE_GNOME= cairo glib20 intltool | ||||
GNU_CONFIGURE= yes | GNU_CONFIGURE= yes | ||||
INSTALLS_ICONS= yes | INSTALLS_ICONS= yes | ||||
OPTIONS_DEFINE= DOCS NLS | OPTIONS_DEFINE= DOCS NLS | ||||
OPTIONS_GROUP= FORMATS | OPTIONS_GROUP= FORMATS | ||||
OPTIONS_GROUP_FORMATS= ARJ LZO RAR | OPTIONS_GROUP_FORMATS= ARJ LZO RAR | ||||
OPTIONS_SINGLE= GTK | OPTIONS_SINGLE= GTK | ||||
OPTIONS_SINGLE_GTK= GTK2 GTK3 | OPTIONS_SINGLE_GTK= GTK2 GTK3 | ||||
OPTIONS_DEFAULT= GTK2 | OPTIONS_DEFAULT= GTK3 | ||||
OPTIONS_SUB= yes | OPTIONS_SUB= yes | ||||
FORMATS_DESC= Additional compression formats support | FORMATS_DESC= Additional compression formats support | ||||
ARJ_DESC= ARJ compression support | ARJ_DESC= ARJ compression support | ||||
LZO_DESC= LZO compression support | LZO_DESC= LZO compression support | ||||
RAR_DESC= RAR compression support | RAR_DESC= RAR compression support | ||||
ARJ_RUN_DEPENDS= arj:archivers/arj | ARJ_RUN_DEPENDS= arj:archivers/arj | ||||
LZO_RUN_DEPENDS= lzop:archivers/lzop | LZO_RUN_DEPENDS= lzop:archivers/lzop | ||||
RAR_RUN_DEPENDS= unrar:archivers/unrar \ | RAR_RUN_DEPENDS= unrar:archivers/unrar \ | ||||
rar:archivers/rar | rar:archivers/rar | ||||
DOCS_USE= GNOME=libxslt | |||||
GTK2_CONFIGURE_ENABLE= gtk2 | GTK2_CONFIGURE_ENABLE= gtk2 | ||||
GTK2_USE= GNOME=gtk20 | GTK2_USE= GNOME=gtk20 | ||||
GTK3_USE= GNOME=gtk30 | GTK3_USE= GNOME=gtk30 | ||||
NLS_USES= gettext localbase | NLS_USES= gettext localbase | ||||
NLS_USES_OFF= gettext-tools | NLS_USES_OFF= gettext-tools | ||||
post-patch: | |||||
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ | |||||
${WRKSRC}/src/main.c | |||||
post-patch-DOCS-off: | post-patch-DOCS-off: | ||||
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in | ||||
post-patch-NLS-off: | post-patch-NLS-off: | ||||
@${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in | @${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in | ||||
.include <bsd.port.mk> | .include <bsd.port.mk> |