Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 13 Jul 2006 20:51:48 +0400 (MSD)
From:      Stanislav Sedov <ssedov@mbsd.msk.ru>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   ports/100229: [MAINTAINER PATCH] cad/geda-projectmanager: Fix installdirs, NLS
Message-ID:  <20060713165148.DCCD1126D5@fonon.realnet>
Resent-Message-ID: <200607131820.k6DIKcNj099350@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         100229
>Category:       ports
>Synopsis:       [MAINTAINER PATCH] cad/geda-projectmanager: Fix installdirs, NLS
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 13 18:20:38 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Stanislav Sedov
>Release:        FreeBSD 7.0-CURRENT i386
>Organization:
MBSD labs, Inc.
>Environment:
System: FreeBSD fonon.realnet 7.0-CURRENT FreeBSD 7.0-CURRENT #7: Sun Jun 18 20:51:36 MSD 2006
>Description:
 - Fix installdirs to address geda directory structure unification
 - Fix PORTNAME
 - Use NLS conditional
 - define USE_GETTEXT properly
 - fix pkg-descr

Added file(s):
- files/patch-configure

>How-To-Repeat:
>Fix:

--- geda-projectmanager-20060123_1.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/cad/geda-projectmanager/Makefile /var/tmp/work2/geda-projectmanager/Makefile
--- /usr/ports/cad/geda-projectmanager/Makefile	Tue Jun 27 02:11:02 2006
+++ /var/tmp/work2/geda-projectmanager/Makefile	Thu Jul 13 20:47:47 2006
@@ -5,12 +5,14 @@
 # $FreeBSD: ports/cad/geda-projectmanager/Makefile,v 1.1 2006/06/26 22:11:02 pav Exp $
 #
 
-PORTNAME=	geda-projectmanager
+PORTNAME=	projectmanager
 PORTVERSION=	20060123
+PORTREVISION=	1
 CATEGORIES=	cad
 MASTER_SITES=	ftp://ftp.geda.seul.org/pub/geda/devel/${PORTVERSION}/ \
 		http://geda.seul.org/devel/${PORTVERSION}/ \
 		http://www.tinkerbox.org/projects/files/gEDA/
+PKGNAMEPREFIX=	geda-
 DISTNAME=	geda-${PORTVERSION}
 
 MAINTAINER=	ssedov@mbsd.msk.ru
@@ -18,5 +20,13 @@
 
 GNU_CONFIGURE=	yes
 USE_GNOME=	gtk20
+
+.if !defined(WITHOUT_NLS)
+USE_GETTEXT=	yes
+PLIST_SUB+=	NLS=""
+.else
+CONFIGURE_ARGS=	--disable-nls
+PLIST_SUB+=	NLS="@comment "
+.endif
 
 .include <bsd.port.mk>
diff -ruN --exclude=CVS /usr/ports/cad/geda-projectmanager/files/patch-configure /var/tmp/work2/geda-projectmanager/files/patch-configure
--- /usr/ports/cad/geda-projectmanager/files/patch-configure	Thu Jan  1 03:00:00 1970
+++ /var/tmp/work2/geda-projectmanager/files/patch-configure	Thu Jul 13 20:46:34 2006
@@ -0,0 +1,11 @@
+--- configure.orig	Thu Jul 13 20:45:48 2006
++++ configure	Thu Jul 13 20:46:06 2006
+@@ -7600,7 +7600,7 @@
+  dprefix=$prefix
+ fi
+ 
+-DATADIR=gEDA
++DATADIR=geda
+ GEDADATADIR=$datadir/$DATADIR
+ 
+ gedatopdir=$dprefix/share/$DATADIR
diff -ruN --exclude=CVS /usr/ports/cad/geda-projectmanager/pkg-descr /var/tmp/work2/geda-projectmanager/pkg-descr
--- /usr/ports/cad/geda-projectmanager/pkg-descr	Tue Jun 27 02:11:02 2006
+++ /var/tmp/work2/geda-projectmanager/pkg-descr	Thu Jul 13 20:49:59 2006
@@ -1,3 +1,3 @@
-The gEDA project manager suite.
+The gEDA's project manager suite.
 
 WWW: http://www.geda.seul.org
diff -ruN --exclude=CVS /usr/ports/cad/geda-projectmanager/pkg-plist /var/tmp/work2/geda-projectmanager/pkg-plist
--- /usr/ports/cad/geda-projectmanager/pkg-plist	Tue Jun 27 02:11:02 2006
+++ /var/tmp/work2/geda-projectmanager/pkg-plist	Thu Jul 13 20:45:09 2006
@@ -1,12 +1,8 @@
 bin/geda
 bin/graphman
 bin/raw2gw
-share/locale/de_DE/LC_MESSAGES/geda.mo
-share/locale/fr_FR/LC_MESSAGES/geda.mo
-share/locale/it/LC_MESSAGES/geda.mo
-share/locale/pt_BR/LC_MESSAGES/geda.mo
-share/locale/ru/LC_MESSAGES/geda.mo
-@dirrmtry share/locale/fr_FR/LC_MESSAGES
-@dirrmtry share/locale/fr_FR
-@dirrmtry share/locale/de_DE/LC_MESSAGES
-@dirrmtry share/locale/de_DE
+%%NLS%%share/locale/de_DE/LC_MESSAGES/geda.mo
+%%NLS%%share/locale/fr_FR/LC_MESSAGES/geda.mo
+%%NLS%%share/locale/it/LC_MESSAGES/geda.mo
+%%NLS%%share/locale/pt_BR/LC_MESSAGES/geda.mo
+%%NLS%%share/locale/ru/LC_MESSAGES/geda.mo
--- geda-projectmanager-20060123_1.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



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