Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Feb 2007 22:07:19 +0100
From:      Csaba Molnar <molnarcs@gmail.com>
To:        "Scot Hetzel" <swhetzel@gmail.com>
Cc:        freebsd-ports@freebsd.org
Subject:   Re: learning about building ports - please help
Message-ID:  <200702092207.19338.molnarcs@gmail.com>
In-Reply-To: <790a9fff0702091217s1d9de07fiec134376a5bc4364@mail.gmail.com>
References:  <200702091451.56124.molnarcs@gmail.com> <200702092039.08578.molnarcs@gmail.com> <790a9fff0702091217s1d9de07fiec134376a5bc4364@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help

> 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?



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200702092207.19338.molnarcs>