# $MidnightBSD: trunk/archivers/squeeze/Makefile 21105 2016-03-12 01:48:50Z laffer1 $
# $FreeBSD: ports/archivers/squeeze/Makefile,v 1.6 2011/11/09 15:25:23 miwi Exp $

PORTNAME=	squeeze
PORTVERSION=	0.2.3
PORTREVISION=	3
CATEGORIES=	archivers xfce
MASTER_SITES=	${MASTER_SITE_XFCE}
MASTER_SITE_SUBDIR=	src/apps/${PORTNAME}/${PORTVERSION:R}
DIST_SUBDIR=	xfce4

MAINTAINER=	ports@MidnightBSD.org
COMMENT=	Squeeze is a modern and advanced archive manager

LICENSE=	gpl2

LIB_DEPENDS=	libthunar-vfs-1.so:${PORTSDIR}/x11-fm/thunar-vfs

GNU_CONFIGURE=	yes
INSTALLS_ICONS=	yes

USES=		tar:bzip2 pkgconfig gmake gettext pathfix desktop-file-utils libtool
USE_XFCE=	libutil thunar
USE_XORG=	x11
USE_GNOME=	gtk20 glib20 intltool intlhack
USE_LDCONFIG=	yes

OPTIONS_DEFINE=	DOCS
OPTIONS_SUB=	yes

.include <bsd.mport.options.mk>

post-patch:
# Needed to remove gtk-doc installation
.if empty(PORT_OPTIONS:MDOCS)
	@${REINPLACE_CMD} -e "s|docs||g" ${WRKSRC}/Makefile.in
.endif

.include <bsd.port.mk>
