Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Aug 2020 15:49:43 +0000 (UTC)
From:      "Tobias C. Berner" <tcberner@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r543972 - head/devel/libgsf
Message-ID:  <202008021549.072Fnh4B072265@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: tcberner
Date: Sun Aug  2 15:49:43 2020
New Revision: 543972
URL: https://svnweb.freebsd.org/changeset/ports/543972

Log:
  devel/libgsf: add NLS option
  
  PR:		248062
  Submitted by:	Andrew Romanenko <melanhit@gmail.com>

Modified:
  head/devel/libgsf/Makefile
  head/devel/libgsf/pkg-plist

Modified: head/devel/libgsf/Makefile
==============================================================================
--- head/devel/libgsf/Makefile	Sun Aug  2 15:43:28 2020	(r543971)
+++ head/devel/libgsf/Makefile	Sun Aug  2 15:49:43 2020	(r543972)
@@ -3,6 +3,7 @@
 
 PORTNAME=	libgsf
 PORTVERSION=	1.14.47
+PORTREVISION=	1
 CATEGORIES=	devel
 MASTER_SITES=	GNOME
 DIST_SUBDIR=	gnome2
@@ -15,11 +16,18 @@ LICENSE_COMB=	multi
 LICENSE_FILE_GPLv2=	${WRKSRC}/COPYING
 LICENSE_FILE_LGPL21=	${WRKSRC}/COPYING.LIB
 
-USES=		gettext gmake gnome libtool localbase pathfix pkgconfig tar:xz
+USES=		gmake gnome libtool localbase pathfix pkgconfig tar:xz
 USE_GNOME=	gdkpixbuf2 intlhack introspection:build libxml2
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
 CONFIGURE_ARGS=	--enable-introspection
+
+OPTIONS_DEFINE=	NLS
+OPTIONS_DEFAULT=NLS
+OPTIONS_SUB=	yes
+
+NLS_CONFIGURE_ENABLE=	nls
+NLS_USES=		gettext
 
 .include <bsd.port.mk>

Modified: head/devel/libgsf/pkg-plist
==============================================================================
--- head/devel/libgsf/pkg-plist	Sun Aug  2 15:43:28 2020	(r543971)
+++ head/devel/libgsf/pkg-plist	Sun Aug  2 15:49:43 2020	(r543972)
@@ -99,50 +99,50 @@ share/gtk-doc/html/gsf/sources.html
 share/gtk-doc/html/gsf/style.css
 share/gtk-doc/html/gsf/up-insensitive.png
 share/gtk-doc/html/gsf/up.png
-share/locale/as/LC_MESSAGES/libgsf.mo
-share/locale/bs/LC_MESSAGES/libgsf.mo
-share/locale/ca/LC_MESSAGES/libgsf.mo
-share/locale/ca@valencia/LC_MESSAGES/libgsf.mo
-share/locale/cs/LC_MESSAGES/libgsf.mo
-share/locale/da/LC_MESSAGES/libgsf.mo
-share/locale/de/LC_MESSAGES/libgsf.mo
-share/locale/el/LC_MESSAGES/libgsf.mo
-share/locale/en_GB/LC_MESSAGES/libgsf.mo
-share/locale/eo/LC_MESSAGES/libgsf.mo
-share/locale/es/LC_MESSAGES/libgsf.mo
-share/locale/eu/LC_MESSAGES/libgsf.mo
-share/locale/fi/LC_MESSAGES/libgsf.mo
-share/locale/fr/LC_MESSAGES/libgsf.mo
-share/locale/gl/LC_MESSAGES/libgsf.mo
-share/locale/he/LC_MESSAGES/libgsf.mo
-share/locale/hu/LC_MESSAGES/libgsf.mo
-share/locale/id/LC_MESSAGES/libgsf.mo
-share/locale/it/LC_MESSAGES/libgsf.mo
-share/locale/ja/LC_MESSAGES/libgsf.mo
-share/locale/ko/LC_MESSAGES/libgsf.mo
-share/locale/lt/LC_MESSAGES/libgsf.mo
-share/locale/lv/LC_MESSAGES/libgsf.mo
-share/locale/ml/LC_MESSAGES/libgsf.mo
-share/locale/nb/LC_MESSAGES/libgsf.mo
-share/locale/nn/LC_MESSAGES/libgsf.mo
-share/locale/oc/LC_MESSAGES/libgsf.mo
-share/locale/pa/LC_MESSAGES/libgsf.mo
-share/locale/pl/LC_MESSAGES/libgsf.mo
-share/locale/pt/LC_MESSAGES/libgsf.mo
-share/locale/pt_BR/LC_MESSAGES/libgsf.mo
-share/locale/ro/LC_MESSAGES/libgsf.mo
-share/locale/ru/LC_MESSAGES/libgsf.mo
-share/locale/sk/LC_MESSAGES/libgsf.mo
-share/locale/sl/LC_MESSAGES/libgsf.mo
-share/locale/sr/LC_MESSAGES/libgsf.mo
-share/locale/sr@latin/LC_MESSAGES/libgsf.mo
-share/locale/sv/LC_MESSAGES/libgsf.mo
-share/locale/ta/LC_MESSAGES/libgsf.mo
-share/locale/tg/LC_MESSAGES/libgsf.mo
-share/locale/th/LC_MESSAGES/libgsf.mo
-share/locale/tr/LC_MESSAGES/libgsf.mo
-share/locale/uk/LC_MESSAGES/libgsf.mo
-share/locale/zh_CN/LC_MESSAGES/libgsf.mo
-share/locale/zh_HK/LC_MESSAGES/libgsf.mo
-share/locale/zh_TW/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/as/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/bs/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/ca/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/ca@valencia/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/cs/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/da/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/de/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/el/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/en_GB/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/eo/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/es/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/eu/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/fi/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/fr/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/gl/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/he/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/hu/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/id/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/it/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/ja/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/ko/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/lt/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/lv/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/ml/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/nb/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/nn/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/oc/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/pa/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/pl/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/pt/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/ro/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/sk/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/sl/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/sr/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/sr@latin/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/sv/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/ta/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/tg/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/th/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/tr/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/uk/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/zh_CN/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/zh_HK/LC_MESSAGES/libgsf.mo
+%%NLS%%share/locale/zh_TW/LC_MESSAGES/libgsf.mo
 share/thumbnailers/gsf-office.thumbnailer



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