what to do when MASTER_SITE_SUBDIR differs?

Roman Neuhauser neuhauser at chello.cz
Tue Jun 22 03:26:08 PDT 2004


# mike at skew.org / 2004-06-22 03:55:59 -0600:
> The primary distribution site for the source of the package I'm working 
> re-porting is the developers' own site, and they (OK, we) use SourceForge
> as a secondary distribution point. I'd like to list both the home site and 
> SourceForge in the MASTER_SITES.
> 
> The convention seems to be that when using ${MASTER_SITE_SOURCEFORGE},
> MASTER_SITE_SUBDIR is set to the SF project name.
> 
> But in this case, the subdirs don't match between the two sites, due
> to SourceForge forbidding leading numbers in project names.
> 
> So I am not sure how to do this. I don't really see much precedent for 
> foregoing MASTER_SITE_SUBDIR and just doing something like
> 
> MASTER_SITES=   ftp://ftp.4suite.org/pub/4Suite/ \
>                 ${MASTER_SITE_SOURCEFORGE}/foursuite/
> 
> ...but would that be acceptable?

    no, and it woudn't be needed either. this will do what you want:

MASTER_SITES=	ftp://ftp.4suite.org/pub/4Suite/ \
		${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	foursuite

-- 
If you cc me or remove the list(s) completely I'll most likely ignore
your message.    see http://www.eyrie.org./~eagle/faqs/questions.html


More information about the freebsd-ports mailing list