diff options
author | pav <pav@FreeBSD.org> | 2006-12-01 15:39:02 +0800 |
---|---|---|
committer | pav <pav@FreeBSD.org> | 2006-12-01 15:39:02 +0800 |
commit | 92d21b3194c49cedf08339e7514171807a9c6196 (patch) | |
tree | 9c146b3b2fdea9918389f3184052481e51ccf2f9 /x11-fm/jaffm | |
parent | 977deb3eb313758a6e81aa2d1d05565d53d51455 (diff) | |
download | freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.tar.gz freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.tar.zst freebsd-ports-gnome-92d21b3194c49cedf08339e7514171807a9c6196.zip |
- Use features of bsd.wx.mk, especially USE_WX
PR: ports/101613
Submitted by: alepulver
Diffstat (limited to 'x11-fm/jaffm')
-rw-r--r-- | x11-fm/jaffm/Makefile | 15 |
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 |