Help needed by first-timer porter

Manish Jain bourne.identity at hotmail.com
Fri Aug 4 13:34:46 UTC 2017



On 08/04/17 13:41, Manish Jain wrote:
> Actually, the problem was in my understanding of PREFIX : I used to
> think that PREFIX is /usr/local/bin. But your answer makes it clear that
> it only leads up /usr/local. The rest is pretty much dynamic.

Hi Eugene/Others,

As a pleasant surprise, I have a port that now works : - )

It has a working Makefile (embedded PLIST) / pkg-descr / distinfo, and 
everything works, at least as far I can make out. FreeBSD ports system 
is superbly crafted : - )

There is a hiccup, which I am fairly certain a few others would have 
experienced too. So I look to resolve the situation of MASTER_SITES, 
which it appears is mandatory.

My Makefile works by mapping MASTER_SITES to a local path :

MASTER_SITES=	file:///root/mkdesktop/

Of course, this would have to change for general distribution. Since I 
have no access to any FTP/HTTP server where I can upload 
mkdesktop-1.0.tar.gz (~6 Kb), the main tarball used for distfile. Is 
there some way I could use the FTP server of FreeBSD to host this file ? 
Or else the global distcache ?

If yes, what would my the correct representation of my MASTER_SITES 
variable ?

Thanks for help
Manish Jain




More information about the freebsd-ports mailing list