From owner-cvs-ports@FreeBSD.ORG Wed Dec 1 14:33:40 2010 Return-Path: Delivered-To: cvs-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C2C041065670; Wed, 1 Dec 2010 14:33:40 +0000 (UTC) (envelope-from swell.k@gmail.com) Received: from mail-qw0-f54.google.com (mail-qw0-f54.google.com [209.85.216.54]) by mx1.freebsd.org (Postfix) with ESMTP id 52C778FC22; Wed, 1 Dec 2010 14:33:39 +0000 (UTC) Received: by qwj9 with SMTP id 9so1636101qwj.13 for ; Wed, 01 Dec 2010 06:33:39 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:to:cc:subject:references :date:message-id:user-agent:mime-version:content-type; bh=8+oVxQ7jVY9sS5snopnw/eesxEeCchjCmgRV2p8WQGU=; b=q8QWhxx9/n8MzFnDHJtExthNMJL4WtIuacJfMZG/FIn9tYJ8oSQgvWZUdEaJLSEXzE iLF5SWT1wYqREIhz8/gsMDHVumAHmx4KbYgKgLiU7WYsaCQqUq8bh46jHx8y0H+di2le qygx7rLHK+eXi0+Aa12IdG2QKgrXMn5dcv7ds= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:to:cc:subject:references:date:message-id:user-agent :mime-version:content-type; b=vd2Olw/wbFDgACd58hQnKlHk1wHZuMXjrlCOm7NJjMbxM3vWjZdK9kdbGp4RBjihpk qnFmsLk9ZGvlSxuc4Xh6gJHEqNq3Y17tafnOjraRq6+DeXJLN7VRsFicMboNcjJ/M5jJ +M+cb/9KFx+YDfFk1rUjB2qIqj/kToUDNwizI= Received: by 10.224.2.194 with SMTP id 2mr732470qak.56.1291214019265; Wed, 01 Dec 2010 06:33:39 -0800 (PST) Received: from localhost (SIPB-TOR.MIT.EDU [18.187.1.68]) by mx.google.com with ESMTPS id mz11sm26103qcb.15.2010.12.01.06.33.23 (version=SSLv3 cipher=RC4-MD5); Wed, 01 Dec 2010 06:33:37 -0800 (PST) From: Anonymous To: MIHIRA Sanpei Yoshiro References: <201012011323.oB1DNiPW009713@repoman.freebsd.org> Date: Wed, 01 Dec 2010 17:32:45 +0300 Message-ID: <86y6898sxe.fsf@gmail.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/24.0.50 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain Cc: cvs-ports@FreeBSD.org, cvs-all@FreeBSD.org, ports-committers@FreeBSD.org Subject: Re: cvs commit: ports/textproc/wdiff Makefile X-BeenThere: cvs-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: CVS commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Dec 2010 14:33:40 -0000 MIHIRA Sanpei Yoshiro writes: > sanpei 2010-12-01 13:23:44 UTC > > FreeBSD ports repository > > Modified files: > textproc/wdiff Makefile > Log: > I forgot to add lib/charset.alias to PLIST_FILES. > > Pointed out by: QAT How about using same logic for WITHOUT_NLS like devel/bison, textproc/gnugrep, etc.? NLS catalogs seem to be useful. %% Index: textproc/wdiff/Makefile =================================================================== RCS file: /a/.cvsup/ports/textproc/wdiff/Makefile,v retrieving revision 1.16 diff -u -p -r1.16 Makefile --- textproc/wdiff/Makefile 30 Nov 2010 14:23:49 -0000 1.16 +++ textproc/wdiff/Makefile 1 Dec 2010 14:25:47 -0000 @@ -18,6 +18,18 @@ GNU_CONFIGURE= yes MAN1= wdiff.1 INFO= wdiff -PLIST_FILES= bin/wdiff + +.if !defined(WITHOUT_NLS) +USE_GETTEXT= yes +CFLAGS+= -I${LOCALBASE}/include +PLIST_SUB+= NLS="" +.else +CONFIGURE_ARGS= --disable-nls +PLIST_SUB+= NLS="@comment " + +post-patch: .SILENT + ${REINPLACE_CMD} '/^install-exec-local:/s/install-exec-localcharset//' \ + ${WRKSRC}/lib/Makefile.in +.endif .include Index: textproc/wdiff/pkg-plist =================================================================== RCS file: textproc/wdiff/pkg-plist diff -N textproc/wdiff/pkg-plist --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ textproc/wdiff/pkg-plist 1 Dec 2010 14:16:23 -0000 @@ -0,0 +1,73 @@ +bin/wdiff +%%NLS%%share/locale/af/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/be/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/bg/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/ca/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/ca/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/cs/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/cs/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/da/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/da/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/de/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/de/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/el/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/en@boldquot/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/en@quot/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/en_GB/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/es/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/es/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/et/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/et/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/eu/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/fi/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/fi/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/fr/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/fr/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/ga/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/ga/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/gl/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/gl/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/hu/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/hu/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/id/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/it/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/it/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/ja/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/ko/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/ms/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/ms/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/nb/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/nb/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/nl/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/nl/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/pl/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/pl/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/pt/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/pt_BR/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/ro/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/ro/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/ru/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/ru/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/rw/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/sk/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/sk/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/sl/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/sl/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/sv/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/sv/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/tr/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/tr/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/uk/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/vi/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/vi/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/zh_CN/LC_MESSAGES/wdiff.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/wdiff-gnulib.mo +%%NLS%%share/locale/zh_TW/LC_MESSAGES/wdiff.mo +%%NLS%%@dirrmtry share/locale/en@boldquot/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/en@boldquot +%%NLS%%@dirrmtry share/locale/en@quot/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/en@quot +%%NLS%%@dirrmtry share/locale/rw/LC_MESSAGES +%%NLS%%@dirrmtry share/locale/rw %%