#38240: Port request: Tiled ----------------------+-------------------------------- Reporter: egall@… | Owner: macports-tickets@… Type: request | Status: new Priority: Normal | Milestone: Component: ports | Version: 2.1.3 Resolution: | Keywords: Port: tiled | ----------------------+-------------------------------- Comment (by ryandesign@…): Replying to [ticket:38240 egall@…]:
{{{ license {BSD GPL-2 LGPLv2} }}}
The separator between license name and version should be "-" not "v".
{{{ # sourceforge project name is different from port name, so not using sourceforge fetch group master_sites http://sourceforge.net/projects/tiled/files/tiled- qt/${version}/ }}}
It looks the same. If it isn't, you use "sourceforce:projectname". Better yet, use the complete path within SourceForge as explained in wiki:howto/AvoidRedirects.
{{{ # Have to specify the .tar.gz dist because otherwise it might grab the .dmg binary # (note: haven't actually tested this; just speculating) distname ${name}-qt-${version}.tar.gz }}}
`distname` must be without suffix. To construct `distfiles`, `extract.suffix` is appended to each `distname`. There isn't any ambiguity about what MacPorts will do; it's quite straightforward.
(I did'''n't''' make this an attachment because it's incomplete and I do'''n't''' want anyone to try using it as an actual portfile as is)
If you could let us know what problems you encountered that might help us finish the port. -- Ticket URL: <https://trac.macports.org/ticket/38240#comment:1> MacPorts <http://www.macports.org/> Ports system for Mac OS