aboutsummaryrefslogtreecommitdiffstats
path: root/devel
diff options
context:
space:
mode:
authorsobomax <sobomax@FreeBSD.org>2000-09-16 22:17:19 +0800
committersobomax <sobomax@FreeBSD.org>2000-09-16 22:17:19 +0800
commit498ff3a481b5d1e0563f9548a8fadc3d25794af5 (patch)
tree49fbf205248d34876a1a652abd5f1e772ce6764b /devel
parent1e44a1bbf521d1e5517fb2d263aeb96334ca2edc (diff)
downloadfreebsd-ports-gnome-498ff3a481b5d1e0563f9548a8fadc3d25794af5.tar.gz
freebsd-ports-gnome-498ff3a481b5d1e0563f9548a8fadc3d25794af5.tar.zst
freebsd-ports-gnome-498ff3a481b5d1e0563f9548a8fadc3d25794af5.zip
Add gtranslator - a GNOME application for developing ".pot" files used with
GNU Gettext.
Diffstat (limited to 'devel')
-rw-r--r--devel/Makefile1
-rw-r--r--devel/gtranslator/Makefile45
-rw-r--r--devel/gtranslator/distinfo1
-rw-r--r--devel/gtranslator/pkg-comment1
-rw-r--r--devel/gtranslator/pkg-descr6
-rw-r--r--devel/gtranslator/pkg-plist38
6 files changed, 92 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 47e60a9041e7..0d569bb8a642 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -92,6 +92,7 @@
SUBDIR += gpasm
SUBDIR += gperf
SUBDIR += gtksheet
+ SUBDIR += gtranslator
SUBDIR += i386-rtems-binutils
SUBDIR += i386-rtems-chill
SUBDIR += i386-rtems-g77
diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile
new file mode 100644
index 000000000000..49657e41be92
--- /dev/null
+++ b/devel/gtranslator/Makefile
@@ -0,0 +1,45 @@
+# New ports collection makefile for: gtranslator
+# Date created: 16 September 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gtranslator
+PORTVERSION= 0.21
+CATEGORIES= devel gnome
+MASTER_SITES= http://gtranslator.sourceforge.net/tarbz2/ \
+ ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+
+MAINTAINER= sobomax@FreeBSD.org
+
+LIB_DEPENDS= gnome.4:${PORTSDIR}/x11/gnomelibs \
+ oaf.0:${PORTSDIR}/devel/oaf
+RUN_DEPENDS= panel:${PORTSDIR}/x11/gnomecore \
+ gmc:${PORTSDIR}/x11-fm/gnomemc
+
+GTK_CONFIG?= ${X11BASE}/bin/gtk12-config
+GLIB_CONFIG?= ${LOCALBASE}/bin/glib12-config
+
+USE_BZIP2= yes
+USE_X_PREFIX= yes
+USE_GMAKE= yes
+USE_LIBTOOL= yes
+CONFIGURE_ENV= GLIB_CONFIG="${GLIB_CONFIG}" \
+ GTK_CONFIG="${GTK_CONFIG}" \
+ CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+CONFIGURE_ARGS= --localstatedir=${PREFIX}/share/gnome \
+ --datadir=${PREFIX}/share/gnome
+
+MAN1= gtranslator.1
+
+pre-patch:
+ @${PERL} -pi -e 's|-lpthread|-pthread|g ; \
+ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure
+ @find ${WRKSRC} -name "Makefile.in" | xargs ${PERL} -pi -e \
+ 's|\$\(datadir\)/gnome/|\$\(datadir\)/|g ; \
+ s|\$\(datadir\)/locale|\$\(prefix\)/share/locale|g'
+
+.include <bsd.port.mk>
diff --git a/devel/gtranslator/distinfo b/devel/gtranslator/distinfo
new file mode 100644
index 000000000000..ca3964cef8ab
--- /dev/null
+++ b/devel/gtranslator/distinfo
@@ -0,0 +1 @@
+MD5 (gtranslator-0.21.tar.bz2) = ee97f35fb2a9a15b1f4924fb887ff3f9
diff --git a/devel/gtranslator/pkg-comment b/devel/gtranslator/pkg-comment
new file mode 100644
index 000000000000..8ebfb2d83fd5
--- /dev/null
+++ b/devel/gtranslator/pkg-comment
@@ -0,0 +1 @@
+A GNOME application for developing ".pot" files used with GNU Gettext
diff --git a/devel/gtranslator/pkg-descr b/devel/gtranslator/pkg-descr
new file mode 100644
index 000000000000..2160644f81d3
--- /dev/null
+++ b/devel/gtranslator/pkg-descr
@@ -0,0 +1,6 @@
+Gtranslator is a translation-supporting programm for the Gnome project. Simply
+speaking it is a helper for developing ".pot" files used with GNU Gettext
+library to provide i18n and l10n features. It is offering little funtionability
+yet but it will be more useful and complex later on.
+
+WWW: http://gtranslator.sourceforge.net/
diff --git a/devel/gtranslator/pkg-plist b/devel/gtranslator/pkg-plist
new file mode 100644
index 000000000000..1056720f8054
--- /dev/null
+++ b/devel/gtranslator/pkg-plist
@@ -0,0 +1,38 @@
+bin/gtranslator
+bin/gtranslatord
+include/libgtranslator/handle-db.h
+include/libgtranslator/parse-db.h
+include/libgtranslator/team-handle.h
+lib/libgtranslator.so
+share/gnome/apps/Development/gtranslator.desktop
+share/gnome/gtranslator/message-db.d/example.xml
+share/gnome/gtranslator/message-db.d/teams.xml
+share/gnome/gtranslator/message-db.d/tr.xml
+share/gnome/help/gtranslator/C/index.html
+share/gnome/help/gtranslator/C/topic.dat
+share/gnome/help/gtranslator/tr/index.html
+share/gnome/help/gtranslator/tr/topic.dat
+share/gnome/idl/gtranslator/gtranslatord.idl
+share/gnome/oaf/gtranslatord.oafinfo
+share/gnome/pixmaps/gtranslator.png
+share/gnome/pixmaps/mc/application-x-po.png
+share/locale/da/LC_MESSAGES/gtranslator.mo
+share/locale/de/LC_MESSAGES/gtranslator.mo
+share/locale/es/LC_MESSAGES/gtranslator.mo
+share/locale/hu/LC_MESSAGES/gtranslator.mo
+share/locale/ja/LC_MESSAGES/gtranslator.mo
+share/locale/ko/LC_MESSAGES/gtranslator.mo
+share/locale/lt/LC_MESSAGES/gtranslator.mo
+share/locale/nl/LC_MESSAGES/gtranslator.mo
+share/locale/no/LC_MESSAGES/gtranslator.mo
+share/locale/ru/LC_MESSAGES/gtranslator.mo
+share/locale/sv/LC_MESSAGES/gtranslator.mo
+share/locale/tr/LC_MESSAGES/gtranslator.mo
+share/locale/uk/LC_MESSAGES/gtranslator.mo
+@dirrm share/gnome/idl/gtranslator
+@dirrm share/gnome/help/gtranslator/tr
+@dirrm share/gnome/help/gtranslator/C
+@dirrm share/gnome/help/gtranslator
+@dirrm share/gnome/gtranslator/message-db.d
+@dirrm share/gnome/gtranslator
+@dirrm include/libgtranslator