Opened 10 years ago

Last modified 10 years ago

#46860 assigned submission

Add EasySDL C lib

Reported by: nyuubi.10@… Owned by: ryandesign (Ryan Carsten Schmidt)
Priority: Normal Milestone:
Component: ports Version:
Keywords: Cc:
Port: EasySDL

Description

SDL lib, EasySDL permit to create program / game with SDL 1.2 easily.

Main repository: https://github.com/Ousret/EasySDL Pub: http://spitajoke.com/tahri/EasySDL/pub/

https://cloud.githubusercontent.com/assets/9326700/6200032/464c4492-b465-11e4-8ee4-559d7608826b.png

Attachments (1)

Portfile (1.0 KB) - added by nyuubi.10@… 10 years ago.
Lastest Portfile

Download all attachments as: .zip

Change History (7)

comment:1 Changed 10 years ago by nyuubi.10@…

Cc: nyuubi.10@… added

Cc Me!

comment:2 Changed 10 years ago by mf2k (Frank Schima)

Cc: nyuubi.10@… removed
Keywords: Simple SDL dev extended SDL API removed
Version: 2.3.3

Thanks. As reporter you do not need to Cc yourself.

A few observations:

  • The revision line should be removed because it starts at zero and that is the default.
  • This appears to use cmake and so it should use the cmake portgroup.

comment:3 Changed 10 years ago by nyuubi.10@…

Thank you for your answer, I've updated Portfile.

Now working.

Changed 10 years ago by nyuubi.10@…

Attachment: Portfile added

Lastest Portfile

comment:4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Owner: changed from macports-tickets@… to ryandesign@…
Status: newassigned

Thanks.

This line is not necessary because the github portgroup already does it for you:

depends_build		port:cmake

There were a few tabs in the Portfile that need to be converted to spaces.

The port does not configure or build because it extracts to a nonstandard directory name, which appears to be of the kind that github would produce. Did you just take a tarball from github and upload it to http://spitajoke.com/tahri/EasySDL/pub/? If so, it would be simpler to just have the port download from github directly, using the github portgroup, which knows how to deal with the unusual directory names in their downloads.

comment:5 in reply to:  4 Changed 10 years ago by ryandesign (Ryan Carsten Schmidt)

Replying to ryandesign@…:

it would be simpler to just have the port download from github directly, using the github portgroup, which knows how to deal with the unusual directory names in their downloads.

I see the problem with that idea: the Portfile is for version 0.6.1, but no 0.6.1 tag exists in the github repository. (A tag for 0.6.1-beta exists, however.) I assume you are also the developer of this software? If you have released the final non-beta version of 0.6.1, could you create a 0.6.1 tag in the repository? Then we'll have the port fetch its tarball from github.

comment:6 Changed 10 years ago by nyuubi.10@…

Github tag 0.6.1-beta mv to 0.6.1 And yes, github portgroup would be for the best.

Note: See TracTickets for help on using tickets.