aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/worker/Makefile
blob: e25a58ef2354af293069f5730dfc877901afb93a (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
49
50
# New ports collection makefile for:    worker
# Date created:             14 March 2001
# Whom:                 Simon Dick <simond@irrelevant.org>
#
# $FreeBSD$
#

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

MAINTAINER= simond@irrelevant.org
COMMENT=    X11 File Manager based on Directory Opus

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

GNU_CONFIGURE=  yes
USE_XORG=   x11
USE_BZIP2=  yes

MANLANG=    "" fr it
MAN1=       worker.1

CFLAGS+=    ${PTHREAD_CFLAGS}
OPTIONS_DEFINE= XFT

.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MXFT}
USE_XORG+=  xft
CONFIGURE_ARGS+=    --enable-xft
.endif

verify: checksum
    gpg --verify ${DISTDIR}/${DISTNAME}${EXTRACT_SUFX}.asc

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

post-patch:
.for f in aa.pattern_rename.sh cd2flac.sh cd2mp3.sh cd2ogg.sh cd2wav.sh xeditor
    ${REINPLACE_CMD} -e 's|/bin/bash|${LOCALBASE}/bin/bash|g' \
        ${WRKSRC}/scripts/${f}
.endfor

.include <bsd.port.mk>