learning about building ports - please help
molnarcs at gmail.com
Fri Feb 9 21:07:23 UTC 2007
> Portlint wants you to add the following to the port:
> .if !defined(WITHOUT_NLS)
> USE_GETTEXT= yes
> PLIST_SUB+= NLS=""
> PLIST_SUB+= NLS="@comment "
I just did that :)
> Then modify the pkg-plist:
Now I'm beginning to understand how this works (I read about it in the
porter's handbook, but it makes more sense when trying on a real port).
> Also remove all of the @dirrmtry share/locale*, and only add the ones
> that are missing from /etc/mtree/BSD.local.mk.
> %%NLS%%@dirrmtry share/locale/zh_TW/LC_MESSAGES
> %%NLS%%@dirrmtry share/locale/zh_TW
So, can I assume that anything that mtree -f /etc/mtree/BSD.local.dist outputs
in /usr/local need not be included in pkg-plist?
More information about the freebsd-ports