freebsd-ports/archivers/xarchiver/Makefile
Danilo Egea Gondolfo b3ee19566e - Replace '--touch' option with '-m'
- Fix '--use-compress-program' usage with bsdtar where needed
- Improve LZMA detection
- Add missing dependency to zipinfo (required to view contents of ZIP archives)
- Add ARJ and LZO options
- Sort USES
while here
- Add RAR option

PR:		203103
Submitted by:	Andriy Voskoboinyk <s3erios@gmail.com>
MFH:		2015Q3
2015-09-17 00:12:19 +00:00

49 lines
1.2 KiB
Makefile

# Created by: Andreev Maxim
# $FreeBSD$
PORTNAME= xarchiver
PORTVERSION= 0.5.4
PORTREVISION= 1
CATEGORIES= archivers
MASTER_SITES= SF/${PORTNAME:tl}
MAINTAINER= danilo@FreeBSD.org
COMMENT= Desktop-agnostic GTK+2 frontend to various archiving tools
LICENSE= GPLv2
RUN_DEPENDS= xdg-open:${PORTSDIR}/devel/xdg-utils \
7zr:${PORTSDIR}/archivers/p7zip \
zip:${PORTSDIR}/archivers/zip \
zipinfo:${PORTSDIR}/archivers/unzip
USES= desktop-file-utils gmake pkgconfig tar:bzip2
USE_GNOME= glib20 gtk20 intltool
GNU_CONFIGURE= yes
INSTALLS_ICONS= yes
OPTIONS_DEFINE= DOCS NLS
OPTIONS_GROUP= FORMATS
OPTIONS_GROUP_FORMATS= ARJ LZO RAR
OPTIONS_SUB= yes
FORMATS_DESC= Additional compression formats support
ARJ_DESC= ARJ compression support
LZO_DESC= LZO compression support
RAR_DESC= RAR compression support
ARJ_RUN_DEPENDS= arj:${PORTSDIR}/archivers/arj
LZO_RUN_DEPENDS= lzop:${PORTSDIR}/archivers/lzop
RAR_RUN_DEPENDS= unrar:${PORTSDIR}/archivers/unrar \
rar:${PORTSDIR}/archivers/rar
NLS_USES= gettext
NLS_CPPFLAGS+= -I${LOCALBASE}/include
NLS_LDFLAGS+= -L${LOCALBASE}/lib
post-patch-DOCS-off:
@${REINPLACE_CMD} -e 's|doc||g' ${WRKSRC}/Makefile.in
post-patch-NLS-off:
@${REINPLACE_CMD} -e 's| po | |g' ${WRKSRC}/Makefile.in
.include <bsd.port.mk>