diff options
Diffstat (limited to 'deskutils')
-rw-r--r-- | deskutils/Makefile | 1 | ||||
-rw-r--r-- | deskutils/babytrans/Makefile | 38 | ||||
-rw-r--r-- | deskutils/babytrans/distinfo | 1 | ||||
-rw-r--r-- | deskutils/babytrans/files/patch-it.po | 13 | ||||
-rw-r--r-- | deskutils/babytrans/pkg-comment | 1 | ||||
-rw-r--r-- | deskutils/babytrans/pkg-descr | 6 | ||||
-rw-r--r-- | deskutils/babytrans/pkg-message | 6 | ||||
-rw-r--r-- | deskutils/babytrans/pkg-plist | 10 |
8 files changed, 76 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile index 38d42932bfb5..4f333bf31dd9 100644 --- a/deskutils/Makefile +++ b/deskutils/Makefile @@ -3,6 +3,7 @@ SUBDIR += abacus SUBDIR += aspostit + SUBDIR += babytrans SUBDIR += bigyear SUBDIR += bulb SUBDIR += cal diff --git a/deskutils/babytrans/Makefile b/deskutils/babytrans/Makefile new file mode 100644 index 000000000000..cdf137106059 --- /dev/null +++ b/deskutils/babytrans/Makefile @@ -0,0 +1,38 @@ +# ex:ts=8 +# New ports collection makefile for: babytrans +# Date created: 18 September 2002 +# Whom: Frederic Cambus +# +# $FreeBSD$ +# + +PORTNAME= babytrans +PORTVERSION= 0.9.1 +CATEGORIES= deskutils +MASTER_SITES= http://fjolliton.free.fr/babytrans/ + +MAINTAINER= ports@FreeBSD.org + +LIB_DEPENDS= intl.4:${PORTSDIR}/devel/gettext + +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GNOMENG= yes +USE_GNOME= gtk12 gnomehack gnomeprefix +GNU_CONFIGURE= yes +CONFIGURE_ENV= CPPFLAGS="${CXXFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" +USE_GMAKE= yes + +post-patch: +.for file in de es fr pt_BR + @${REINPLACE_CMD} -e "s|CHARSET|ISO-8859-1|" \ + -e "s|ENCODING|8bit|" ${WRKSRC}/po/${file}.po +.endfor + +post-install: + @${MKDIR} ${DATADIR} + ${INSTALL_DATA} ${WRKSRC}/config-file/dictionary ${DATADIR} + @${CAT} ${PKGMESSAGE} | ${SED} "s|%%DATADIR%%|${DATADIR}|" + +.include <bsd.port.mk> diff --git a/deskutils/babytrans/distinfo b/deskutils/babytrans/distinfo new file mode 100644 index 000000000000..977393db0aba --- /dev/null +++ b/deskutils/babytrans/distinfo @@ -0,0 +1 @@ +MD5 (babytrans-0.9.1.tar.gz) = fa8a447a2f1dd0dc187628583dbca79e diff --git a/deskutils/babytrans/files/patch-it.po b/deskutils/babytrans/files/patch-it.po new file mode 100644 index 000000000000..2b548da34113 --- /dev/null +++ b/deskutils/babytrans/files/patch-it.po @@ -0,0 +1,13 @@ +--- po/it.po.orig Mon Apr 3 04:02:43 2000 ++++ po/it.po Thu Feb 13 08:30:31 2003 +@@ -235,10 +235,6 @@ + msgid "Help for Babytrans" + msgstr "Aiuto per Babytrans" + +-#: src/main.cc:992 +-msgid "Auto mode active" +-msgstr "Modalità automatica attiva" +- + #: src/main.cc:1068 + msgid "Invalid selection" + msgstr "Selezione non valida" diff --git a/deskutils/babytrans/pkg-comment b/deskutils/babytrans/pkg-comment new file mode 100644 index 000000000000..62c27c574b37 --- /dev/null +++ b/deskutils/babytrans/pkg-comment @@ -0,0 +1 @@ +GTK+/GNOME front-end for Babylon Translator .dic files diff --git a/deskutils/babytrans/pkg-descr b/deskutils/babytrans/pkg-descr new file mode 100644 index 000000000000..cfdcb2e3b51c --- /dev/null +++ b/deskutils/babytrans/pkg-descr @@ -0,0 +1,6 @@ +Babytrans is a graphical front-end for GTK+/Gnome that allows you to use the +dictionaries from Babylon Translator software available under Windows. It use +only the old dictionnary format (.dic) and do not handle (yet) the new +format (.bgl/.dat). + +WWW: http://fjolliton.free.fr/babytrans/ diff --git a/deskutils/babytrans/pkg-message b/deskutils/babytrans/pkg-message new file mode 100644 index 000000000000..7b8827d80f78 --- /dev/null +++ b/deskutils/babytrans/pkg-message @@ -0,0 +1,6 @@ +====================================================================== +Babytrans is now installed! Go to: http://www.babylon.com and download +the dictionaries that suit your needs. Use unzip to decompress the +.EXE file you downloaded, and modify the configuration file located in +%%DATADIR%%/dictionary +====================================================================== diff --git a/deskutils/babytrans/pkg-plist b/deskutils/babytrans/pkg-plist new file mode 100644 index 000000000000..1c36495c2284 --- /dev/null +++ b/deskutils/babytrans/pkg-plist @@ -0,0 +1,10 @@ +bin/babytrans +etc/CORBA/servers/babytrans.gnorba +share/gnome/applets/Utility/babytrans.desktop +share/locale/es/LC_MESSAGES/babytrans.mo +share/locale/de/LC_MESSAGES/babytrans.mo +share/locale/fr/LC_MESSAGES/babytrans.mo +share/locale/it/LC_MESSAGES/babytrans.mo +share/locale/pt_BR/LC_MESSAGES/babytrans.mo +%%DATADIR%%/dictionary +@dirrm %%DATADIR%% |