diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-11 13:49:05 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2013-05-11 13:49:05 +0000 |
commit | b2259a909974739ce0115f783751532ba072e123 (patch) | |
tree | 49a9058687c46613437d48ef342bd3cd3963c552 /devel/ode-devel | |
parent | 8e333308211c2bdccff1ce35bd20137270945a6e (diff) | |
download | ports-b2259a909974739ce0115f783751532ba072e123.tar.gz ports-b2259a909974739ce0115f783751532ba072e123.zip |
Convert to new options framework
Notes
Notes:
svn path=/head/; revision=317876
Diffstat (limited to 'devel/ode-devel')
-rw-r--r-- | devel/ode-devel/Makefile | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/devel/ode-devel/Makefile b/devel/ode-devel/Makefile index da1908003e9f..800fdb238dcf 100644 --- a/devel/ode-devel/Makefile +++ b/devel/ode-devel/Makefile @@ -1,9 +1,5 @@ -# New ports collection makefile for: ode -# Date created: 11 Oct 2003 -# Whom: David Yeske <dyeske@yahoo.com> -# +# Created by: David Yeske <dyeske@yahoo.com> # $FreeBSD$ -# PORTNAME= ode DISTVERSION= ${ODEVER}-060223 @@ -24,7 +20,9 @@ USE_GL= yes USE_GMAKE= yes MAKE_JOBS_UNSAFE= yes -OPTIONS= OPCODE "Enable code required by TriList (trimesh) class" on +OPTIONS_DEFINE= OPCODE +OPTIONS_DEFAULT= OPCODE +OPCODE_DESC= Enable code required by TriList (trimesh) class .include <bsd.port.pre.mk> @@ -40,7 +38,7 @@ post-patch: s|-L/usr/lib/X11R6||; s|-L/usr/lib/X11||; s|-L/usr/X11R6/lib|-L${LOCALBASE}/lib|; \ s|-fno-rtti||; s|-ffast-math|${CXXFLAGS} -I${LOCALBASE}/include|' \ ${WRKSRC}/config/makefile.unix-gcc -.if !defined(WITHOUT_OPCODE) +.if ${PORT_OPTIONS:MOPCODE} @${REINPLACE_CMD} -e 's/^#OPCODE_DIRECTORY/OPCODE_DIRECTORY/' \ ${WRKSRC}/config/user-settings .endif |