aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/worker/Makefile
blob: 3299b9047d1bbd6df3381f822b8108f53e167eaf (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
# Created by: Simon Dick <simond@irrelevant.org>
# $FreeBSD$

PORTNAME=   worker
PORTVERSION=    3.5.2
CATEGORIES= x11-fm
MASTER_SITES=   http://www.boomerangsworld.de/cms/worker/downloads/
EXTRACT_ONLY=   ${DISTNAME}${EXTRACT_SUFX}

MAINTAINER= mp39590@gmail.com
COMMENT=    X11 File Manager based on Directory Opus

LICENSE=    GPLv2

RUN_DEPENDS+=   bash:${PORTSDIR}/shells/bash

GNU_CONFIGURE=  yes
USE_XORG=   x11
USE_GCC=    yes

USES=   shebangfix tar:bzip2
SHEBANG_FILES=  ${WRKSRC}/scripts/*.sh \
        ${WRKSRC}/scripts/xeditor

CFLAGS+=    ${PTHREAD_CFLAGS}

OPTIONS_DEFINE= XFT

XFT_CONFIGURE_ENABLE=   xft
XFT_USE=    XORG=xft

pre-configure:
    @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
        ${WRKSRC}/configure

.include <bsd.port.mk>