summaryrefslogtreecommitdiffstats
path: root/x11-toolkits/py-wxPython28/Makefile
diff options
context:
space:
mode:
authornectar <nectar@FreeBSD.org>1999-09-19 20:07:04 +0000
committernectar <nectar@FreeBSD.org>1999-09-19 20:07:04 +0000
commit6a1ce958f5442a16e930f14e6b57f28ab64420a9 (patch)
tree0ebb32abf639a3cbda7a08d5dacbf3174e1b0217 /x11-toolkits/py-wxPython28/Makefile
parent835b47bdc27ae2393439ebbbbb64bb1e0e6c1499 (diff)
downloadFreeBSD-ports-6a1ce958f5442a16e930f14e6b57f28ab64420a9.zip
FreeBSD-ports-6a1ce958f5442a16e930f14e6b57f28ab64420a9.tar.gz
Python bindings for the wxWindows/GTK GUI toolkit.
Diffstat (limited to 'x11-toolkits/py-wxPython28/Makefile')
-rw-r--r--x11-toolkits/py-wxPython28/Makefile39
1 files changed, 39 insertions, 0 deletions
diff --git a/x11-toolkits/py-wxPython28/Makefile b/x11-toolkits/py-wxPython28/Makefile
new file mode 100644
index 0000000..daf2799
--- /dev/null
+++ b/x11-toolkits/py-wxPython28/Makefile
@@ -0,0 +1,39 @@
+# New ports collection makefile for: wxPython
+# Version required: 2.1b3
+# Date created: September 18, 1999
+# Whom: nectar@FreeBSD.ORG
+#
+# $FreeBSD$
+#
+
+DISTNAME= wxPython-2.1b3
+PKGNAME= py-wxPython-2.1b3
+CATEGORIES= x11-toolkits python
+MASTER_SITES= http://alldunn.com/wxPython/ \
+ http://www.nectar.com/distfiles/
+
+MAINTAINER= nectar@FreeBSD.ORG
+
+BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python
+LIB_DEPENDS= wx_gtk.1:${PORTSDIR}/x11-toolkits/wxgtk
+RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/src
+
+USE_GMAKE= YES
+MAKE_ENV= "LN_S=${LN} -s" "INSTALL_DATA=${INSTALL_DATA}"
+ALL_TARGET= default
+INSTALL_TARGET= install-freebsd
+
+TARGETDIR= ${LOCALBASE}/lib/python1.5/site-packages/wxPython
+HELPERLIBDIR= ${LOCALBASE}/lib
+
+do-configure:
+ ${SED} -e "s:%CFLAGS%:${CFLAGS} `gtk12-config --cflags`:" \
+ -e "s:%LFLAGS%:`gtk12-config --libs` -L${WRKSRC}:" \
+ -e "s:%TARGETDIR%:${TARGETDIR}:" \
+ -e "s:%HELPERLIBDIR%:${HELPERLIBDIR}:" \
+ ${FILESDIR}/build.local > ${WRKSRC}/build.local
+ cd ${WRKSRC} && ../distrib/build.py
+
+.include <bsd.port.mk>
OpenPOWER on IntegriCloud