diff options
author | danfe <danfe@FreeBSD.org> | 2017-03-12 00:34:13 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2017-03-12 00:34:13 +0800 |
commit | 4782d3ec7c14f56ca8aec0a7c5e906eb126fcdba (patch) | |
tree | b47e75ce718ab09c688ceea65ba68105fe9aeb0c /graphics | |
parent | 12aa5d36c3c477d04653b698530d092440136eb2 (diff) | |
download | freebsd-ports-gnome-4782d3ec7c14f56ca8aec0a7c5e906eb126fcdba.tar.gz freebsd-ports-gnome-4782d3ec7c14f56ca8aec0a7c5e906eb126fcdba.tar.zst freebsd-ports-gnome-4782d3ec7c14f56ca8aec0a7c5e906eb126fcdba.zip |
- Make NLS support optional
- Augment mirror list again
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/azpainter/Makefile | 16 | ||||
-rw-r--r-- | graphics/azpainter/pkg-plist | 10 |
2 files changed, 18 insertions, 8 deletions
diff --git a/graphics/azpainter/Makefile b/graphics/azpainter/Makefile index 40ba198d529f..5998c240a1e6 100644 --- a/graphics/azpainter/Makefile +++ b/graphics/azpainter/Makefile @@ -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=${LOCALBASE}/include/freetype2 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 diff --git a/graphics/azpainter/pkg-plist b/graphics/azpainter/pkg-plist index ba02b7f9ea99..4ead79748add 100644 --- a/graphics/azpainter/pkg-plist +++ b/graphics/azpainter/pkg-plist @@ -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 |