Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2017 16:34:13 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r435948 - head/graphics/azpainter
Message-ID:  <201703111634.v2BGYDSC045193@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Mar 11 16:34:13 2017
New Revision: 435948
URL: https://svnweb.freebsd.org/changeset/ports/435948

Log:
  - Make NLS support optional
  - Augment mirror list again

Modified:
  head/graphics/azpainter/Makefile
  head/graphics/azpainter/pkg-plist

Modified: head/graphics/azpainter/Makefile
==============================================================================
--- head/graphics/azpainter/Makefile	Sat Mar 11 16:29:08 2017	(r435947)
+++ head/graphics/azpainter/Makefile	Sat Mar 11 16:34:13 2017	(r435948)
@@ -4,13 +4,18 @@
 PORTNAME=	azpainter
 DISTVERSION=	2.0.3
 CATEGORIES=	graphics
-MASTER_SITES=	http://acc.dl.osdn.jp/azpainter/67218/ \
+MASTER_SITES=	http://aarnet.dl.osdn.jp/azpainter/67218/ \
+		http://acc.dl.osdn.jp/azpainter/67218/ \
+		http://c3sl.dl.osdn.jp/azpainter/67218/ \
 		http://cznic.dl.osdn.jp/azpainter/67218/ \
 		http://gigenet.dl.osdn.jp/azpainter/67218/ \
 		http://iij.dl.osdn.jp/azpainter/67218/ \
 		http://jaist.dl.osdn.jp/azpainter/67218/ \
+		http://master.dl.osdn.jp/azpainter/67218/ \
+		http://nchc.dl.osdn.jp/azpainter/67218/ \
 		http://onet.dl.osdn.jp/azpainter/67218/ \
 		http://osdn.dl.osdn.jp/azpainter/67218/ \
+		http://pumath.dl.osdn.jp/azpainter/67218/ \
 		http://rwthaachen.dl.osdn.jp/azpainter/67218/ \
 		http://ymu.dl.osdn.jp/azpainter/67218/
 
@@ -30,9 +35,14 @@ CONFIGURE_ARGS=	--with-freetype-dir=${LO
 
 PORTDOCS=	AUTHORS ChangeLog NEWS README README.ja manual
 
-OPTIONS_DEFINE=	DOCS
+OPTIONS_DEFINE=	DOCS NLS
+OPTIONS_SUB=	yes
 
-pre-build:
+post-patch-NLS-off:
+	@${REINPLACE_CMD} -e '/install-dist_trdataDATA$$/d' \
+		${WRKSRC}/data/Makefile.in
+
+pre-build-NLS-on:
 	cd ${WRKSRC}/translation && ${CC} ${CFLAGS} -o mtrconv mtrconv.c
 .for lang in ru uk
 	cd ${WRKSRC}/translation && ./mtrconv ${lang} ../data/tr/${lang}.mtr

Modified: head/graphics/azpainter/pkg-plist
==============================================================================
--- head/graphics/azpainter/pkg-plist	Sat Mar 11 16:29:08 2017	(r435947)
+++ head/graphics/azpainter/pkg-plist	Sat Mar 11 16:34:13 2017	(r435948)
@@ -153,11 +153,11 @@ bin/azpainter
 %%DATADIR%%/texture/various/wall.png
 %%DATADIR%%/texture/various/white_circle.png
 %%DATADIR%%/texture/various/x-mark.png
-%%DATADIR%%/tr/en.mtr
-%%DATADIR%%/tr/ja.mtr
-%%DATADIR%%/tr/pt_BR.mtr
-%%DATADIR%%/tr/ru.mtr
-%%DATADIR%%/tr/uk.mtr
+%%NLS%%%%DATADIR%%/tr/en.mtr
+%%NLS%%%%DATADIR%%/tr/ja.mtr
+%%NLS%%%%DATADIR%%/tr/pt_BR.mtr
+%%NLS%%%%DATADIR%%/tr/ru.mtr
+%%NLS%%%%DATADIR%%/tr/uk.mtr
 share/applications/azpainter.desktop
 share/icons/hicolor/48x48/apps/application-x-azpainter-apd.png
 share/icons/hicolor/48x48/apps/azpainter.png



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