From 0b42a949a1260bec5a90c0ebcb35e29f52503ef9 Mon Sep 17 00:00:00 2001
From: jmmv <jmmv@pkgsrc.org>
Date: Thu, 30 Mar 2006 21:31:53 +0000
Subject: Update to 1.0.3:

Help:
    * added Brazilian Portuguese.
Translation:
    * Updated Ukrainian, Portuguese, German, Russian, Hungarian, Greek, Welsh,
    Basque translations.
---
 x11/gnopernicus/Makefile         |  9 +++++----
 x11/gnopernicus/PLIST            |  9 ++++++++-
 x11/gnopernicus/distinfo         | 11 ++++-------
 x11/gnopernicus/patches/patch-ab | 13 -------------
 x11/gnopernicus/patches/patch-ac | 13 -------------
 x11/gnopernicus/patches/patch-ad | 13 -------------
 6 files changed, 17 insertions(+), 51 deletions(-)
 delete mode 100644 x11/gnopernicus/patches/patch-ab
 delete mode 100644 x11/gnopernicus/patches/patch-ac
 delete mode 100644 x11/gnopernicus/patches/patch-ad

diff --git a/x11/gnopernicus/Makefile b/x11/gnopernicus/Makefile
index b593c2bdafa..6a89176eb91 100644
--- a/x11/gnopernicus/Makefile
+++ b/x11/gnopernicus/Makefile
@@ -1,10 +1,9 @@
-# $NetBSD: Makefile,v 1.40 2006/03/21 06:00:53 jlam Exp $
+# $NetBSD: Makefile,v 1.41 2006/03/30 21:31:53 jmmv Exp $
 #
 
-DISTNAME=		gnopernicus-0.11.7
-PKGREVISION=		5
+DISTNAME=		gnopernicus-1.0.3
 CATEGORIES=		x11
-MASTER_SITES=		${MASTER_SITE_GNOME:=sources/gnopernicus/0.11/}
+MASTER_SITES=		${MASTER_SITE_GNOME:=sources/gnopernicus/1.0/}
 EXTRACT_SUFX=		.tar.bz2
 
 MAINTAINER=		pkgsrc-users@NetBSD.org
@@ -18,6 +17,7 @@ USE_LIBTOOL=		yes
 GNU_CONFIGURE=		yes
 
 CONFIGURE_ARGS+=	--sysconfdir=${PKG_SYSCONFDIR:Q}
+CONFIGURE_ARGS+=	--with-sysconfsubdir=
 PKG_SYSCONFSUBDIR=	gnopernicus
 OWN_DIRS+=		${PKG_SYSCONFDIR}/translation_tables
 EGDIR=			${PREFIX}/share/examples/gnopernicus
@@ -30,6 +30,7 @@ CONF_FILES+=		${EGDIR}/translation_tables/es.a2b \
 			${PKG_SYSCONFDIR}/translation_tables/es.a2b
 CONF_FILES+=		${EGDIR}/translation_tables/sv.a2b \
 			${PKG_SYSCONFDIR}/translation_tables/sv.a2b
+INSTALL_MAKE_FLAGS+=	translationdir=${EGDIR}/translation_tables
 
 PKG_OPTIONS_VAR=	PKG_OPTIONS.gnopernicus
 PKG_SUPPORTED_OPTIONS=	inet6
diff --git a/x11/gnopernicus/PLIST b/x11/gnopernicus/PLIST
index 91c394c38ae..044d88a3519 100644
--- a/x11/gnopernicus/PLIST
+++ b/x11/gnopernicus/PLIST
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.11 2005/10/16 12:12:01 jmmv Exp $
+@comment $NetBSD: PLIST,v 1.12 2006/03/30 21:31:53 jmmv Exp $
 bin/gnopernicus
 bin/gnopernicus-mag-config
 bin/srcore
@@ -40,6 +40,9 @@ share/gnome/help/gnopernicus/C/gnopernicus.xml
 share/gnome/help/gnopernicus/C/legal.xml
 share/gnome/help/gnopernicus/es/gnopernicus.xml
 share/gnome/help/gnopernicus/es/legal.xml
+share/gnome/help/gnopernicus/pt_BR/figures/gnopernicus.png
+share/gnome/help/gnopernicus/pt_BR/gnopernicus.xml
+share/gnome/help/gnopernicus/pt_BR/legal.xml
 share/gnopernicus/glade/gnopi_files/Braille_Monitor_Settings/braille_monitor_settings.glade2
 share/gnopernicus/glade/gnopi_files/Braille_Settings/attribute_settings.glade2
 share/gnopernicus/glade/gnopi_files/Braille_Settings/braille_device.glade2
@@ -117,6 +120,8 @@ ${PKGLOCALEDIR}/locale/sr/LC_MESSAGES/gnopernicus.mo
 ${PKGLOCALEDIR}/locale/sr@Latn/LC_MESSAGES/gnopernicus.mo
 ${PKGLOCALEDIR}/locale/sv/LC_MESSAGES/gnopernicus.mo
 ${PKGLOCALEDIR}/locale/ta/LC_MESSAGES/gnopernicus.mo
+${PKGLOCALEDIR}/locale/te/LC_MESSAGES/gnopernicus.mo
+${PKGLOCALEDIR}/locale/th/LC_MESSAGES/gnopernicus.mo
 ${PKGLOCALEDIR}/locale/tr/LC_MESSAGES/gnopernicus.mo
 ${PKGLOCALEDIR}/locale/uk/LC_MESSAGES/gnopernicus.mo
 ${PKGLOCALEDIR}/locale/vi/LC_MESSAGES/gnopernicus.mo
@@ -146,6 +151,8 @@ share/pixmaps/gnopernicus.png
 @dirrm share/gnopernicus/glade/gnopi_files
 @dirrm share/gnopernicus/glade
 @dirrm share/gnopernicus
+@dirrm share/gnome/help/gnopernicus/pt_BR/figures
+@dirrm share/gnome/help/gnopernicus/pt_BR
 @dirrm share/gnome/help/gnopernicus/es
 @dirrm share/gnome/help/gnopernicus/C
 @dirrm share/gnome/help/gnopernicus
diff --git a/x11/gnopernicus/distinfo b/x11/gnopernicus/distinfo
index f6d0680e324..73b72c31945 100644
--- a/x11/gnopernicus/distinfo
+++ b/x11/gnopernicus/distinfo
@@ -1,10 +1,7 @@
-$NetBSD: distinfo,v 1.16 2005/12/18 22:23:56 rillig Exp $
+$NetBSD: distinfo,v 1.17 2006/03/30 21:31:53 jmmv Exp $
 
-SHA1 (gnopernicus-0.11.7.tar.bz2) = 1e8cb6a8c9b4ed900fe033ba4fd6a2568d22e742
-RMD160 (gnopernicus-0.11.7.tar.bz2) = ab6246174377d78abd85f2b2b982cb68a906effc
-Size (gnopernicus-0.11.7.tar.bz2) = 2183962 bytes
-SHA1 (patch-ab) = d17ba1a57ad795f018bd224444c987b9e0c57b16
-SHA1 (patch-ac) = 29fbb4e5c0a71d86f288cdbf21320775abbc104f
-SHA1 (patch-ad) = 606a16934f173a10897d3297b099342244169d24
+SHA1 (gnopernicus-1.0.3.tar.bz2) = 602d6bddbaea970e9f8519a2897bf79c62ffe554
+RMD160 (gnopernicus-1.0.3.tar.bz2) = 31f6300cde889fae28d8897dfd64d8af4e029bf2
+Size (gnopernicus-1.0.3.tar.bz2) = 2303239 bytes
 SHA1 (patch-ae) = ff936ff26a260138f438842260cdbac6d869d21f
 SHA1 (patch-af) = 2cbe6f4bed223ecf0f7c88249e47fee515bd0390
diff --git a/x11/gnopernicus/patches/patch-ab b/x11/gnopernicus/patches/patch-ab
deleted file mode 100644
index 69a3c01eccf..00000000000
--- a/x11/gnopernicus/patches/patch-ab
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ab,v 1.3 2004/10/28 19:13:54 jmmv Exp $
-
---- gnopi/Makefile.in.orig	2004-10-14 08:44:55.000000000 +0200
-+++ gnopi/Makefile.in
-@@ -307,7 +307,7 @@ LDADD = ../srutil/libsrutil.la  \
- 	$(GNOPI_LIBS)
- 
- 
--translationdir = $(sysconfdir)/gnopernicus-1.0/translation_tables
-+translationdir = $(datadir)/examples/gnopernicus/translation_tables
- translation_DATA = de.a2b	\
- 	           es.a2b	\
- 	           sv.a2b	\
diff --git a/x11/gnopernicus/patches/patch-ac b/x11/gnopernicus/patches/patch-ac
deleted file mode 100644
index 76cc77e086f..00000000000
--- a/x11/gnopernicus/patches/patch-ac
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ac,v 1.4 2004/10/28 19:13:54 jmmv Exp $
-
---- srcore/Makefile.in.orig	2004-10-14 08:44:59.000000000 +0200
-+++ srcore/Makefile.in
-@@ -243,7 +243,7 @@ INCLUDES = -I$(srcdir)                  
- 	   -I$(top_srcdir)/magnifier/libmag   	\
- 	   -I$(top_srcdir)/srutil             	\
- 	   -DGNOPERNICUSLOCALEDIR=\""$(gnopernicuslocaledir)"\" \
--	   -DBRAILLE_TRANS_TABLES_DIR=\"$(sysconfdir)/gnopernicus-1.0/translation_tables/\" \
-+	   -DBRAILLE_TRANS_TABLES_DIR=\"$(sysconfdir)/translation_tables/\" \
- 	   -DPRESENTATION_DIR=\"$(datadir)/gnopernicus/presentation/\" \
- 	   -DBRLMON_DIR=\"$(libexecdir)/\" \
- 	   $(SRCORE_CFLAGS)  			\
diff --git a/x11/gnopernicus/patches/patch-ad b/x11/gnopernicus/patches/patch-ad
deleted file mode 100644
index 08fc68007d0..00000000000
--- a/x11/gnopernicus/patches/patch-ad
+++ /dev/null
@@ -1,13 +0,0 @@
-$NetBSD: patch-ad,v 1.5 2005/10/16 12:12:01 jmmv Exp $
-
---- braille/libbrl/Makefile.in.orig	2005-09-30 10:45:52.000000000 +0200
-+++ braille/libbrl/Makefile.in
-@@ -245,7 +245,7 @@ libbrl_LTLIBRARIES = libbrl.la
- INCLUDES = -I$(top_builddir)			\
- 	   -I$(top_srcdir)/srutil		\
- 	   -I$(top_srcdir)/srconf/libsrconf 	\
--	   -DBRAILLE_TRANS_TABLES_DIR=\"$(sysconfdir)/gnopernicus-1.0/translation_tables/\" \
-+	   -DBRAILLE_TRANS_TABLES_DIR=\"$(sysconfdir)/translation_tables/\" \
- 	   $(BRLTTY_ACTIVE)			\
- 	   $(LIBBRL_CFLAGS) 			\
- 	   $(BRLTTY_INCLUDE)			\
-- 
cgit v1.2.3