aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-12-01 15:39:02 +0800
committerpav <pav@FreeBSD.org>2006-12-01 15:39:02 +0800
commit92d21b3194c49cedf08339e7514171807a9c6196 (patch)
tree9c146b3b2fdea9918389f3184052481e51ccf2f9 /editors
parent977deb3eb313758a6e81aa2d1d05565d53d51455 (diff)
downloadfreebsd-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 'editors')
-rw-r--r--editors/poedit/Makefile6
-rw-r--r--editors/spe/Makefile10
2 files changed, 6 insertions, 10 deletions
diff --git a/editors/poedit/Makefile b/editors/poedit/Makefile
index e7b388016cc3..96469760adcb 100644
--- a/editors/poedit/Makefile
+++ b/editors/poedit/Makefile
@@ -17,14 +17,16 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Gettext catalogs (.po files) editor
BUILD_DEPENDS= zip:${PORTSDIR}/archivers/zip
-LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell \
- wx_gtk2u_core-2.6.0:${PORTSDIR}/x11-toolkits/wxgtk26-unicode
+LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
USE_GETTEXT= yes
USE_GMAKE= yes
USE_GNOME= gnometarget pkgconfig
USE_BDB= yes
WITH_BDB_HIGHEST= yes
+USE_WX= 2.6
+WX_CONF_ARGS= absolute
+WX_UNICODE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" \
LDFLAGS="${LDFLAGS}" \
diff --git a/editors/spe/Makefile b/editors/spe/Makefile
index 2c4432dde7f9..04bd7b0fc4a7 100644
--- a/editors/spe/Makefile
+++ b/editors/spe/Makefile
@@ -15,10 +15,10 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-wx2.6.1.0
MAINTAINER= nivit@email.it
COMMENT= Stani's Python Editor
-RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/${WX_PYTHON_DIR}/wxPython/_wx.py:${PORTSDIR}/x11-toolkits/py-wxPython26
-
USE_PYTHON= yes
USE_PYDISTUTILS= yes
+USE_WX= 2.6
+WX_COMPS= python
OPTIONS= ENCRYPTED_DEBUG "Enable encrypted debug in SPE" off
@@ -45,12 +45,6 @@ post-install:
.include <bsd.port.pre.mk>
-.if defined(WITH_UNICODE) && (${OSVERSION} > 500000)
-WX_PYTHON_DIR= wx-2.6-gtk2-unicode
-.else
-WX_PYTHON_DIR= wx-2.6-gtk2-ansi
-.endif
-
.if defined(WITH_ENCRYPTED_DEBUG)
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/Crypto/__init__.py:${PORTSDIR}/security/py-pycrypto
.endif