summaryrefslogtreecommitdiffstats
path: root/devel/gtranslator
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-01 20:51:17 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2007-05-01 20:51:17 +0800
commit116939264099df7bc2d4b006a81bd23d2ac8c30c (patch)
treed2512e7533f59fb74549906e4b968866929e049c /devel/gtranslator
parent8c3d84ff6428f25b8ac3e42a7a56e2d0dd97cd1e (diff)
downloadmarcuscom-ports-116939264099df7bc2d4b006a81bd23d2ac8c30c.tar
marcuscom-ports-116939264099df7bc2d4b006a81bd23d2ac8c30c.tar.gz
marcuscom-ports-116939264099df7bc2d4b006a81bd23d2ac8c30c.tar.bz2
marcuscom-ports-116939264099df7bc2d4b006a81bd23d2ac8c30c.tar.lz
marcuscom-ports-116939264099df7bc2d4b006a81bd23d2ac8c30c.tar.xz
marcuscom-ports-116939264099df7bc2d4b006a81bd23d2ac8c30c.tar.zst
marcuscom-ports-116939264099df7bc2d4b006a81bd23d2ac8c30c.zip
share/gnome -> share
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8721 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'devel/gtranslator')
-rw-r--r--devel/gtranslator/Makefile42
-rw-r--r--devel/gtranslator/distinfo3
-rw-r--r--devel/gtranslator/files/patch-configure11
-rw-r--r--devel/gtranslator/files/patch-man_Makefile.in25
-rw-r--r--devel/gtranslator/files/patch-src::find.c11
-rw-r--r--devel/gtranslator/files/patch-src::message.c11
-rw-r--r--devel/gtranslator/pkg-descr5
-rw-r--r--devel/gtranslator/pkg-plist137
8 files changed, 245 insertions, 0 deletions
diff --git a/devel/gtranslator/Makefile b/devel/gtranslator/Makefile
new file mode 100644
index 000000000..66329227e
--- /dev/null
+++ b/devel/gtranslator/Makefile
@@ -0,0 +1,42 @@
+# New ports collection makefile for: gtranslator
+# Date created: 16 September 2000
+# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
+#
+# $FreeBSD$
+# $MCom$
+
+PORTNAME= gtranslator
+PORTVERSION= 1.1.7
+PORTREVISION= 1
+CATEGORIES= devel gnome
+MASTER_SITES= ${MASTER_SITE_GNOME}
+MASTER_SITE_SUBDIR= sources/${PORTNAME}/${PORTVERSION:C/^([0-9]+\.[0-9]+).*/\1/}
+
+MAINTAINER= gnome@FreeBSD.org
+COMMENT= A GNOME application for creating GNU gettext translation files
+
+LIB_DEPENDS= gtkspell.0:${PORTSDIR}/textproc/gtkspell
+
+USE_XLIB= yes
+USE_BZIP2= yes
+USE_GNOME= gnomehack intlhack gnomeprefix gnometarget gnomevfs2 libgnomeui
+USE_GMAKE= yes
+USE_GETTEXT= yes
+INSTALLS_OMF= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -lgnuregex"
+CONFIGURE_ARGS= --disable-debug \
+ --enable-compile-warnings=no \
+ --mandir=${PREFIX}/man
+
+MAN1= gtranslator.1 pozilla.sh.1
+
+post-patch:
+ @${REINPLACE_CMD} -e "s|-Werror||" ${WRKSRC}/src/Makefile.in
+ @${REINPLACE_CMD} -e 's|$$(datadir)/omf|$$(datadir)/gnome/omf|' \
+ ${WRKSRC}/help/C/Makefile.in ${WRKSRC}/omf.make
+ @${REINPLACE_CMD} -e 's|$$(datadir)/mime-info|$$(datadir)/gnome/mime-info|' \
+ ${WRKSRC}/data/mime/Makefile.in
+
+.include <bsd.port.mk>
diff --git a/devel/gtranslator/distinfo b/devel/gtranslator/distinfo
new file mode 100644
index 000000000..6a46493be
--- /dev/null
+++ b/devel/gtranslator/distinfo
@@ -0,0 +1,3 @@
+MD5 (gtranslator-1.1.7.tar.bz2) = 47531195b74b22a6284dad609377cbb0
+SHA256 (gtranslator-1.1.7.tar.bz2) = 9cbf479525eb64e20f6fc35e3809af245ae439b367a3e420aa6c86228286c81a
+SIZE (gtranslator-1.1.7.tar.bz2) = 731139
diff --git a/devel/gtranslator/files/patch-configure b/devel/gtranslator/files/patch-configure
new file mode 100644
index 000000000..bd473d7f6
--- /dev/null
+++ b/devel/gtranslator/files/patch-configure
@@ -0,0 +1,11 @@
+--- configure.orig Sat Aug 7 01:53:34 2004
++++ configure Sat Aug 7 01:53:40 2004
+@@ -5284,7 +5284,7 @@
+ if test "x$enable_debug" = "xyes" ; then
+ CFLAGS="$CFLAGS -ggdb "
+ else
+- CFLAGS="`echo $CFLAGS|sed -e s/-g.//g -e s/-ggdb//g`"
++# CFLAGS="`echo $CFLAGS|sed -e s/-g.//g -e s/-ggdb//g`"
+ fi
+ echo "$as_me:$LINENO: result: $enable_debug" >&5
+ echo "${ECHO_T}$enable_debug" >&6
diff --git a/devel/gtranslator/files/patch-man_Makefile.in b/devel/gtranslator/files/patch-man_Makefile.in
new file mode 100644
index 000000000..09972542c
--- /dev/null
+++ b/devel/gtranslator/files/patch-man_Makefile.in
@@ -0,0 +1,25 @@
+--- man/Makefile.in.orig Fri Dec 1 23:20:06 2006
++++ man/Makefile.in Fri Dec 1 23:20:40 2006
+@@ -185,8 +185,8 @@
+ gtranslator_man_dir = $(mandir)/man1
+
+ gtranslator_man__DATA = \
+- gtranslator.1.gz \
+- pozilla.sh.1.gz
++ gtranslator.1 \
++ pozilla.sh.1
+
+
+ CLEANFILES = $(gtranslator_man__DATA)
+@@ -357,11 +357,6 @@
+ uninstall-gtranslator_man_DATA uninstall-info-am
+
+
+-gtranslator.1.gz: gtranslator.1
+- gzip -9 < gtranslator.1 > gtranslator.1.gz
+-
+-pozilla.sh.1.gz: $(srcdir)/pozilla.sh.1
+- gzip -9 < $(srcdir)/pozilla.sh.1 > pozilla.sh.1.gz
+ # Tell versions [3.59,3.63) of GNU make to not export all variables.
+ # Otherwise a system limit (for SysV at least) may be exceeded.
+ .NOEXPORT:
diff --git a/devel/gtranslator/files/patch-src::find.c b/devel/gtranslator/files/patch-src::find.c
new file mode 100644
index 000000000..5afe6230b
--- /dev/null
+++ b/devel/gtranslator/files/patch-src::find.c
@@ -0,0 +1,11 @@
+--- src/find.c 2002/03/15 09:02:54 1.1
++++ src/find.c 2002/03/15 09:03:04
+@@ -31,7 +31,7 @@
+ #include "utils.h"
+
+ #include <string.h>
+-#include <regex.h>
++#include <gnuregex.h>
+ #include <gtk/gtkeditable.h>
+ #include <libgnomeui/gnome-app-util.h>
+
diff --git a/devel/gtranslator/files/patch-src::message.c b/devel/gtranslator/files/patch-src::message.c
new file mode 100644
index 000000000..657cfb6f1
--- /dev/null
+++ b/devel/gtranslator/files/patch-src::message.c
@@ -0,0 +1,11 @@
+--- src/message.c 2002/03/15 09:03:55 1.1
++++ src/message.c 2002/03/15 09:04:04
+@@ -39,7 +39,7 @@
+ #include "utils_gui.h"
+
+ #include <string.h>
+-#include <regex.h>
++#include <gnuregex.h>
+ #include <gtk/gtk.h>
+
+ #include <libgnomeui/gnome-app.h>
diff --git a/devel/gtranslator/pkg-descr b/devel/gtranslator/pkg-descr
new file mode 100644
index 000000000..1436cdfc8
--- /dev/null
+++ b/devel/gtranslator/pkg-descr
@@ -0,0 +1,5 @@
+Gtranslator is a Gtk+-2 GUI to assist in the creation of GNU gettext
+translations. It features auto-learning of translation rules, fuzzy
+string manipulation, and self-contained msgfmt compilation/testing.
+
+WWW: http://gtranslator.sourceforge.net/
diff --git a/devel/gtranslator/pkg-plist b/devel/gtranslator/pkg-plist
new file mode 100644
index 000000000..fdf139cc4
--- /dev/null
+++ b/devel/gtranslator/pkg-plist
@@ -0,0 +1,137 @@
+bin/gtranslator
+bin/pozilla.sh
+share/applications/gtranslator.desktop
+share/gtranslator/colorschemes/arek.xml
+share/gtranslator/colorschemes/boom-boom.xml
+share/gtranslator/colorschemes/clean.xml
+share/gtranslator/colorschemes/curlymonster.xml
+share/gtranslator/colorschemes/default.xml
+share/gtranslator/colorschemes/extremely-kabalak.xml
+share/gtranslator/colorschemes/kabalak.xml
+share/gtranslator/colorschemes/kbabel.xml
+share/gtranslator/colorschemes/menesis.xml
+share/gtranslator/colorschemes/mmc.xml
+share/gtranslator/colorschemes/nizuu.xml
+share/gtranslator/colorschemes/pdmc.xml
+share/gtranslator/colorschemes/sepia.xml
+share/gtranslator/colorschemes/spiffE.xml
+share/gtranslator/colorschemes/thinice.xml
+share/gtranslator/colorschemes/toyfactory.xml
+share/gtranslator/colorschemes/tuey.xml
+share/gtranslator/colorschemes/vim.xml
+share/gtranslator/colorschemes/waliays.xml
+share/gtranslator/colorschemes/yef.xml
+share/gtranslator/colorschemes/zuper.xml
+share/gtranslator/dtd/umtf.dtd
+share/gtranslator/scripts/build-gtranslator-learn-buffer.sh
+share/gtranslator/scripts/cleanup-gtranslator-settings.sh
+share/gtranslator/scripts/my-update.sh
+share/gnome/help/gtranslator/C/figures/mainwindow.png
+share/gnome/help/gtranslator/C/figures/prefs.png
+share/gnome/help/gtranslator/C/figures/toolbar.png
+share/gnome/help/gtranslator/C/gtranslator.xml
+share/gnome/help/gtranslator/C/legal.xml
+share/gnome/mime-info/gtranslator.keys
+share/gnome/mime-info/gtranslator.mime
+share/gnome/omf/gtranslator/gtranslator-C.omf
+share/pixmaps/gnome-application-x-gmo.png
+share/pixmaps/gnome-application-x-po.png
+share/pixmaps/gtranslator.png
+share/pixmaps/gtranslator/fuzzy.png
+share/pixmaps/gtranslator/fuzzy_small.png
+share/pixmaps/gtranslator/untranslated.png
+share/pixmaps/gtranslator/untranslated_small.png
+share/locale/am/LC_MESSAGES/gtranslator.mo
+share/locale/az/LC_MESSAGES/gtranslator.mo
+share/locale/be/LC_MESSAGES/gtranslator.mo
+share/locale/bs/LC_MESSAGES/gtranslator.mo
+share/locale/ca/LC_MESSAGES/gtranslator.mo
+share/locale/cs/LC_MESSAGES/gtranslator.mo
+share/locale/da/LC_MESSAGES/gtranslator.mo
+share/locale/de/LC_MESSAGES/gtranslator.mo
+share/locale/el/LC_MESSAGES/gtranslator.mo
+share/locale/en_CA/LC_MESSAGES/gtranslator.mo
+share/locale/en_GB/LC_MESSAGES/gtranslator.mo
+share/locale/es/LC_MESSAGES/gtranslator.mo
+share/locale/et/LC_MESSAGES/gtranslator.mo
+share/locale/eu/LC_MESSAGES/gtranslator.mo
+share/locale/fa/LC_MESSAGES/gtranslator.mo
+share/locale/fi/LC_MESSAGES/gtranslator.mo
+share/locale/fr/LC_MESSAGES/gtranslator.mo
+share/locale/ga/LC_MESSAGES/gtranslator.mo
+share/locale/gl/LC_MESSAGES/gtranslator.mo
+share/locale/hr/LC_MESSAGES/gtranslator.mo
+share/locale/hu/LC_MESSAGES/gtranslator.mo
+share/locale/id/LC_MESSAGES/gtranslator.mo
+share/locale/is/LC_MESSAGES/gtranslator.mo
+share/locale/it/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/lv/LC_MESSAGES/gtranslator.mo
+share/locale/nb/LC_MESSAGES/gtranslator.mo
+share/locale/nl/LC_MESSAGES/gtranslator.mo
+share/locale/nn/LC_MESSAGES/gtranslator.mo
+share/locale/no/LC_MESSAGES/gtranslator.mo
+share/locale/pa/LC_MESSAGES/gtranslator.mo
+share/locale/pl/LC_MESSAGES/gtranslator.mo
+share/locale/pt/LC_MESSAGES/gtranslator.mo
+share/locale/pt_BR/LC_MESSAGES/gtranslator.mo
+share/locale/ru/LC_MESSAGES/gtranslator.mo
+share/locale/sk/LC_MESSAGES/gtranslator.mo
+share/locale/sq/LC_MESSAGES/gtranslator.mo
+share/locale/sr/LC_MESSAGES/gtranslator.mo
+share/locale/sr@Latn/LC_MESSAGES/gtranslator.mo
+share/locale/sv/LC_MESSAGES/gtranslator.mo
+share/locale/ta/LC_MESSAGES/gtranslator.mo
+share/locale/th/LC_MESSAGES/gtranslator.mo
+share/locale/tk/LC_MESSAGES/gtranslator.mo
+share/locale/tr/LC_MESSAGES/gtranslator.mo
+share/locale/uk/LC_MESSAGES/gtranslator.mo
+share/locale/vi/LC_MESSAGES/gtranslator.mo
+share/locale/wa/LC_MESSAGES/gtranslator.mo
+share/locale/zh_CN/LC_MESSAGES/gtranslator.mo
+share/locale/zh_TW/LC_MESSAGES/gtranslator.mo
+@dirrmtry share/locale/zh_TW/LC_MESSAGES
+@dirrmtry share/locale/zh_TW
+@dirrmtry share/locale/zh_CN/LC_MESSAGES
+@dirrmtry share/locale/zh_CN
+@dirrmtry share/locale/uk/LC_MESSAGES
+@dirrmtry share/locale/uk
+@dirrmtry share/locale/tk/LC_MESSAGES
+@dirrmtry share/locale/tk
+@dirrmtry share/locale/sr/LC_MESSAGES
+@dirrmtry share/locale/sr
+@dirrmtry share/locale/sk/LC_MESSAGES
+@dirrmtry share/locale/sk
+@dirrmtry share/locale/pt/LC_MESSAGES
+@dirrmtry share/locale/pt
+@dirrmtry share/locale/pl/LC_MESSAGES
+@dirrmtry share/locale/pl
+@dirrmtry share/locale/no/LC_MESSAGES
+@dirrmtry share/locale/no
+@dirrmtry share/locale/nn/LC_MESSAGES
+@dirrmtry share/locale/nn
+@dirrmtry share/locale/ko/LC_MESSAGES
+@dirrmtry share/locale/ko
+@dirrmtry share/locale/gl/LC_MESSAGES
+@dirrmtry share/locale/gl
+@dirrmtry share/locale/fi/LC_MESSAGES
+@dirrmtry share/locale/fi
+@dirrmtry share/locale/el/LC_MESSAGES
+@dirrmtry share/locale/el
+@dirrmtry share/locale/cs/LC_MESSAGES
+@dirrmtry share/locale/cs
+@dirrmtry share/locale/ca/LC_MESSAGES
+@dirrmtry share/locale/ca
+@dirrmtry share/locale/be/LC_MESSAGES
+@dirrmtry share/locale/be
+@dirrm share/pixmaps/gtranslator
+@dirrm share/gnome/omf/gtranslator
+@dirrm share/gnome/help/gtranslator/C/figures
+@dirrm share/gnome/help/gtranslator/C
+@dirrm share/gnome/help/gtranslator
+@dirrm share/gtranslator/scripts
+@dirrm share/gtranslator/dtd
+@dirrm share/gtranslator/colorschemes
+@dirrm share/gtranslator