diff options
author | jylefort <jylefort@FreeBSD.org> | 2005-11-30 02:40:51 +0800 |
---|---|---|
committer | jylefort <jylefort@FreeBSD.org> | 2005-11-30 02:40:51 +0800 |
commit | f113c7281ef8567a4d24685fbbd541bf975cf085 (patch) | |
tree | 55336f6ed58e17c15049606691d1998a199e1bfd /french | |
parent | 6e809fbe8c2ccdbbabfcc55f462d45e6ee66197f (diff) | |
download | freebsd-ports-graphics-f113c7281ef8567a4d24685fbbd541bf975cf085.tar.gz freebsd-ports-graphics-f113c7281ef8567a4d24685fbbd541bf975cf085.tar.zst freebsd-ports-graphics-f113c7281ef8567a4d24685fbbd541bf975cf085.zip |
Add verbiste and gnome-verbiste.
Verbiste is a French conjugation system. It contains a C++ library, and two
programs that can be run from the command line or from another program. The
knowledge base is represented in XML and contains over 6800 verbs.
GNOME Verbiste is a GNOME frontend to the Verbiste French conjugation
system. It contains a GNOME program and a GNOME Panel applet. This applet
shows a text field in the GNOME Panel where the user can enter a conjugated
verb and obtain its complete conjugation.
WWW: http://sarrazip.com/dev/verbiste.html
PR: ports/89407
Submitted by: Dan Phillips <dan-ports@dp.id.au>
Diffstat (limited to 'french')
-rw-r--r-- | french/Makefile | 2 | ||||
-rw-r--r-- | french/gnome-verbiste/Makefile | 36 | ||||
-rw-r--r-- | french/gnome-verbiste/files/patch-Makefile.in | 12 | ||||
-rw-r--r-- | french/gnome-verbiste/pkg-descr | 6 | ||||
-rw-r--r-- | french/gnome-verbiste/pkg-plist | 6 | ||||
-rw-r--r-- | french/verbiste/Makefile | 46 | ||||
-rw-r--r-- | french/verbiste/distinfo | 3 | ||||
-rw-r--r-- | french/verbiste/files/lib-patch-Makefile.in | 15 | ||||
-rw-r--r-- | french/verbiste/files/lib-patch-src_verbiste_FrenchVerbDictionary.cpp | 20 | ||||
-rw-r--r-- | french/verbiste/files/patch-configure | 16 | ||||
-rw-r--r-- | french/verbiste/pkg-descr | 5 | ||||
-rw-r--r-- | french/verbiste/pkg-plist | 32 |
12 files changed, 199 insertions, 0 deletions
diff --git a/french/Makefile b/french/Makefile index 3cde24eb2a3..b2c8ebe270b 100644 --- a/french/Makefile +++ b/french/Makefile @@ -13,6 +13,7 @@ SUBDIR += geonext SUBDIR += gfaim SUBDIR += gibi + SUBDIR += gnome-verbiste SUBDIR += homard SUBDIR += ispell SUBDIR += jdictionary-fre-hun @@ -23,6 +24,7 @@ SUBDIR += php_doc SUBDIR += plgrenouille SUBDIR += staroffice52 + SUBDIR += verbiste SUBDIR += xtel .include <bsd.port.subdir.mk> diff --git a/french/gnome-verbiste/Makefile b/french/gnome-verbiste/Makefile new file mode 100644 index 00000000000..7493cf4f30d --- /dev/null +++ b/french/gnome-verbiste/Makefile @@ -0,0 +1,36 @@ +# New ports collection makefile for: gnome-verbiste +# Date created: 29 November 2005 +# Whom: Jean-Yves Lefort <jylefort@FreeBSD.org> +# +# $FreeBSD$ +# + +PKGNAMEPREFIX= fr-gnome- + +COMMENT= French verb conjugator/deconjugator (GNOME program and applet) + +LIB_DEPENDS= verbiste-0.1:${PORTSDIR}/french/verbiste + +USE_X_PREFIX= yes +USE_REINPLACE= yes +USE_GNOME= gnomepanel +CONFIGURE_ARGS= --with-gnome + +MASTERDIR= ${.CURDIR}/../verbiste + +EXTRA_PATCHES= ${.CURDIR}/files/patch-* +DESCR= ${.CURDIR}/pkg-descr +PLIST= ${.CURDIR}/pkg-plist + +post-patch: + @${REINPLACE_CMD} -e '/^SUBDIRS =/ s|po||; /^SUBDIRS =/ s|examples||' \ + ${WRKSRC}/Makefile.in + @${REINPLACE_CMD} -e '/^SUBDIRS =/ s|verbiste commands||' \ + ${WRKSRC}/src/Makefile.in + @${REINPLACE_CMD} -e 's|^localedir = .*|localedir = ${LOCALBASE}/share/locale|' \ + ${WRKSRC}/src/gnome/Makefile.in + @${REINPLACE_CMD} -e 's|\.\./verbiste/libverbiste-$$(API)\.la|-lverbiste-$$(API)|; \ + /^libdatadir =/ s|$$(datadir)|${LOCALBASE}/share|' \ + ${WRKSRC}/src/gui/Makefile.in ${WRKSRC}/src/gnome/Makefile.in + +.include "${MASTERDIR}/Makefile" diff --git a/french/gnome-verbiste/files/patch-Makefile.in b/french/gnome-verbiste/files/patch-Makefile.in new file mode 100644 index 00000000000..81c2977a3af --- /dev/null +++ b/french/gnome-verbiste/files/patch-Makefile.in @@ -0,0 +1,12 @@ +--- Makefile.in.orig Tue Nov 29 18:27:47 2005 ++++ Makefile.in Tue Nov 29 18:28:39 2005 +@@ -892,8 +892,7 @@ + + info-am: + +-install-data-am: install-docDATA install-frman1DATA install-frman3DATA \ +- install-libdataDATA install-man install-pkgconfigDATA ++install-data-am: + + install-exec-am: + diff --git a/french/gnome-verbiste/pkg-descr b/french/gnome-verbiste/pkg-descr new file mode 100644 index 00000000000..1d8c9a34d84 --- /dev/null +++ b/french/gnome-verbiste/pkg-descr @@ -0,0 +1,6 @@ +GNOME Verbiste is a GNOME frontend to the Verbiste French conjugation +system. It contains a GNOME program and a GNOME Panel applet. This applet +shows a text field in the GNOME Panel where the user can enter a conjugated +verb and obtain its complete conjugation. + +WWW: http://sarrazip.com/dev/verbiste.html diff --git a/french/gnome-verbiste/pkg-plist b/french/gnome-verbiste/pkg-plist new file mode 100644 index 00000000000..7ef2a6fb104 --- /dev/null +++ b/french/gnome-verbiste/pkg-plist @@ -0,0 +1,6 @@ +bin/verbiste +libdata/bonobo/servers/verbiste.server +libexec/verbiste-applet +share/applications/verbiste.desktop +@unexec rmdir %B 2>/dev/null || true +share/pixmaps/verbiste.png diff --git a/french/verbiste/Makefile b/french/verbiste/Makefile new file mode 100644 index 00000000000..00ff965a95c --- /dev/null +++ b/french/verbiste/Makefile @@ -0,0 +1,46 @@ +# New ports collection makefile for: verbiste +# Date created: 16 November 2005 +# Whom: Dan Phillips <dan-ports@dp.id.au> +# +# $FreeBSD$ +# + +PORTNAME= verbiste +PORTVERSION= 0.1.13 +CATEGORIES= french textproc +MASTER_SITES= http://www3.sympatico.ca/sarrazip/dev/ + +MAINTAINER= dan-ports@dp.id.au +COMMENT?= French verb conjugator/deconjugator + +USE_GETTEXT= yes +USE_GNOME+= gnomehack ltverhack libxml2 +USE_GMAKE= yes +USE_AUTOTOOLS= libtool:15 + +CPPFLAGS= -I${LOCALBASE}/include +LDFLAGS= -L${LOCALBASE}/lib +CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}" + +.if !defined(PKGNAMEPREFIX) + +USE_GETOPT_LONG=yes +USE_ICONV= yes +INSTALLS_SHLIB= yes + +MAN1= french-conjugator.1 french-deconjugator.1 +MAN3= verbiste.3 +MANLANG= "" fr + +EXTRA_PATCHES= ${FILESDIR}/lib-patch-* + +post-install: + ${MKDIR} ${EXAMPLESDIR} +.for f in README *.java *.c + ${INSTALL_DATA} ${WRKSRC}/examples/${f} ${EXAMPLESDIR} +.endfor + ${INSTALL_SCRIPT} ${WRKSRC}/examples/*.pl ${EXAMPLESDIR} + +.endif + +.include <bsd.port.mk> diff --git a/french/verbiste/distinfo b/french/verbiste/distinfo new file mode 100644 index 00000000000..7c3f491a44f --- /dev/null +++ b/french/verbiste/distinfo @@ -0,0 +1,3 @@ +MD5 (verbiste-0.1.13.tar.gz) = 972ae6c8136761e51755f6c193ab0626 +SHA256 (verbiste-0.1.13.tar.gz) = efe004056b82aef286b3c835b44b19e821e1b7bf3644f51bae7c4f4d2fc22185 +SIZE (verbiste-0.1.13.tar.gz) = 549663 diff --git a/french/verbiste/files/lib-patch-Makefile.in b/french/verbiste/files/lib-patch-Makefile.in new file mode 100644 index 00000000000..06e07971ead --- /dev/null +++ b/french/verbiste/files/lib-patch-Makefile.in @@ -0,0 +1,15 @@ +--- Makefile.in.orig Tue Nov 29 16:23:13 2005 ++++ Makefile.in Tue Nov 29 16:23:33 2005 +@@ -277,11 +277,9 @@ + data/conjugation-fr.xml \ + data/verbs-fr.xml + +-docdir = $(datadir)/doc/$(PACKAGE)-$(VERSION) ++docdir = $(datadir)/doc/$(PACKAGE) + doc_DATA = \ + AUTHORS \ +- COPYING \ +- INSTALL \ + NEWS \ + README \ + TODO \ diff --git a/french/verbiste/files/lib-patch-src_verbiste_FrenchVerbDictionary.cpp b/french/verbiste/files/lib-patch-src_verbiste_FrenchVerbDictionary.cpp new file mode 100644 index 00000000000..1b9d71d845c --- /dev/null +++ b/french/verbiste/files/lib-patch-src_verbiste_FrenchVerbDictionary.cpp @@ -0,0 +1,20 @@ +--- src/verbiste/FrenchVerbDictionary.cpp.orig Sun Mar 13 14:03:26 2005 ++++ src/verbiste/FrenchVerbDictionary.cpp Sat Nov 5 21:32:23 2005 +@@ -655,7 +655,7 @@ + char *inbuf = strcpy(new char[inbytesleft], latin1String.c_str()); + char *outbuf = new char[outbytesleft]; + +- char *in = inbuf; ++ const char *in = inbuf; + char *out = outbuf; + if (iconv(toUTF8, &in, &inbytesleft, &out, &outbytesleft) == (size_t) -1) + { +@@ -681,7 +681,7 @@ + char *inbuf = strcpy(new char[inbytesleft], utf8String.c_str()); + char *outbuf = new char[outbytesleft]; + +- char *in = inbuf; ++ const char *in = inbuf; + char *out = outbuf; + if (iconv(toLatin1, &in, &inbytesleft, &out, &outbytesleft) == (size_t) -1) + { diff --git a/french/verbiste/files/patch-configure b/french/verbiste/files/patch-configure new file mode 100644 index 00000000000..9381d1315f6 --- /dev/null +++ b/french/verbiste/files/patch-configure @@ -0,0 +1,16 @@ +--- configure.orig Wed Nov 23 13:10:32 2005 ++++ configure Wed Nov 23 13:10:55 2005 +@@ -23960,12 +23960,11 @@ + #ifdef __cplusplus + "C" + #endif +-const char *_nl_expand_alias (); + int + main () + { + bindtextdomain ("", ""); +-return (int) gettext ("") + _nl_msg_cat_cntr + *_nl_expand_alias (0) ++return (int) gettext ("") + _nl_msg_cat_cntr + ; + return 0; + } diff --git a/french/verbiste/pkg-descr b/french/verbiste/pkg-descr new file mode 100644 index 00000000000..380e8fd5f61 --- /dev/null +++ b/french/verbiste/pkg-descr @@ -0,0 +1,5 @@ +Verbiste is a French conjugation system. It contains a C++ library, and two +programs that can be run from the command line or from another program. The +knowledge base is represented in XML and contains over 6800 verbs. + +WWW: http://sarrazip.com/dev/verbiste.html diff --git a/french/verbiste/pkg-plist b/french/verbiste/pkg-plist new file mode 100644 index 00000000000..e3d7e10c5e9 --- /dev/null +++ b/french/verbiste/pkg-plist @@ -0,0 +1,32 @@ +bin/french-conjugator +bin/french-deconjugator +include/verbiste-0.1/verbiste/FrenchVerbDictionary.h +include/verbiste-0.1/verbiste/HashMap.h +include/verbiste-0.1/verbiste/Trie.cpp +include/verbiste-0.1/verbiste/Trie.h +include/verbiste-0.1/verbiste/c-api.h +include/verbiste-0.1/verbiste/misc-types.h +lib/libverbiste-0.1.a +lib/libverbiste-0.1.so +lib/libverbiste-0.1.so.0 +libdata/pkgconfig/verbiste-0.1.pc +share/locale/fr/LC_MESSAGES/verbiste.mo +share/verbiste-0.1/conjugation-fr.xml +share/verbiste-0.1/verbs-fr.xml +%%DOCSDIR%%/AUTHORS +%%DOCSDIR%%/HACKING +%%DOCSDIR%%/LISEZMOI +%%DOCSDIR%%/NEWS +%%DOCSDIR%%/README +%%DOCSDIR%%/TODO +%%EXAMPLESDIR%%/FrenchDeconjugatorTester.java +%%EXAMPLESDIR%%/README +%%EXAMPLESDIR%%/conjugator.c +%%EXAMPLESDIR%%/deconjugator.c +%%EXAMPLESDIR%%/test-french-deconjugator.pl +%%EXAMPLESDIR%%/trans-tenses.pl +@dirrm include/verbiste-0.1/verbiste +@dirrm include/verbiste-0.1 +@dirrm share/verbiste-0.1 +@dirrm %%DOCSDIR%% +@dirrm %%EXAMPLESDIR%% |