aboutsummaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-12-01 07:39:02 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-12-01 07:39:02 +0000
commitd750615763ee2d3250de2115295079f66d813d1f (patch)
tree05b94e79be3ac272b9b617e50fc723ea52c6cf34 /x11-fm
parent767bcfc72cf9c3574739d745cff6620fa75b0e74 (diff)
downloadports-d750615763ee2d3250de2115295079f66d813d1f.tar.gz
ports-d750615763ee2d3250de2115295079f66d813d1f.zip
Notes
Diffstat (limited to 'x11-fm')
-rw-r--r--x11-fm/jaffm/Makefile15
1 files changed, 2 insertions, 13 deletions
diff --git a/x11-fm/jaffm/Makefile b/x11-fm/jaffm/Makefile
index c482ad5cd576..805b347a0a46 100644
--- a/x11-fm/jaffm/Makefile
+++ b/x11-fm/jaffm/Makefile
@@ -14,9 +14,8 @@ MASTER_SITES= http://binary.is/download/ \
MAINTAINER= shaun@FreeBSD.org
COMMENT= A lightweight file manager inspired by MacOS Finder
-WXGTK_VER?= 2.6
-
USE_BZIP2= yes
+USE_WX= 2.4-2.6
USE_X_PREFIX= yes
ALL_TARGET= ${PORTNAME}
@@ -24,19 +23,9 @@ PLIST_FILES= bin/${PORTNAME}
.include <bsd.port.pre.mk>
-.if ${WXGTK_VER} == "2.4" || \
- (exists(${X11BASE}/bin/wxgtk2-2.4-config) && \
- !exists(${X11BASE}/bin/wxgtk2-2.6-config))
-LIB_DEPENDS+= wx_gtk2_core-2.4.0:${PORTSDIR}/x11-toolkits/wxgtk24
-WXGTK_VER= 2.4
-.else
-LIB_DEPENDS+= wx_gtk2_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26
-WXGTK_VER= 2.6
-.endif
-
post-patch:
@${REINPLACE_CMD} -e 's#^PREFIX=.*#PREFIX=${PREFIX}#' \
- -e 's#$$(shell wx-config \(.*\))#`${X11BASE}/bin/wxgtk2-${WXGTK_VER}-config \1`#' \
+ -e 's#$$(shell wx-config \(.*\))#`${WX_CONFIG} \1`#' \
-e 's#^FLAGS=-ggdb#FLAGS=${CFLAGS}#' \
${WRKSRC}/Makefile