#1932: UPDATE: ode-0.5 (again) -----------------------------+-------------------- Reporter: sleepinghead@… | Owner: mww@… Type: update | Status: closed Priority: Normal | Milestone: Component: ports | Version: 1.0 Resolution: fixed | Keywords: Port: ode | -----------------------------+-------------------- Changes (by ryandesign@…): * type: defect => update * port: => ode Old description:
An improved version of my previous attempt at an update. patch- configurator.c.diff is no longer necessary; I've also added a variant that enables the opcode library. Diff inline:
Index: Portfile =============================================================== ==== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/ode/Portfile,v retrieving revision 1.1 diff -u -r1.1 Portfile --- Portfile 21 Mar 2004 13:34:25 -0000 1.1 +++ Portfile 11 Jun 2004 23:14:35 -0000 @@ -3,7 +3,7 @@ PortSystem 1.0
name ode -version 0.039 +version 0.5 categories devel platforms darwin maintainers mww@opendarwin.org @@ -17,11 +17,10 @@
homepage http://opende.sourceforge.net/ master_sites sourceforge:opende -checksums md5 5a6675043791dc432eb56c58d87f6180 +checksums md5 b33b21e04ee9661f27802b6b6c8eefd2 extract.suffix .tgz patchfiles patch-drawstuff.cpp.diff \ - patch-user-settings.diff \ - patch-configurator.c.diff + patch-user-settings.diff
depends_lib lib:libGL:XFree86
@@ -33,6 +32,13 @@ xinstall -d -m 755 ${destroot}${prefix}/include \ ${destroot}${prefix}/lib file copy ${worksrcpath}/include/ode ${destroot}${prefix}/include + file copy ${worksrcpath}/include/drawstuff ${destroot}${prefix}/include xinstall -m 644 -W ${worksrcpath}/lib libode.a libdrawstuff.a \ ${destroot}${prefix}/lib + system "ranlib ${destroot}${prefix}/lib/libode.a" + system "ranlib ${destroot}${prefix}/lib/libdrawstuff.a" +} + +variant opcode { + patchfiles-append patch-user-settings-opcode.diff }
New description: An improved version of my previous attempt at an update. patch- configurator.c.diff is no longer necessary; I've also added a variant that enables the opcode library. Diff inline: {{{ Index: Portfile =================================================================== RCS file: /Volumes/src/cvs/od/proj/darwinports/dports/devel/ode/Portfile,v retrieving revision 1.1 diff -u -r1.1 Portfile --- Portfile 21 Mar 2004 13:34:25 -0000 1.1 +++ Portfile 11 Jun 2004 23:14:35 -0000 @@ -3,7 +3,7 @@ PortSystem 1.0 name ode -version 0.039 +version 0.5 categories devel platforms darwin maintainers mww@opendarwin.org @@ -17,11 +17,10 @@ homepage http://opende.sourceforge.net/ master_sites sourceforge:opende -checksums md5 5a6675043791dc432eb56c58d87f6180 +checksums md5 b33b21e04ee9661f27802b6b6c8eefd2 extract.suffix .tgz patchfiles patch-drawstuff.cpp.diff \ - patch-user-settings.diff \ - patch-configurator.c.diff + patch-user-settings.diff depends_lib lib:libGL:XFree86 @@ -33,6 +32,13 @@ xinstall -d -m 755 ${destroot}${prefix}/include \ ${destroot}${prefix}/lib file copy ${worksrcpath}/include/ode ${destroot}${prefix}/include + file copy ${worksrcpath}/include/drawstuff ${destroot}${prefix}/include xinstall -m 644 -W ${worksrcpath}/lib libode.a libdrawstuff.a \ ${destroot}${prefix}/lib + system "ranlib ${destroot}${prefix}/lib/libode.a" + system "ranlib ${destroot}${prefix}/lib/libdrawstuff.a" +} + +variant opcode { + patchfiles-append patch-user-settings-opcode.diff } }}} -- -- Ticket URL: <https://trac.macports.org/ticket/1932#comment:2> MacPorts <https://www.macports.org/> Ports system for OS X