blob: 46d69cff5de29b41e4f4b49c657be7d9cb43f5aa (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
|
# New ports collection makefile for: wxPython
# Date created: September 18, 1999
# Whom: nectar@FreeBSD.ORG
#
# $FreeBSD$
#
PORTNAME= py-wxPython
PORTVERSION= 2.1.16
CATEGORIES= x11-toolkits python
MASTER_SITES= http://alldunn.com/wxPython/dist/ \
http://www.nectar.com/distfiles/
DISTNAME= wxPython-${PORTVERSION}
MAINTAINER= nectar@FreeBSD.ORG
BUILD_DEPENDS= python1.5:${PORTSDIR}/lang/python
LIB_DEPENDS= wx_gtk.2:${PORTSDIR}/x11-toolkits/wxgtk
RUN_DEPENDS= python1.5:${PORTSDIR}/lang/python
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_GMAKE= YES
USE_NEWGCC= YES
MAKE_ENV= "LN_S=${LN} -s" "INSTALL_DATA=${INSTALL_DATA}"
ALL_TARGET= default
INSTALL_TARGET= install-freebsd
TARGETDIR= ${PREFIX}/lib/python1.5/site-packages/wxPython
HELPERLIBDIR= ${PREFIX}/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}:" \
-e "s:%CXX%:${CXX}:" -e "s:%WRKSRC%:${WRKSRC}:" \
${FILESDIR}/build.local > ${WRKSRC}/../build.local
cd ${WRKSRC} && ../distrib/build.py
.include <bsd.port.mk>
|