aboutsummaryrefslogtreecommitdiff
path: root/cad
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:39:46 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-07-16 03:39:46 +0000
commit02f607294d054fd0c85c87620c53e0782d9dea95 (patch)
tree3853f134f422336a8bfa47726c00c6af69473ae8 /cad
parent792c426b0bad54e8515296b7a8921d055c54f6b8 (diff)
downloadports-02f607294d054fd0c85c87620c53e0782d9dea95.tar.gz
ports-02f607294d054fd0c85c87620c53e0782d9dea95.zip
Notes
Diffstat (limited to 'cad')
-rw-r--r--cad/geda-projectmanager/Makefile12
-rw-r--r--cad/geda-projectmanager/files/patch-configure11
-rw-r--r--cad/geda-projectmanager/pkg-descr2
-rw-r--r--cad/geda-projectmanager/pkg-plist10
4 files changed, 28 insertions, 7 deletions
diff --git a/cad/geda-projectmanager/Makefile b/cad/geda-projectmanager/Makefile
index 10f07052b1ed..af42fdf0f286 100644
--- a/cad/geda-projectmanager/Makefile
+++ b/cad/geda-projectmanager/Makefile
@@ -5,12 +5,14 @@
# $FreeBSD$
#
-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
@@ -19,4 +21,12 @@ COMMENT= The gEDA's project manager
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 --git a/cad/geda-projectmanager/files/patch-configure b/cad/geda-projectmanager/files/patch-configure
new file mode 100644
index 000000000000..f7c318574bc7
--- /dev/null
+++ b/cad/geda-projectmanager/files/patch-configure
@@ -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 --git a/cad/geda-projectmanager/pkg-descr b/cad/geda-projectmanager/pkg-descr
index 2251b427c1c2..a228772206d7 100644
--- a/cad/geda-projectmanager/pkg-descr
+++ b/cad/geda-projectmanager/pkg-descr
@@ -1,3 +1,3 @@
-The gEDA project manager suite.
+The gEDA's project manager suite.
WWW: http://www.geda.seul.org
diff --git a/cad/geda-projectmanager/pkg-plist b/cad/geda-projectmanager/pkg-plist
index 63f82417e543..fb7a1ec950ed 100644
--- a/cad/geda-projectmanager/pkg-plist
+++ b/cad/geda-projectmanager/pkg-plist
@@ -1,11 +1,11 @@
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
+%%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
@dirrmtry share/locale/fr_FR/LC_MESSAGES
@dirrmtry share/locale/fr_FR
@dirrmtry share/locale/de_DE/LC_MESSAGES