Opened 15 years ago
Last modified 6 years ago
#23556 new submission
springrts portfile submission
Reported by: | pepijndevos@… | Owned by: | macports-tickets@… |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 1.8.2 |
Keywords: | Cc: | chrstphrchvz (Christopher Chavez) | |
Port: | springrts |
Description
I have successfully created a port for the Spring RTS.
This is my first portfile, but it works fine, and I'd like it to be added to Macports.
The second patch is a little fuzzy, is that a problem?
Attachments (7)
Change History (18)
Changed 15 years ago by pepijndevos@…
Attachment: | patch-Platform-errorhandler.cpp.diff added |
---|
Changed 15 years ago by pepijndevos@…
Attachment: | patch-file-extension.diff added |
---|
Changed 15 years ago by pepijndevos@…
Attachment: | Spring.applescript added |
---|
comment:1 Changed 15 years ago by pepijndevos@…
comment:2 follow-up: 4 Changed 15 years ago by mf2k (Frank Schima)
Can python26 be used instead of python25? We are trying to move away from the older version.
comment:3 Changed 15 years ago by pepijndevos@…
The dependencies list 2.5: http://springrts.com/wiki/Build_from_source#Full_list But they are listed as optional and for AI/bindings, so 2.6 might work as well, I'll contact a developer.
Anyway, I did not use python_select to activate the 2.5 version, so it just used the Mac supplied version if it used it at all I guess. Shall we just remove the Python dependency?
comment:4 Changed 15 years ago by pepijndevos@…
Replying to macsforever2000@…:
Can python26 be used instead of python25? We are trying to move away from the older version.
I'll remove it, but they've told me there's going to be a bugfix release soon, so I think it is wise to wait for that.
comment:5 follow-up: 6 Changed 15 years ago by raimue (Rainer Müller)
The post-activate ui_msg should be replaced with the notes
feature. Also, ${applications_dir} should be used instead of hardcoding /Applications/MacPorts.
notes " A convenient app bundle was created at ${applications_dir}/Spring.app, \ which can be used to launch Spring and to install maps/mods. "
comment:6 follow-up: 7 Changed 15 years ago by pepijndevos@…
Replying to raimue@…:
The post-activate ui_msg should be replaced with the
notes
feature. Also, ${applications_dir} should be used instead of hardcoding /Applications/MacPorts.notes " A convenient app bundle was created at ${applications_dir}/Spring.app, \ which can be used to launch Spring and to install maps/mods. "
Thanks, I'll incorporate those into the next portfile. The next version should be out soon, and my testing shows all the patches includes in this one are no longer needed, how do I remove them from this ticket?
comment:7 Changed 15 years ago by mf2k (Frank Schima)
Replying to pepijndevos@…:
The next version should be out soon, and my testing shows all the patches includes in this one are no longer needed, how do I remove them from this ticket?
You cannot remove attached files. You can only update them. So just update the portfile and now we know not to add them to svn.
Changed 15 years ago by pepijndevos@…
Changed 15 years ago by pepijndevos@…
Attachment: | platform-misc-cpp.diff added |
---|
comment:8 Changed 15 years ago by pepijndevos@…
0.81.2 is out and working, with 2 patch files, Python has been removed.
Thanks
comment:9 Changed 14 years ago by jmroot (Joshua Root)
I was going to commit this, but I couldn't get it to install. Attaching an updated portfile with these important changes anyway:
- Fixed the post-destroot code creating the app outside the destroot
- Using ${prefix} in the applescript instead of hardcoding /opt/local
- Ensuring that macports' SDL is used
- Added some missing xorg dependencies
- Added a checksum type other than md5
Changed 14 years ago by jmroot (Joshua Root)
Changed 14 years ago by jmroot (Joshua Root)
Attachment: | Spring.2.applescript added |
---|
comment:10 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
I think #25550 should be merged into this ticket.
Is there still any interest in adding a port for this? Spring RTS is still actively developed.
comment:11 Changed 6 years ago by chrstphrchvz (Christopher Chavez)
Cc: | chrstphrchvz added |
---|
I updated the portfile with an applescript that acts as a proxy between a familiar app bundle and the real unix binary. Double-click to run, drag maps or mods onto it to install them.