Ticket #17900 (closed submission: fixed)
New Portfile for the physics library Chipmunk-4.1.0
| Reported by: | jonas.baehr@… | Owned by: | snc@… |
|---|---|---|---|
| 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
Change History
Changed 4 years ago by jonas.baehr@…
- Attachment chipmunk.tar.bz2 added
comment:1 Changed 4 years ago by snc@…
- Cc jonas.baehr@… removed
- Owner changed from macports-tickets@… to snc@…
- Status changed from new to assigned
- Keywords game physics ruby removed
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 4 years ago by snc@…
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.
comment:3 follow-up: ↓ 4 Changed 4 years ago by jmr@…
You might like to use the cmake portgroup, which would allow this portfile to be simplified even further.
comment:4 in reply to: ↑ 3 ; follow-up: ↓ 5 Changed 4 years ago by snc@…
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 in reply to: ↑ 4 Changed 4 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 4 years ago by snc@…
- Attachment Portfile.2 added
portfile changes based on PortGroup cmake 1.0.
comment:6 Changed 4 years ago by snc@…
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 4 years ago by snc@…
Some changes I've made this morning:
distname => Chipmunk-${version} #worksrcpath
the demos variant works
Changed 4 years ago by snc@…
- Attachment Portfile.3 added
previously noted changes and added depends_lib-append port:ruby to +ruby
comment:8 Changed 4 years ago by snc@…
- Status changed from assigned to closed
- Resolution set to fixed
Compiled and the demo ran.
Committed as r46735.
comment:10 Changed 4 years ago by anonymous
- Milestone Port Submissions deleted
Milestone Port Submissions deleted


Portfile and patches for chipmunk