HELP needed by experienced porter for simple review

Jeremy Messenger mezz7 at
Mon Dec 3 19:00:34 PST 2007

On Mon, 03 Dec 2007 15:50:21 -0600, GP <godpost at> wrote:

> Thanks a lot!
> I have as you sugested, but have a problems:
>>> $(CP) ${WRKSRC}/ ${FILESDIR}
>> I don't really like to create FILESDIR and move from WRKSRC to  
>> FILESDIR. The WRKDIR/WRKSRC are the place where you work anything  
>> inside. However, move from WRKSRC to FILESDIR might create problem in  
>> future so avoid that.
> When I leve it out I get this error:
> ===>  Installing for kissdx-0.13.10a
> ** Missing /usr/ports/distfiles/files/ for kissdx-0.13.10a.
> *** Error code 1

Ummm... I went back to see your first orignal thread. I noticed that you  
put Makefile and others in /usr/ports/distfiles/? You should create  
'kissdx' and 'kissdx/files' (mkdir -p kissdx/files) directories. You  
should make your port looks like this:

kissdx/files/<patch files>

You should follow this below:

You put your '' in kissdx/files/ and it will doing every thing  
for you as explained in rc-scripts.html.

>> I think that's all for now. Most of answers are in the porter handbook.
> You are probably right. I read it first of cause. But its not very easy  
> to understand, if you havent worked with porting before.
> (The are almost no examples in it.)

That's ok, you can check in other ports to get good examples. One more  
that I have noticed. The 'do-install: all' should be change to  
'do-install:' without have 'all' in it. Hope it helps.


> 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