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
|
2000-12-11 09:43:51 +00:00
|
|
|
PORTREVISION= 1
|
1999-09-19 20:07:04 +00:00
|
|
|
CATEGORIES= x11-toolkits python
|
2000-10-22 16:48:33 +00:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
2000-12-11 09:43:51 +00:00
|
|
|
MASTER_SITE_SUBDIR= wxpython
|
2000-04-10 01:11:24 +00:00
|
|
|
DISTNAME= wxPython-${PORTVERSION}
|
1999-09-19 20:07:04 +00:00
|
|
|
|
|
|
|
MAINTAINER= nectar@FreeBSD.ORG
|
|
|
|
|
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
|
|
|
|
2000-10-05 06:42:57 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
USE_NEWGCC= yes
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_GTK= yes
|
2000-12-11 09:43:51 +00:00
|
|
|
INSTALLS_SHLIB= yes
|
|
|
|
MAKE_ENV= LN_S="${LN} -s" \
|
|
|
|
CXX="${CXX}" \
|
|
|
|
SYSCFLAGS="`${GTK_CONFIG} --cflags`" \
|
|
|
|
SYSLFLAGS="`${GTK_CONFIG} --libs` -L${WRKSRC}/src" \
|
|
|
|
_TARGETDIR="${PYTHON_SITELIBDIR}/wxPython" \
|
|
|
|
_HELPERLIBDIR="${PREFIX}/lib" \
|
|
|
|
WRKSRC="${WRKSRC}"
|
1999-09-19 20:07:04 +00:00
|
|
|
ALL_TARGET= default
|
|
|
|
INSTALL_TARGET= install-freebsd
|
|
|
|
|
|
|
|
do-configure:
|
2000-12-11 09:43:51 +00:00
|
|
|
${CP} ${FILESDIR}/build.local ${WRKSRC}/src/build.local
|
|
|
|
${CP} ${FILESDIR}/build.local.stc ${WRKSRC}/contrib/stc/build.local
|
|
|
|
${CP} ${FILESDIR}/build.local.ogl ${WRKSRC}/contrib/ogl/build.local
|
|
|
|
cd ${WRKSRC}/src && ../distrib/build.py
|
|
|
|
cd ${WRKSRC}/contrib/stc && ../../distrib/build.py
|
|
|
|
cd ${WRKSRC}/contrib/ogl && ../../distrib/build.py
|
1999-09-19 20:07:04 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|