From owner-freebsd-ports@FreeBSD.ORG Fri Feb 9 21:07:23 2007 Return-Path: X-Original-To: freebsd-ports@freebsd.org Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 0182616A405 for ; Fri, 9 Feb 2007 21:07:23 +0000 (UTC) (envelope-from molnarcs@gmail.com) Received: from nf-out-0910.google.com (nf-out-0910.google.com [64.233.182.186]) by mx1.freebsd.org (Postfix) with ESMTP id 8DCD813C441 for ; Fri, 9 Feb 2007 21:07:22 +0000 (UTC) (envelope-from molnarcs@gmail.com) Received: by nf-out-0910.google.com with SMTP id m19so1223996nfc for ; Fri, 09 Feb 2007 13:07:21 -0800 (PST) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:from:reply-to:to:subject:date:user-agent:cc:references:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:message-id; b=eXiAsD1UzcF1iKX4/MYbV8JbHXysFXOFIcCm58GBSkRccdfh/G2ITXl3+EHBhgQkCacKDYI9IwKRv31Wmxfg52kA4WWAEFinNw3NIlMW2wuhNfubAxE46bTvlwaHBv7Z5KKdUvyM9h3AZRVdM5Lo1GA0xcvuvIulvbPc0+2bcJ4= Received: by 10.49.27.11 with SMTP id e11mr1745885nfj.1171055241625; Fri, 09 Feb 2007 13:07:21 -0800 (PST) Received: from mcsaba.ch.sh.unideb.hu ( [193.6.168.4]) by mx.google.com with ESMTP id o45sm17409818nfa.2007.02.09.13.07.20; Fri, 09 Feb 2007 13:07:21 -0800 (PST) From: Csaba Molnar To: "Scot Hetzel" Date: Fri, 9 Feb 2007 22:07:19 +0100 User-Agent: KMail/1.9.5 References: <200702091451.56124.molnarcs@gmail.com> <200702092039.08578.molnarcs@gmail.com> <790a9fff0702091217s1d9de07fiec134376a5bc4364@mail.gmail.com> In-Reply-To: <790a9fff0702091217s1d9de07fiec134376a5bc4364@mail.gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200702092207.19338.molnarcs@gmail.com> Cc: freebsd-ports@freebsd.org Subject: Re: learning about building ports - please help X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: molnarcs@gmail.com List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 Feb 2007 21:07:23 -0000 > 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?