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