learning about building ports - please help
Csaba Molnar
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=""
> .else
> CONFIGURE_ARGS+=--disable-nls
> PLIST_SUB+= NLS="@comment "
> .endif
>
I just did that :)
> Then modify the pkg-plist:
>
> %%NLS%%share/locale/ca_ES/LC_MESSAGES/aquamarine.mo
>
> %%NLS%%share/locale/zh_TW/LC_MESSAGES/aquamarine.mo
>
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).
Thanks!
> 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
>
> Scot
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
mailing list