HELP needed by experienced porter for simple review

Jeremy Messenger mezz7 at
Thu Dec 6 15:23:35 PST 2007

On Thu, 06 Dec 2007 06:34:05 -0600, GP <godpost at> wrote:

>>  - Respect the CC, CFLAGS and LOCALBASE. See in post-patch.
>>  - Add in 'files' directory.
>>  - Remove that add_to_conf stuff in Makefile, use pkg-message.
> Thank you Mezz, for going through my makefiles and making it conform to  
> the principals of
> the ports system.

No problem.

> That was a very big help to me and an effort beyond expectation.
> It gave me a new understanding of /files that I will pass on to the doc  
> team and
> hopefully into the next version of porters handbook.
> rc.conf
> It's a shame that I can't use a script placed in /files to change  
> rc.conf during install/
> deinstall. I really liked that. But i guess I will settle with a dull  
> pkg-message at the
> end, like the rest of you...

I dislike any ports to touch in my /etc/*. :-)

> Source Makefile
> Since I made the (simple) source Makefile, I would have liked to take  
> advantage of the
> many predefined macros/variables i the port Makefile.
> It seems strange to me, to pass them as a patch (like this: s|CC?=  
> gcc|CC?= ${CC}|g )
> How many of them if any, are passed on to the source makefile? Are there  
> a way to turn
> them all on? if that: any documentation? (except the file)

The CC part is documented in the porter handbook, I believe. Same as with  


> BR, Simon

mezz7 at  -  mezz at
FreeBSD GNOME Team  -  FreeBSD Multimedia Hat (ports, not src)  -  gnome at  -  multimedia at

More information about the freebsd-ports mailing list