pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

trader: drop EXTRACT_SUFX and link against gettext-lib to enable internationalization support.



Module Name:	pkgsrc-wip
Committed By:	Frederic Cambus <fred%statdns.com@localhost>
Pushed By:	fcambus
Date:		Thu May 2 13:00:20 2019 +0200
Changeset:	2a7aa2340a43587052db0a3d320183c5923142fb

Modified Files:
	trader/Makefile
	trader/PLIST
	trader/distinfo

Log Message:
trader: drop EXTRACT_SUFX and link against gettext-lib to enable internationalization support.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=2a7aa2340a43587052db0a3d320183c5923142fb

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 trader/Makefile |  3 ++-
 trader/PLIST    | 16 ++++++++++++++++
 trader/distinfo |  8 ++++----
 3 files changed, 22 insertions(+), 5 deletions(-)

diffs:
diff --git a/trader/Makefile b/trader/Makefile
index c759025031..fc3b5bc8ec 100644
--- a/trader/Makefile
+++ b/trader/Makefile
@@ -3,7 +3,6 @@
 DISTNAME=	trader-7.12
 CATEGORIES=	games
 MASTER_SITES=	https://ftp.zap.org.au/pub/trader/unix/
-EXTRACT_SUFX=	.tar.xz
 
 MAINTAINER=	fred%statdns.com@localhost
 HOMEPAGE=	https://www.zap.org.au/software/trader/
@@ -11,7 +10,9 @@ COMMENT=	Simple text-based game of interstellar trading
 LICENSE=	gnu-gpl-v3
 
 GNU_CONFIGURE=		yes
+USE_PKGLOCALEDIR=	yes
 
+.include "../../devel/gettext-lib/buildlink3.mk"
 .include "../../devel/ncursesw/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"
 .include "../../sysutils/desktop-file-utils/desktopdb.mk"
diff --git a/trader/PLIST b/trader/PLIST
index 6fdd917e15..19b5d129a7 100644
--- a/trader/PLIST
+++ b/trader/PLIST
@@ -13,3 +13,19 @@ share/icons/hicolor/512x512/apps/trader.png
 share/icons/hicolor/64x64/apps/trader.png
 share/icons/hicolor/96x96/apps/trader.png
 share/icons/hicolor/scalable/apps/trader.svg
+share/locale/da/LC_MESSAGES/trader.mo
+share/locale/de/LC_MESSAGES/trader.mo
+share/locale/en@quot/LC_MESSAGES/trader.mo
+share/locale/en_AU/LC_MESSAGES/trader.mo
+share/locale/en_CA/LC_MESSAGES/trader.mo
+share/locale/en_GB/LC_MESSAGES/trader.mo
+share/locale/en_US/LC_MESSAGES/trader.mo
+share/locale/eo/LC_MESSAGES/trader.mo
+share/locale/fi/LC_MESSAGES/trader.mo
+share/locale/fr/LC_MESSAGES/trader.mo
+share/locale/hr/LC_MESSAGES/trader.mo
+share/locale/hu/LC_MESSAGES/trader.mo
+share/locale/nb/LC_MESSAGES/trader.mo
+share/locale/ru/LC_MESSAGES/trader.mo
+share/locale/sr/LC_MESSAGES/trader.mo
+share/locale/sv/LC_MESSAGES/trader.mo
diff --git a/trader/distinfo b/trader/distinfo
index e2459e1c40..1a1f27defd 100644
--- a/trader/distinfo
+++ b/trader/distinfo
@@ -1,6 +1,6 @@
 $NetBSD$
 
-SHA1 (trader-7.12.tar.xz) = b2bd91b4d633cdcf165d4da36b36709762e39163
-RMD160 (trader-7.12.tar.xz) = 003850bf08587fb27ce667ed15e06febec754a40
-SHA512 (trader-7.12.tar.xz) = 04eea9f2afa7488866c04489288e1fe67c7158391a7b53d113b21d13334687355ca9646929004c64a7858cfaf944c7b11216c6422589f4e50b356f35e15a9473
-Size (trader-7.12.tar.xz) = 589400 bytes
+SHA1 (trader-7.12.tar.gz) = 8fa179511981391f5bd1fd768dcc94e25d0602d5
+RMD160 (trader-7.12.tar.gz) = b58e4f464c829d3f19ccfd091f23e40af60c4c43
+SHA512 (trader-7.12.tar.gz) = eec5c51e8c102721f95b6e0328da43c68b8ea84088839fdb15e988b2b26edf17796385d36b88623658eaaa42548ece8cb75b5c50d49bb671c91c19ecb364ea37
+Size (trader-7.12.tar.gz) = 1114584 bytes


Home | Main Index | Thread Index | Old Index