2007-01-28 01:29:25 +01:00
|
|
|
# New ports collection makefile for: py-ode
|
|
|
|
# Date created: 26 Jan 2007
|
|
|
|
# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ode
|
2007-04-03 16:10:46 +02:00
|
|
|
PORTVERSION= 1.2.0
|
2007-05-19 22:36:56 +02:00
|
|
|
PORTREVISION= 1
|
2007-01-28 01:29:25 +01:00
|
|
|
CATEGORIES= devel python
|
2007-04-03 16:10:46 +02:00
|
|
|
MASTER_SITES= SF
|
2007-01-28 01:29:25 +01:00
|
|
|
MASTER_SITE_SUBDIR= pyode
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= PyODE-${PORTVERSION}
|
|
|
|
DIST_SUBDIR= python
|
|
|
|
|
|
|
|
MAINTAINER= amdmi3@amdmi3.ru
|
|
|
|
COMMENT= Python bindings for The Open Dynamics Engine
|
|
|
|
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode
|
2007-01-28 01:29:25 +01:00
|
|
|
|
|
|
|
USE_BZIP2= yes
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS=yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= PyODE
|
2007-01-28 01:29:25 +01:00
|
|
|
|
2007-04-03 16:10:46 +02:00
|
|
|
OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options
|
|
|
|
|
|
|
|
OPTIONS= TRIMESH "Trimesh support (sync with OPCODE opt of devel/ode)" on
|
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2007-01-28 01:29:25 +01:00
|
|
|
post-patch:
|
- Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+
Thanks to all Helpers:
Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
ehaupt, nox, itetcu, flz, pav
PR: 116263
Tested on: pointyhat
Approved by: portmgr (pav)
2008-04-19 19:56:05 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/setup.py
|
2007-04-03 16:10:46 +02:00
|
|
|
.if defined(WITHOUT_TRIMESH)
|
|
|
|
@${REINPLACE_CMD} -e '/TRIMESH_ENABLE/ s|True|False|' ${WRKSRC}/setup.py
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|