#17900 closed submission (fixed)
New Portfile for the physics library Chipmunk-4.1.0
Reported by: | jonas.baehr@… | Owned by: | nerdling (Jeremy Lavergne) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.7.0 |
Keywords: | Cc: | ||
Port: | chipmunk |
Description
Hi,
I created a Portfile for the Chipmunk physics library. It comes with a demo application and ruby bindings (which both have to be activated by a variant) and installs a static and shard library incl. headers.
Attachments (4)
Change History (14)
Changed 16 years ago by jonas.baehr@…
Attachment: | chipmunk.tar.bz2 added |
---|
comment:1 Changed 16 years ago by nerdling (Jeremy Lavergne)
Cc: | jonas.baehr@… removed |
---|---|
Keywords: | game physics ruby removed |
Owner: | changed from macports-tickets@… to snc@… |
Status: | new → assigned |
While Verifying Portfile for Chipmunk:
Error: Missing required variable: long_description
Error: Portfile directory chipmunk does not match port name Chipmunk
Warning: Patchfile patch-Demo-CMakeLists.txt does not follow the source patch naming policy "patch-*.diff"
Warning: Patchfile patch-ruby-CMakeLists.txt does not follow the source patch naming policy "patch-*.diff"
Warning: Patchfile patch-CMakeLists.txt does not follow the source patch naming policy "patch-*.diff"
I'll fix these and post the updates for your review.
comment:2 Changed 16 years ago by nerdling (Jeremy Lavergne)
A lot of the values in your portfile are also defaults and need not be included… I'm going to try to get them all.
Changed 16 years ago by nerdling (Jeremy Lavergne)
removed defaults, added extract.suffix
comment:3 follow-up: 4 Changed 16 years ago by jmroot (Joshua Root)
You might like to use the cmake portgroup, which would allow this portfile to be simplified even further.
comment:4 follow-up: 5 Changed 16 years ago by nerdling (Jeremy Lavergne)
Replying to jmr@…:
You might like to use the cmake portgroup…
I cannot find the cmake portgroup on the guide nor the man page. Can you provide some insight so I know which portions can be yanked (as they become default values)?
comment:5 Changed 16 years ago by blb@…
Replying to snc@…:
I cannot find the cmake portgroup on the guide nor the man page. Can you provide some insight so I know which portions can be yanked (as they become default values)?
The group exists but currently is not documented, so your best bet for now is to look at what it sets.
Changed 16 years ago by nerdling (Jeremy Lavergne)
Attachment: | Portfile.2 added |
---|
portfile changes based on PortGroup cmake 1.0.
comment:6 Changed 16 years ago by nerdling (Jeremy Lavergne)
Jonas, et. al., can you look at the newest portfile and let me know if it's up to snuff? I'm not a cmake user so I'm unsure if the slightly-different flags were intentional.
If they're lookin' good I'll go ahead and commit.
comment:7 Changed 16 years ago by nerdling (Jeremy Lavergne)
Some changes I've made this morning:
distname => Chipmunk-${version} #worksrcpath
the demos variant works
Changed 16 years ago by nerdling (Jeremy Lavergne)
Attachment: | Portfile.3 added |
---|
previously noted changes and added depends_lib-append port:ruby to +ruby
comment:8 Changed 16 years ago by nerdling (Jeremy Lavergne)
Resolution: | → fixed |
---|---|
Status: | assigned → closed |
Compiled and the demo ran.
Committed as r46735.
comment:9 Changed 16 years ago by jmroot (Joshua Root)
Type: | enhancement → submission |
---|
comment:10 Changed 16 years ago by (none)
Milestone: | Port Submissions |
---|
Milestone Port Submissions deleted
Portfile and patches for chipmunk