summaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authorahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-01 08:06:13 +0800
committerahze <ahze@df743ca5-7f9a-e211-a948-0013205c9059>2006-10-01 08:06:13 +0800
commit53e0787b676ed3db83f66eeddeba85d475ffc5b5 (patch)
treefb94a77df218b86bc572a3916aabd45bdc031429 /textproc
parent6c8c3ab65400a977bae1ca0540b15908d1a7ace7 (diff)
downloadmarcuscom-ports-53e0787b676ed3db83f66eeddeba85d475ffc5b5.tar
marcuscom-ports-53e0787b676ed3db83f66eeddeba85d475ffc5b5.tar.gz
marcuscom-ports-53e0787b676ed3db83f66eeddeba85d475ffc5b5.tar.bz2
marcuscom-ports-53e0787b676ed3db83f66eeddeba85d475ffc5b5.tar.lz
marcuscom-ports-53e0787b676ed3db83f66eeddeba85d475ffc5b5.tar.xz
marcuscom-ports-53e0787b676ed3db83f66eeddeba85d475ffc5b5.tar.zst
marcuscom-ports-53e0787b676ed3db83f66eeddeba85d475ffc5b5.zip
- Don't try to remove 24x24 icons dir
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@7434 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'textproc')
-rw-r--r--textproc/gnome-translate/Makefile40
-rw-r--r--textproc/gnome-translate/distinfo3
-rw-r--r--textproc/gnome-translate/files/patch-src_gt-app.c12
-rw-r--r--textproc/gnome-translate/files/patch-src_gt-util.c12
-rw-r--r--textproc/gnome-translate/pkg-descr8
-rw-r--r--textproc/gnome-translate/pkg-plist32
6 files changed, 107 insertions, 0 deletions
diff --git a/textproc/gnome-translate/Makefile b/textproc/gnome-translate/Makefile
new file mode 100644
index 000000000..4626b1e27
--- /dev/null
+++ b/textproc/gnome-translate/Makefile
@@ -0,0 +1,40 @@
+# New ports collection makefile for: gnome-translate
+# Date created: 28 Jan 2005
+# Whom: Jean-Yves Lefort <jylefort@brutele.be>
+#
+# $FreeBSD$
+#
+
+PORTNAME= gnome-translate
+PORTVERSION= 0.99
+PORTREVISION= 6
+CATEGORIES= textproc
+MASTER_SITES= ${MASTER_SITE_SAVANNAH}
+MASTER_SITE_SUBDIR= libtranslate
+
+MAINTAINER= jylefort@FreeBSD.org
+COMMENT= A natural language translator
+
+LIB_DEPENDS= translate:${PORTSDIR}/textproc/libtranslate
+
+INSTALLS_OMF= yes
+INSTALLS_ICONS= yes
+GCONF_SCHEMAS= gnome-translate.schemas
+USE_X_PREFIX= yes
+USE_GNOME= gnomehack gnomeprefix eel2 intlhack
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib -Wl,-export-dynamic"
+
+OPTIONS= LANGUAGE_DETECTION "language detection" on
+
+.include <bsd.port.pre.mk>
+
+.if defined(WITHOUT_LANGUAGE_DETECTION)
+CONFIGURE_ARGS+= --disable-language-detection
+.else
+LIB_DEPENDS+= aspell:${PORTSDIR}/textproc/aspell
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/textproc/gnome-translate/distinfo b/textproc/gnome-translate/distinfo
new file mode 100644
index 000000000..da0eb8592
--- /dev/null
+++ b/textproc/gnome-translate/distinfo
@@ -0,0 +1,3 @@
+MD5 (gnome-translate-0.99.tar.gz) = 359f1bb7edc818034b08ca6c1bd254d0
+SHA256 (gnome-translate-0.99.tar.gz) = 2ae1f8e16777c28c5a9c902e0a16de724bf08ebace0a425a0c15e686e4cfaac2
+SIZE (gnome-translate-0.99.tar.gz) = 298179
diff --git a/textproc/gnome-translate/files/patch-src_gt-app.c b/textproc/gnome-translate/files/patch-src_gt-app.c
new file mode 100644
index 000000000..e58db910b
--- /dev/null
+++ b/textproc/gnome-translate/files/patch-src_gt-app.c
@@ -0,0 +1,12 @@
+--- src/gt-app.c.orig Fri Jan 28 13:31:53 2005
++++ src/gt-app.c Mon May 1 19:58:44 2006
+@@ -1168,8 +1168,7 @@
+ GTK_MESSAGE_WARNING,
+ GTK_BUTTONS_YES_NO,
+ _("Overwrite file?"),
+- secondary,
+- NULL);
++ secondary);
+ g_free(secondary);
+
+ gtk_dialog_set_default_response(GTK_DIALOG(confirmation_dialog), GTK_RESPONSE_NO); /* safe default */
diff --git a/textproc/gnome-translate/files/patch-src_gt-util.c b/textproc/gnome-translate/files/patch-src_gt-util.c
new file mode 100644
index 000000000..018bc25af
--- /dev/null
+++ b/textproc/gnome-translate/files/patch-src_gt-util.c
@@ -0,0 +1,12 @@
+--- src/gt-util.c.orig Mon May 1 20:00:48 2006
++++ src/gt-util.c Mon May 1 20:01:35 2006
+@@ -53,8 +53,7 @@
+ GTK_MESSAGE_ERROR,
+ GTK_BUTTONS_OK,
+ primary,
+- secondary,
+- NULL);
++ secondary);
+
+ if (blocking)
+ {
diff --git a/textproc/gnome-translate/pkg-descr b/textproc/gnome-translate/pkg-descr
new file mode 100644
index 000000000..6db7e3be7
--- /dev/null
+++ b/textproc/gnome-translate/pkg-descr
@@ -0,0 +1,8 @@
+GNOME Translate is a natural language translator. It can translate a
+text or web page between several natural languages, and it can
+automatically detect the source language as you type.
+
+WWW: http://www.nongnu.org/libtranslate/
+
+- Jean-Yves Lefort
+jylefort@FreeBSD.org
diff --git a/textproc/gnome-translate/pkg-plist b/textproc/gnome-translate/pkg-plist
new file mode 100644
index 000000000..1c1ba0431
--- /dev/null
+++ b/textproc/gnome-translate/pkg-plist
@@ -0,0 +1,32 @@
+bin/gnome-translate
+share/gnome/applications/gnome-translate.desktop
+share/gnome/gnome-translate/ui/app.glade
+share/gnome/gnome-translate/ui/edit-toolbars.glade
+share/gnome/gnome-translate/ui/hand-open.png
+share/gnome/gnome-translate/ui/logo.png
+share/gnome/gnome-translate/ui/menus.xml
+share/gnome/gnome-translate/ui/preferences.glade
+share/gnome/gnome-translate/ui/toolbars.xml
+share/gnome/gnome-translate/ui/translate-web-page.glade
+share/gnome/help/gnome-translate/C/documentation-license.xml
+share/gnome/help/gnome-translate/C/figures/main-window.png
+share/gnome/help/gnome-translate/C/gnome-translate.xml
+share/gnome/help/gnome-translate/C/software-license.xml
+share/gnome/omf/gnome-translate/gnome-translate-C.omf
+share/gnome/pixmaps/gnome-translate.png
+share/icons/hicolor/16x16/apps/gnome-translate-web-page.png
+share/icons/hicolor/16x16/apps/gnome-translate.png
+share/icons/hicolor/24x24/apps/gnome-translate-web-page.png
+share/icons/hicolor/24x24/apps/gnome-translate.png
+share/icons/hicolor/32x32/apps/gnome-translate-swap-panes.png
+share/icons/hicolor/32x32/apps/gnome-translate-web-page.png
+share/icons/hicolor/32x32/apps/gnome-translate.png
+share/icons/hicolor/48x48/apps/gnome-translate-web-page.png
+share/icons/hicolor/48x48/apps/gnome-translate.png
+share/locale/fr/LC_MESSAGES/gnome-translate.mo
+@dirrm share/gnome/gnome-translate/ui
+@dirrm share/gnome/gnome-translate
+@dirrm share/gnome/help/gnome-translate/C/figures
+@dirrm share/gnome/help/gnome-translate/C
+@dirrm share/gnome/help/gnome-translate
+@dirrm share/gnome/omf/gnome-translate