1999-09-19 20:07:04 +00:00
|
|
|
# New ports collection makefile for: wxPython
|
|
|
|
# Date created: September 18, 1999
|
|
|
|
# Whom: nectar@FreeBSD.ORG
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
2000-04-10 01:11:24 +00:00
|
|
|
PORTNAME= py-wxPython
|
2000-09-10 22:08:15 +00:00
|
|
|
PORTVERSION= 2.2.1
|
1999-09-19 20:07:04 +00:00
|
|
|
CATEGORIES= x11-toolkits python
|
2000-06-20 13:37:39 +00:00
|
|
|
MASTER_SITES= http://alldunn.com/wxPython/dist/
|
2000-04-10 01:11:24 +00:00
|
|
|
DISTNAME= wxPython-${PORTVERSION}
|
1999-09-19 20:07:04 +00:00
|
|
|
|
|
|
|
MAINTAINER= nectar@FreeBSD.ORG
|
|
|
|
|
2000-10-02 17:04:07 +00:00
|
|
|
BUILD_DEPENDS= wx-config:${PORTSDIR}/x11-toolkits/wxgtk
|
2000-01-16 19:15:26 +00:00
|
|
|
LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk
|
1999-09-19 20:07:04 +00:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIR}/${DISTNAME}/src
|
|
|
|
|
2000-10-05 06:42:57 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_NEWGCC= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_GTK= yes
|
1999-09-19 20:07:04 +00:00
|
|
|
MAKE_ENV= "LN_S=${LN} -s" "INSTALL_DATA=${INSTALL_DATA}"
|
|
|
|
ALL_TARGET= default
|
|
|
|
INSTALL_TARGET= install-freebsd
|
|
|
|
|
2000-01-16 19:15:26 +00:00
|
|
|
TARGETDIR= ${PREFIX}/lib/python1.5/site-packages/wxPython
|
2000-10-02 03:14:25 +00:00
|
|
|
TARGETDIR= ${PYTHON_SITELIBDIR}/wxPython
|
2000-01-16 19:15:26 +00:00
|
|
|
HELPERLIBDIR= ${PREFIX}/lib
|
1999-09-19 20:07:04 +00:00
|
|
|
|
|
|
|
do-configure:
|
2000-10-05 06:42:57 +00:00
|
|
|
${SED} -e "s:%CFLAGS%:${CFLAGS} `${GTK_CONFIG} --cflags`:" \
|
|
|
|
-e "s:%LFLAGS%:`${GTK_CONFIG} --libs` -L${WRKSRC}:" \
|
1999-09-19 20:07:04 +00:00
|
|
|
-e "s:%TARGETDIR%:${TARGETDIR}:" \
|
|
|
|
-e "s:%HELPERLIBDIR%:${HELPERLIBDIR}:" \
|
2000-01-16 19:15:26 +00:00
|
|
|
-e "s:%CXX%:${CXX}:" -e "s:%WRKSRC%:${WRKSRC}:" \
|
|
|
|
${FILESDIR}/build.local > ${WRKSRC}/../build.local
|
1999-09-19 20:07:04 +00:00
|
|
|
cd ${WRKSRC} && ../distrib/build.py
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|