Dealing with sourceforge master dir

Chris Rees crees at freebsd.org
Thu Jun 30 09:42:01 UTC 2011


On 30 June 2011 10:22, David Demelier <demelier.david at gmail.com> wrote:
> Hello,
>
> I'm trying to write a new port for the tiled application. It is hosted by
> sourceforge as you can see here :
>
> http://sourceforge.net/projects/tiled/
>
> But the download fails since the distfile is not in the usual directories :
>
> => Attempting to fetch
> http://kent.dl.sourceforge.net/project/tiled/tiled/0.6.2/tiled-qt-0.6.2.tar.gz
> ...
>
> PORTNAME=       tiled
> PORTVERSION=    0.6.2
> CATEGORIES=     devel
> DISTFILES=      ${PORTNAME}-qt-${PORTVERSION}.tar.gz
> MASTER_SITE=    SF
>
> This is the correct download page :
>
> http://sourceforge.net/projects/tiled/files/tiled-qt/0.6.2/tiled-qt-0.6.2.tar.gz/download
>
> How can I correct it?

Try MASTER_SITES=    SF/tiled/files/tiled-qt/0.6.2/

By the way, did you copy/paste this out of your Makefile? It should be
MASTER_SITES plural.

Chris


More information about the freebsd-ports mailing list