aboutsummaryrefslogtreecommitdiffstats
path: root/x11-fm/worker/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/worker/Makefile')
-rw-r--r--x11-fm/worker/Makefile12
1 files changed, 10 insertions, 2 deletions
diff --git a/x11-fm/worker/Makefile b/x11-fm/worker/Makefile
index 1f88fe1abab..89f1576c859 100644
--- a/x11-fm/worker/Makefile
+++ b/x11-fm/worker/Makefile
@@ -6,13 +6,15 @@
#
PORTNAME= worker
-PORTVERSION= 2.14.1
+PORTVERSION= 2.14.2
CATEGORIES= x11-fm
MASTER_SITES= http://www.boomerangsworld.de/worker/downloads/
MAINTAINER= simond@irrelevant.org
COMMENT= X11 File Manager based on Directory Opus
+RUN_DEPENDS+= bash:${PORTSDIR}/shells/bash
+
GNU_CONFIGURE= yes
USE_XLIB= yes
USE_BZIP2= yes
@@ -21,7 +23,7 @@ MANLANG= "" fr it
MAN1= worker.1
CFLAGS+= ${PTHREAD_CFLAGS}
-CONFIGURE_ARGS= --disable-libxpkmaster
+CONFIGURE_ARGS= --disable-libxpkmaster --mandir=${MANPREFIX}/man
.include <bsd.port.pre.mk>
@@ -33,4 +35,10 @@ pre-configure:
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
${WRKSRC}/configure
+post-patch:
+.for file in aa.pattern_rename.sh cd2flac.sh cd2mp3.sh cd2ogg.sh cd2wav.sh xeditor
+ ${REINPLACE_CMD} -e 's|/bin/bash|/usr/local/bin/bash|g' \
+ ${WRKSRC}/scripts/${file}
+.endfor
+
.include <bsd.port.post.mk>