aboutsummaryrefslogtreecommitdiffstats
path: root/cad
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-07-16 11:39:46 +0800
committerrafan <rafan@FreeBSD.org>2006-07-16 11:39:46 +0800
commit2994bd843c6335d271dfda6f0b159c11aee06015 (patch)
treedf06b0572b4bfd0dd00823d850490e5a2830666a /cad
parent5651a273470633a3cc063570cff9cbd3db8f2400 (diff)
downloadfreebsd-ports-gnome-2994bd843c6335d271dfda6f0b159c11aee06015.tar.gz
freebsd-ports-gnome-2994bd843c6335d271dfda6f0b159c11aee06015.tar.zst
freebsd-ports-gnome-2994bd843c6335d271dfda6f0b159c11aee06015.zip
- Fix installdirs to address geda directory structure unification
- Fix PORTNAME - Use NLS conditional - define USE_GETTEXT properly - fix pkg-descr - Bump PORTREVISION PR: ports/100229 Submitted by: maintainer
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