summaryrefslogtreecommitdiff
path: root/x11-fm/worker/Makefile
blob: 14b3fe7db8a00ba900a7006980bcb65d5b7284d6 (plain)
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
49
50
51
52
53
54
55
# Created by: Simon Dick <simond@irrelevant.org>
# $FreeBSD$

PORTNAME=	worker
PORTVERSION=	4.0.0
PORTREVISION=	1
CATEGORIES=	x11-fm
MASTER_SITES=	http://www.boomerangsworld.de/cms/worker/downloads/

MAINTAINER=	mp39590@gmail.com
COMMENT=	X11 file manager based on Directory Opus of AmigaOS

LICENSE=	GPLv2+

RUN_DEPENDS=	bash:shells/bash

USES=		compiler:c++14-lang pkgconfig python:2.7 shebangfix tar:bzip2
GNU_CONFIGURE=	yes
USE_XORG=	x11 xinerama

SHEBANG_FILES=	${WRKSRC}/scripts/*.sh \
		${WRKSRC}/scripts/xeditor \
		${WRKSRC}/scripts/find_file_by_chksum.py

OPTIONS_DEFINE=	AVFS HAL INOTIFY LUA XFT
OPTIONS_DEFAULT=	AVFS INOTIFY XFT
OPTIONS_EXCLUDE_DragonFly=	AVFS

INOTIFY_DESC=	Monitor directory changes via libinotify
AVFS_DESC=	Use AVFS library to access archives

AVFS_LIB_DEPENDS=	libavfs.so:sysutils/avfs

HAL_LIB_DEPENDS=	libhal-storage.so:sysutils/hal \
			libdbus-glib-1.so:devel/dbus-glib \
			libdbus-1.so:devel/dbus
HAL_USE=	gnome=glib20 xorg=sm,ice
HAL_USES=	gettext-runtime

INOTIFY_LIB_DEPENDS=	libinotify.so:devel/libinotify
INOTIFY_LDFLAGS=	-L${LOCALBASE}/lib

LUA_CONFIGURE_OFF=	--disable-lua
LUA_USES=	lua:51

XFT_CONFIGURE_OFF=	--disable-xft
XFT_USE=	xorg=xft

.include <bsd.port.pre.mk>

.if ${CHOSEN_COMPILER_TYPE} == gcc
CXXFLAGS+=	-Wno-error=narrowing
.endif

.include <bsd.port.post.mk>