Help construct SF url

graudeejs

Son of Beastie

Reaction score: 694
Messages: 4,615

I wrote violet port:
http://files.bsdroot.lv/FreeBSD/ports/ports/devel/violet/

the problem is that I can't figure out, how to write MASTERSITES corectly....
Currently I specified direct link, but it still doesn't work from ports

If I use same link and try to fetch manually (with fetch) then it works. (What the heck?)

Sourcefore is such a big pile of .... Starting to hate it.
 
OP
OP
graudeejs

graudeejs

Son of Beastie

Reaction score: 694
Messages: 4,615

aragon said:
Try this:

Code:
MASTER_SITES=   SF/${PORTNAME}/violetumleditor/${PORTVERSION}
Holly cow... it works.... Man I was trying

Code:
MASTER_SITES=   SF/${PORTNAME}/files/violetumleditor/${PORTVERSION}
Thank you so very much.
 
OP
OP
graudeejs

graudeejs

Son of Beastie

Reaction score: 694
Messages: 4,615

Here's how to convert SF links:
http://userscripts.org/scripts/review/50136

Example
Code:
http://sourceforge.net/projects[color="Red"]/violet[/color]/files[color="Green"]/violetumleditor/[color="Blue"]0.21.1[/color]/[/color]com.horstmann.violet-[color="Blue"]0.21.1[/color].jar/download?use_mirror=garr

Code:
PORTVERSION=[color="Blue"]0.21.1[/color]
MASTERSITES=SF[color="Red"]/violet[/color][color="Green"]/violetumleditor/[/color]${PORTVERSION}[color="Green"]/[/color]
DISTNAME=com.horstmann.violet-${PORTVERSION}
# ok bad example, but it shows main concept
EXTRACT_SUFX=   .jar
EXTRACT_ONLY=
 
Top