2011-09-16 08:29:12 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.13 2011/09/16 12:29:17 espie Exp $
|
2006-10-17 06:04:16 -04:00
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
|
2007-09-15 16:04:18 -04:00
|
|
|
COMMENT= Python bindings for wxWidgets C++ class library
|
2006-10-17 06:04:16 -04:00
|
|
|
|
2011-05-22 04:21:34 -04:00
|
|
|
V= 2.8.12.0
|
2011-09-16 08:29:12 -04:00
|
|
|
REVISION= 1
|
2007-10-23 07:45:14 -04:00
|
|
|
DISTNAME= wxPython-src-$V
|
2010-07-30 02:58:57 -04:00
|
|
|
PKGNAME= py-wxPython-$V
|
2006-10-17 06:04:16 -04:00
|
|
|
CATEGORIES= x11 devel
|
|
|
|
|
|
|
|
HOMEPAGE= http://www.wxpython.org/
|
|
|
|
|
|
|
|
MAINTAINER= Aleksander Piotrowski <alek@openbsd.org>
|
|
|
|
|
|
|
|
# modified LGPL
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=wxpython/}
|
2007-10-23 07:45:14 -04:00
|
|
|
EXTRACT_SUFX= .tar.bz2
|
2006-10-17 06:04:16 -04:00
|
|
|
|
|
|
|
MODULES= lang/python
|
2011-05-22 04:21:34 -04:00
|
|
|
LIB_DEPENDS= x11/wxWidgets>=2.8.12
|
2010-11-06 19:49:19 -04:00
|
|
|
WANTLIB += wx_gtk2_aui wx_gtk2_richtext wx_gtk2_gizmos wx_gtk2_stc \
|
|
|
|
wx_base_xml wx_gtk2_qa wx_base_odbc wx_gtk2_html \
|
|
|
|
wx_gtk2_gl wx_base wx_gtk2_adv wx_gtk2_xrc wx_gtk2_core \
|
2011-05-22 04:21:34 -04:00
|
|
|
wx_base_net wx_gtk2_dbgrid m stdc++
|
2006-10-17 06:04:16 -04:00
|
|
|
|
|
|
|
WRKSRC= ${WRKDIST}/wxPython
|
2011-05-22 04:21:34 -04:00
|
|
|
|
|
|
|
SUBST_VARS += WRKINST
|
|
|
|
|
2006-10-17 06:04:16 -04:00
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
pre-build:
|
2011-05-22 04:21:34 -04:00
|
|
|
${SUBST_CMD} ${WRKSRC}/config.py
|
2006-10-17 06:04:16 -04:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-wxPython
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-wxPython/demo
|
|
|
|
cd ${WRKSRC}/demo; tar -cf - * | \
|
|
|
|
(cd ${PREFIX}/share/examples/py-wxPython/demo; tar -xf -)
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/py-wxPython/samples
|
|
|
|
cd ${WRKSRC}/samples; tar -cf - * | \
|
|
|
|
(cd ${PREFIX}/share/examples/py-wxPython/samples; tar -xf -)
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|