summaryrefslogtreecommitdiff
path: root/x11-fm/entropyfm/Makefile
blob: 87804453621e5a8d6c427b43d68f6b5373ef24db (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
# New ports collection makefile for:	entropy
# Date created:		2006-08-14
# Whom:			Stanislav Sedov <ssedov@mbsd.msk.ru>
#
# $MBSDlabs$
# $FreeBSD$
#

PORTNAME=	entropyfm
PORTVERSION=	20080223
PORTREVISION=	0
CATEGORIES=	x11-fm
MASTER_SITES=	ftp://ftp.springdaemons.com/pub/snapshots/e17/
DISTNAME=	entropy-${PORTVERSION}

MAINTAINER=	stas@FreeBSD.org
COMMENT=	An EFL-based file manager

USE_BZIP2=	yes
USE_GMAKE=	yes
USE_GNOME=	gnomehack pkgconfig gnometarget
USE_EFL=	ecore etk ewl evfs imlib2 epsilon
USE_EFL_ECORE=	config
GNU_CONFIGURE=	yes

CFLAGS+=	"-L${LOCALBASE}/lib"

OPTIONS=	XTRACT "Enable metadata extraction via libextractor" on \
		PNG	"Enable png thumbnailing" on

DATADIR=	${PREFIX}/share/entropy

.include <bsd.port.pre.mk>

.if !defined(WITHOUT_XTRACT)
LIB_DEPENDS+=	extractor.2:${PORTSDIR}/textproc/libextractor
CONFIGURE_ARGS+=--enable-plugin-extractor
PLIST_SUB+=	EXTRACT=""
.else
CONFIGURE_ARGS+=--disable-plugin-extractor
PLIST_SUB+=	EXTRACT="@comment "
.endif

.if !defined(WITHOUT_PNG) || exists(${LOCALBASE}/lib/libpng.so.5)
LIB_DEPENDS+=	png.5:${PORTSDIR}/graphics/png
.endif

.include <bsd.port.post.mk>