Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 3 Feb 2013 23:35:27 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r311521 - head/devel/py-ode
Message-ID:  <201302032335.r13NZRMW088121@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Sun Feb  3 23:35:27 2013
New Revision: 311521
URL: http://svnweb.freebsd.org/changeset/ports/311521

Log:
  - Trim header
  - OptionsNG

Modified:
  head/devel/py-ode/Makefile

Modified: head/devel/py-ode/Makefile
==============================================================================
--- head/devel/py-ode/Makefile	Sun Feb  3 23:33:55 2013	(r311520)
+++ head/devel/py-ode/Makefile	Sun Feb  3 23:35:27 2013	(r311521)
@@ -1,9 +1,5 @@
-# New ports collection makefile for:	py-ode
-# Date created:		26 Jan 2007
-# Whom:			Dmitry Marakasov <amdmi3@amdmi3.ru>
-#
+# Created by: Dmitry Marakasov <amdmi3@amdmi3.ru>
 # $FreeBSD$
-#
 
 PORTNAME=	ode
 PORTVERSION=	1.2.0
@@ -27,14 +23,16 @@ PYDISTUTILS_PKGNAME=	PyODE
 
 OPTIONSFILE=	${PORT_DBDIR}/py-${PORTNAME}/options
 
-OPTIONS=	TRIMESH	"Trimesh support (sync with OPCODE opt of devel/ode)"	on
+OPTIONS_DEFINE=	TRIMESH
+OPTIONS_DEFAULT=TRIMESH
+TRIMESH_DESC=	Trimesh support (sync with OPCODE opt of devel/ode)
 
-.include <bsd.port.pre.mk>
+.include <bsd.port.options.mk>
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|' ${WRKSRC}/setup.py
-.if defined(WITHOUT_TRIMESH)
+.if ! ${PORT_OPTIONS:MTRIMESH}
 	@${REINPLACE_CMD} -e '/TRIMESH_ENABLE/ s|True|False|' ${WRKSRC}/setup.py
 .endif
 
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201302032335.r13NZRMW088121>