aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWill Andrews <will@FreeBSD.org>2001-03-10 17:47:33 +0000
committerWill Andrews <will@FreeBSD.org>2001-03-10 17:47:33 +0000
commite457043e831738e7911995e0fc7dc7a324409e2a (patch)
treeff3a482ac7b778800744d0e0689dce193a9d4ce6
parent70fc022f31c13667ad58359dfbf3eddc2c18da99 (diff)
downloadports-e457043e831738e7911995e0fc7dc7a324409e2a.tar.gz
ports-e457043e831738e7911995e0fc7dc7a324409e2a.zip
Add dico 1.1, an interactive dictionary in french.
PR: 21902 Submitted by: Cyrille Lefevre <clefevre@citeweb.net>
Notes
Notes: svn path=/head/; revision=39436
-rw-r--r--french/dico/Makefile32
-rw-r--r--french/dico/distinfo1
-rw-r--r--french/dico/files/patch-Makefile.am7
-rw-r--r--french/dico/files/patch-configure.in7
-rw-r--r--french/dico/files/patch-lexique-Makefile.am7
-rw-r--r--french/dico/files/patch-lexique-version.dic9
-rw-r--r--french/dico/files/patch-manuel-Makefile.am10
-rw-r--r--french/dico/files/patch-sources-Makefile.am4
-rw-r--r--french/dico/files/patch-sources-dico.c134
-rw-r--r--french/dico/pkg-comment1
-rw-r--r--french/dico/pkg-descr17
-rw-r--r--french/dico/pkg-plist34
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/dico/Makefile32
-rw-r--r--textproc/dico/distinfo1
-rw-r--r--textproc/dico/files/patch-Makefile.am7
-rw-r--r--textproc/dico/files/patch-configure.in7
-rw-r--r--textproc/dico/files/patch-lexique-Makefile.am7
-rw-r--r--textproc/dico/files/patch-lexique-version.dic9
-rw-r--r--textproc/dico/files/patch-manuel-Makefile.am10
-rw-r--r--textproc/dico/files/patch-sources-Makefile.am4
-rw-r--r--textproc/dico/files/patch-sources-dico.c134
-rw-r--r--textproc/dico/pkg-comment1
-rw-r--r--textproc/dico/pkg-descr17
-rw-r--r--textproc/dico/pkg-plist34
25 files changed, 527 insertions, 0 deletions
diff --git a/french/dico/Makefile b/french/dico/Makefile
new file mode 100644
index 000000000000..c6fdb42c3b6d
--- /dev/null
+++ b/french/dico/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: dico
+# Date created: 11 October 2000
+# Whom: Cyrille Lefevre <clefevre@citeweb.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dico
+PORTVERSION= 1.1
+CATEGORIES= textproc
+MASTER_SITES= http://www.montefiore.ulg.ac.be/~geuzaine/BRONNE/WWW/ftp/
+# ftp://ftp.supelec.fr/lsi/pub/security/
+# have dico.tar.gz which fail because of EXTRACT_SUFX
+DISTNAME= le_dico
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= clefevre@citeweb.net
+
+NO_WRKSUBDIR= true
+PATCH_STRIP= -p1
+USE_AUTOMAKE= true
+AUTOMAKE= automake --add-missing --foreign --include-deps
+ACLOCAL= aclocal
+MAN1= dico.1
+
+post-patch:
+ @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/sources/dico.c
+
+pre-configure:
+ @cd ${WRKSRC} && ${ACLOCAL}
+
+.include <bsd.port.mk>
diff --git a/french/dico/distinfo b/french/dico/distinfo
new file mode 100644
index 000000000000..9da9067e2484
--- /dev/null
+++ b/french/dico/distinfo
@@ -0,0 +1 @@
+MD5 (le_dico.tgz) = df18e084ee2468a0dfc371f752bdbad0
diff --git a/french/dico/files/patch-Makefile.am b/french/dico/files/patch-Makefile.am
new file mode 100644
index 000000000000..7e5fba1260da
--- /dev/null
+++ b/french/dico/files/patch-Makefile.am
@@ -0,0 +1,7 @@
+--- old/Makefile.am Thu Jan 1 01:00:00 1970
++++ new/Makefile.am Wed Oct 11 03:49:06 2000
+@@ -0,0 +1,4 @@
++docdir = $(datadir)/doc/dico
++doc_DATA = README.TXT
++
++SUBDIRS = sources lexique manuel
diff --git a/french/dico/files/patch-configure.in b/french/dico/files/patch-configure.in
new file mode 100644
index 000000000000..c735131a228e
--- /dev/null
+++ b/french/dico/files/patch-configure.in
@@ -0,0 +1,7 @@
+--- old/configure.in Thu Jan 1 01:00:00 1970
++++ new/configure.in Wed Oct 11 04:19:05 2000
+@@ -0,0 +1,4 @@
++AC_INIT(sources/dico.c)
++AM_INIT_AUTOMAKE(dico, 1.1)
++AC_PROG_CC
++AC_OUTPUT([Makefile sources/Makefile lexique/Makefile manuel/Makefile])
diff --git a/french/dico/files/patch-lexique-Makefile.am b/french/dico/files/patch-lexique-Makefile.am
new file mode 100644
index 000000000000..c6d008b26b5b
--- /dev/null
+++ b/french/dico/files/patch-lexique-Makefile.am
@@ -0,0 +1,7 @@
+--- old/lexique/Makefile.am Thu Jan 1 01:00:00 1970
++++ new/lexique/Makefile.am Wed Oct 11 04:40:58 2000
+@@ -0,0 +1,4 @@
++pkgdata_DATA = a.dic b.dic c.dic d.dic e.dic f.dic g.dic h.dic \
++ i.dic j.dic k.dic l.dic m.dic n.dic o.dic p.dic \
++ q.dic r.dic s.dic t.dic u.dic v.dic w.dic x.dic \
++ y.dic z.dic version.dic
diff --git a/french/dico/files/patch-lexique-version.dic b/french/dico/files/patch-lexique-version.dic
new file mode 100644
index 000000000000..97926141b99f
--- /dev/null
+++ b/french/dico/files/patch-lexique-version.dic
@@ -0,0 +1,9 @@
+--- old/lexique/version.dic Thu Jan 1 01:00:00 1970
++++ new/lexique/version.dic Wed Oct 11 04:40:35 2000
+@@ -0,0 +1,6 @@
++Derniere mise a jour: 21 Octobre 1992
++Realisee par : Rene Cougnenc
++Jeu de caracteres : ISO 8859-1 ( 8 bits Latin-1)
++
++ 94836 mots
+++ 39072 communes de France
diff --git a/french/dico/files/patch-manuel-Makefile.am b/french/dico/files/patch-manuel-Makefile.am
new file mode 100644
index 000000000000..2218415ef217
--- /dev/null
+++ b/french/dico/files/patch-manuel-Makefile.am
@@ -0,0 +1,10 @@
+--- old/manuel/Makefile.am Thu Jan 1 01:00:00 1970
++++ new/manuel/Makefile.am Wed Oct 11 03:46:58 2000
+@@ -0,0 +1,7 @@
++docdir = $(datadir)/doc/dico
++doc_DATA = copying.doc
++
++man_MANS = dico.1
++
++EXTRA_DISTS = install.doc.msdos manuel.txt msdos.doc readme.txt.msdos \
++ unix.doc
diff --git a/french/dico/files/patch-sources-Makefile.am b/french/dico/files/patch-sources-Makefile.am
new file mode 100644
index 000000000000..18e1cbe003c7
--- /dev/null
+++ b/french/dico/files/patch-sources-Makefile.am
@@ -0,0 +1,4 @@
+--- old/sources/Makefile.am Thu Jan 1 01:00:00 1970
++++ new/sources/Makefile.am Wed Oct 11 03:35:13 2000
+@@ -0,0 +1 @@
++bin_PROGRAMS = dico
diff --git a/french/dico/files/patch-sources-dico.c b/french/dico/files/patch-sources-dico.c
new file mode 100644
index 000000000000..31ce0103adbf
--- /dev/null
+++ b/french/dico/files/patch-sources-dico.c
@@ -0,0 +1,134 @@
+--- old/sources/dico.c Thu Mar 27 14:57:57 1997
++++ new/sources/dico.c Wed Oct 11 04:04:49 2000
+@@ -19,8 +19,8 @@
+ | |
+ +-----------------------------------------------------------------------+
+ */
+-#define LINUX
+
++#ifndef __FreeBSD__
+ #ifndef LINUX
+ #ifndef sony
+ #ifndef MSDOS
+@@ -28,6 +28,7 @@
+ #endif
+ #endif
+ #endif
++#endif
+
+ #ifdef sony /* Sony News WorkStations */
+ #define UNIX
+@@ -42,6 +43,12 @@
+ #define MYOS "LINUX"
+ #endif
+
++#ifdef __FreeBSD__ /* FreeBSD Operating System */
++#define UNIX
++#define ISO_CHARS
++#define MYOS "FreeBSD"
++#endif
++
+ #ifdef MSDOS /* Systeme d'operation de disque */
+ #define MYOS "MSDOS" /* Microsoft :-) */
+ #endif
+@@ -51,8 +58,11 @@
+ #define ISO_TERM 3
+ #define COMMENT_CHAR 35 /* '#' ligne de commentaire */
+
+-#define DICT_PATH "/usr/local/lib/dico" /* path par defaut unix/dos */
++#ifndef MSDOS
++#define DICT_PATH "!!PREFIX!!/share/dico" /* path par defaut unix/dos */
++#else
+ #define DOS_PATH "lexique" /* path par defaut Dos uniquement */
++#endif
+ #define DICT_EXT ".dic" /* extension des fichiers dicos */
+ #define VERSION_FILE "version.dic" /* fichier texte version dico */
+
+@@ -60,11 +70,13 @@
+ #define OK 0
+ #define MYVBUF 10240 /* pour setvbuf() eventuel */
+
++#ifndef __FreeBSD__
+ #ifndef LINUX
+ #ifndef sony
+ #define MUST_HAVE_BUF /* Linux va moins vite avec setvbuf! */
+ #endif
+ #endif
++#endif
+
+ typedef unsigned char byte;
+
+@@ -147,7 +159,9 @@
+ if(argv[1][0] =='-') /* option ligne commande?*/
+ return options( argv[1][1] );
+
++#ifndef __FreeBSD__
+ mybanner(); /* on dit bonjour... */
++#endif
+
+ while( --argc) /* Allez, roulez ! */
+ {
+@@ -157,7 +171,9 @@
+ lookfor( argv[argc] );
+ }
+
++#ifndef __FreeBSD__
+ fprintf(stderr,"\nTrouve %ld mot%s\n",count, count > 1 ? "s" :"" );
++#endif
+
+ return OK ;
+ }
+@@ -369,7 +385,9 @@
+
+ StrLwr( pattern ); /* passe en minuscules comme le dico */
+ car = equival (pattern[0]);
++#ifndef __FreeBSD__
+ fprintf(stderr, "Recherche %s dans la lettre %c... \n\n", pattern, car) ;
++#endif
+
+ sprintf(fname, "%s%s%c%s", dict_path, sep, pattern[0], DICT_EXT ) ;
+
+@@ -395,7 +413,11 @@
+ if( fmatch(sbuf,pattern) )
+ {
+ translate( buf ); /* gere terminaux.... */
++#ifndef __FreeBSD__
+ printf("\t%s\n", beautify(buf) );
++#else
++ printf("%s\n", beautify(buf) );
++#endif
+ count ++ ;
+ }
+ }
+@@ -451,8 +473,11 @@
+ if( fmatch(sbuf,pattern) )
+ {
+ translate( buf ) ;
+- buf[0] = ToUpper( buf[0] ) ;
++#ifndef __FreeBSD__
+ printf("\t%s\n", beautify (buf) );
++#else
++ printf("%s\n", beautify (buf) );
++#endif
+ count ++ ;
+ }
+ }
+@@ -474,7 +499,7 @@
+
+ mybanner()
+ {
+-/* printf("\nDICO V %s (%s) - R.Cougnenc 1992\n\n", __Version__, MYOS);*/
++ printf("\nDICO V %s (%s) - R.Cougnenc 1992\n\n", __Version__, MYOS);
+ }
+ /*--------------------------------------------------------------------------*/
+
+@@ -526,7 +551,9 @@
+ byte ville[50], code[6];
+ byte *r = ville;
+
++/* #ifndef __FreeBSD__ */
+ *str = ToUpper ( *str ); /* Premiere lettre... */
++/* #endif */
+
+ if( ! strchr( str, '\t') ) /* Cas du nom commun */
+ {
diff --git a/french/dico/pkg-comment b/french/dico/pkg-comment
new file mode 100644
index 000000000000..437a52648e5b
--- /dev/null
+++ b/french/dico/pkg-comment
@@ -0,0 +1 @@
+Interactive dictionary in french
diff --git a/french/dico/pkg-descr b/french/dico/pkg-descr
new file mode 100644
index 000000000000..e41731d59d30
--- /dev/null
+++ b/french/dico/pkg-descr
@@ -0,0 +1,17 @@
+ "Le Dico" est une premiere Francaise !
+
+Plus de 100.000 elements comportant noms communs, verbes,
+adjectifs, conjugaisons et pluriels complexes, ainsi que les
+principaux CODES POSTAUX, FRANCAIS, soigneusement elabores par un
+collectif d'utilisateurs de BBS Francais, et mis en DOMAINE
+PUBLIC au format ASCII ACCENTUE dans la mesure du possible, avec
+soit le jeu IBM pour MS/DOS, soit le jeu ISO 8859-1 pour les
+autres systemes.
+
+A French dictionary containing over 100,000 elements. These include
+common nouns, verbs, adjectives, conjugations and plurals. It also
+includes post codes. The package features a fast spell checking
+program. The documentation is in FRENCH (no English) but it should
+be fairly obvious how to use it.
+
+WWW: http://www.montefiore.ulg.ac.be/cgi-bin-ulg/DICO.html
diff --git a/french/dico/pkg-plist b/french/dico/pkg-plist
new file mode 100644
index 000000000000..c6186faf83d7
--- /dev/null
+++ b/french/dico/pkg-plist
@@ -0,0 +1,34 @@
+@name dico-1.1
+@cwd /usr/local
+bin/dico
+share/dico/a.dic
+share/dico/b.dic
+share/dico/c.dic
+share/dico/d.dic
+share/dico/e.dic
+share/dico/f.dic
+share/dico/g.dic
+share/dico/h.dic
+share/dico/i.dic
+share/dico/j.dic
+share/dico/k.dic
+share/dico/l.dic
+share/dico/m.dic
+share/dico/n.dic
+share/dico/o.dic
+share/dico/p.dic
+share/dico/q.dic
+share/dico/r.dic
+share/dico/s.dic
+share/dico/t.dic
+share/dico/u.dic
+share/dico/v.dic
+share/dico/version.dic
+share/dico/w.dic
+share/dico/x.dic
+share/dico/y.dic
+share/dico/z.dic
+@dirrm share/dico
+share/doc/dico/README.TXT
+share/doc/dico/copying.doc
+@dirrm share/doc/dico
diff --git a/textproc/Makefile b/textproc/Makefile
index 6d5b3f497b32..2d27701eefa6 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -16,6 +16,7 @@
SUBDIR += code2html
SUBDIR += cole
SUBDIR += cost
+ SUBDIR += dico
SUBDIR += dict
SUBDIR += diff-mode.el
SUBDIR += diffstat
diff --git a/textproc/dico/Makefile b/textproc/dico/Makefile
new file mode 100644
index 000000000000..c6fdb42c3b6d
--- /dev/null
+++ b/textproc/dico/Makefile
@@ -0,0 +1,32 @@
+# New ports collection makefile for: dico
+# Date created: 11 October 2000
+# Whom: Cyrille Lefevre <clefevre@citeweb.net>
+#
+# $FreeBSD$
+#
+
+PORTNAME= dico
+PORTVERSION= 1.1
+CATEGORIES= textproc
+MASTER_SITES= http://www.montefiore.ulg.ac.be/~geuzaine/BRONNE/WWW/ftp/
+# ftp://ftp.supelec.fr/lsi/pub/security/
+# have dico.tar.gz which fail because of EXTRACT_SUFX
+DISTNAME= le_dico
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= clefevre@citeweb.net
+
+NO_WRKSUBDIR= true
+PATCH_STRIP= -p1
+USE_AUTOMAKE= true
+AUTOMAKE= automake --add-missing --foreign --include-deps
+ACLOCAL= aclocal
+MAN1= dico.1
+
+post-patch:
+ @${PERL} -pi.fbsd -e 's.!!PREFIX!!.${PREFIX}.g' ${WRKSRC}/sources/dico.c
+
+pre-configure:
+ @cd ${WRKSRC} && ${ACLOCAL}
+
+.include <bsd.port.mk>
diff --git a/textproc/dico/distinfo b/textproc/dico/distinfo
new file mode 100644
index 000000000000..9da9067e2484
--- /dev/null
+++ b/textproc/dico/distinfo
@@ -0,0 +1 @@
+MD5 (le_dico.tgz) = df18e084ee2468a0dfc371f752bdbad0
diff --git a/textproc/dico/files/patch-Makefile.am b/textproc/dico/files/patch-Makefile.am
new file mode 100644
index 000000000000..7e5fba1260da
--- /dev/null
+++ b/textproc/dico/files/patch-Makefile.am
@@ -0,0 +1,7 @@
+--- old/Makefile.am Thu Jan 1 01:00:00 1970
++++ new/Makefile.am Wed Oct 11 03:49:06 2000
+@@ -0,0 +1,4 @@
++docdir = $(datadir)/doc/dico
++doc_DATA = README.TXT
++
++SUBDIRS = sources lexique manuel
diff --git a/textproc/dico/files/patch-configure.in b/textproc/dico/files/patch-configure.in
new file mode 100644
index 000000000000..c735131a228e
--- /dev/null
+++ b/textproc/dico/files/patch-configure.in
@@ -0,0 +1,7 @@
+--- old/configure.in Thu Jan 1 01:00:00 1970
++++ new/configure.in Wed Oct 11 04:19:05 2000
+@@ -0,0 +1,4 @@
++AC_INIT(sources/dico.c)
++AM_INIT_AUTOMAKE(dico, 1.1)
++AC_PROG_CC
++AC_OUTPUT([Makefile sources/Makefile lexique/Makefile manuel/Makefile])
diff --git a/textproc/dico/files/patch-lexique-Makefile.am b/textproc/dico/files/patch-lexique-Makefile.am
new file mode 100644
index 000000000000..c6d008b26b5b
--- /dev/null
+++ b/textproc/dico/files/patch-lexique-Makefile.am
@@ -0,0 +1,7 @@
+--- old/lexique/Makefile.am Thu Jan 1 01:00:00 1970
++++ new/lexique/Makefile.am Wed Oct 11 04:40:58 2000
+@@ -0,0 +1,4 @@
++pkgdata_DATA = a.dic b.dic c.dic d.dic e.dic f.dic g.dic h.dic \
++ i.dic j.dic k.dic l.dic m.dic n.dic o.dic p.dic \
++ q.dic r.dic s.dic t.dic u.dic v.dic w.dic x.dic \
++ y.dic z.dic version.dic
diff --git a/textproc/dico/files/patch-lexique-version.dic b/textproc/dico/files/patch-lexique-version.dic
new file mode 100644
index 000000000000..97926141b99f
--- /dev/null
+++ b/textproc/dico/files/patch-lexique-version.dic
@@ -0,0 +1,9 @@
+--- old/lexique/version.dic Thu Jan 1 01:00:00 1970
++++ new/lexique/version.dic Wed Oct 11 04:40:35 2000
+@@ -0,0 +1,6 @@
++Derniere mise a jour: 21 Octobre 1992
++Realisee par : Rene Cougnenc
++Jeu de caracteres : ISO 8859-1 ( 8 bits Latin-1)
++
++ 94836 mots
+++ 39072 communes de France
diff --git a/textproc/dico/files/patch-manuel-Makefile.am b/textproc/dico/files/patch-manuel-Makefile.am
new file mode 100644
index 000000000000..2218415ef217
--- /dev/null
+++ b/textproc/dico/files/patch-manuel-Makefile.am
@@ -0,0 +1,10 @@
+--- old/manuel/Makefile.am Thu Jan 1 01:00:00 1970
++++ new/manuel/Makefile.am Wed Oct 11 03:46:58 2000
+@@ -0,0 +1,7 @@
++docdir = $(datadir)/doc/dico
++doc_DATA = copying.doc
++
++man_MANS = dico.1
++
++EXTRA_DISTS = install.doc.msdos manuel.txt msdos.doc readme.txt.msdos \
++ unix.doc
diff --git a/textproc/dico/files/patch-sources-Makefile.am b/textproc/dico/files/patch-sources-Makefile.am
new file mode 100644
index 000000000000..18e1cbe003c7
--- /dev/null
+++ b/textproc/dico/files/patch-sources-Makefile.am
@@ -0,0 +1,4 @@
+--- old/sources/Makefile.am Thu Jan 1 01:00:00 1970
++++ new/sources/Makefile.am Wed Oct 11 03:35:13 2000
+@@ -0,0 +1 @@
++bin_PROGRAMS = dico
diff --git a/textproc/dico/files/patch-sources-dico.c b/textproc/dico/files/patch-sources-dico.c
new file mode 100644
index 000000000000..31ce0103adbf
--- /dev/null
+++ b/textproc/dico/files/patch-sources-dico.c
@@ -0,0 +1,134 @@
+--- old/sources/dico.c Thu Mar 27 14:57:57 1997
++++ new/sources/dico.c Wed Oct 11 04:04:49 2000
+@@ -19,8 +19,8 @@
+ | |
+ +-----------------------------------------------------------------------+
+ */
+-#define LINUX
+
++#ifndef __FreeBSD__
+ #ifndef LINUX
+ #ifndef sony
+ #ifndef MSDOS
+@@ -28,6 +28,7 @@
+ #endif
+ #endif
+ #endif
++#endif
+
+ #ifdef sony /* Sony News WorkStations */
+ #define UNIX
+@@ -42,6 +43,12 @@
+ #define MYOS "LINUX"
+ #endif
+
++#ifdef __FreeBSD__ /* FreeBSD Operating System */
++#define UNIX
++#define ISO_CHARS
++#define MYOS "FreeBSD"
++#endif
++
+ #ifdef MSDOS /* Systeme d'operation de disque */
+ #define MYOS "MSDOS" /* Microsoft :-) */
+ #endif
+@@ -51,8 +58,11 @@
+ #define ISO_TERM 3
+ #define COMMENT_CHAR 35 /* '#' ligne de commentaire */
+
+-#define DICT_PATH "/usr/local/lib/dico" /* path par defaut unix/dos */
++#ifndef MSDOS
++#define DICT_PATH "!!PREFIX!!/share/dico" /* path par defaut unix/dos */
++#else
+ #define DOS_PATH "lexique" /* path par defaut Dos uniquement */
++#endif
+ #define DICT_EXT ".dic" /* extension des fichiers dicos */
+ #define VERSION_FILE "version.dic" /* fichier texte version dico */
+
+@@ -60,11 +70,13 @@
+ #define OK 0
+ #define MYVBUF 10240 /* pour setvbuf() eventuel */
+
++#ifndef __FreeBSD__
+ #ifndef LINUX
+ #ifndef sony
+ #define MUST_HAVE_BUF /* Linux va moins vite avec setvbuf! */
+ #endif
+ #endif
++#endif
+
+ typedef unsigned char byte;
+
+@@ -147,7 +159,9 @@
+ if(argv[1][0] =='-') /* option ligne commande?*/
+ return options( argv[1][1] );
+
++#ifndef __FreeBSD__
+ mybanner(); /* on dit bonjour... */
++#endif
+
+ while( --argc) /* Allez, roulez ! */
+ {
+@@ -157,7 +171,9 @@
+ lookfor( argv[argc] );
+ }
+
++#ifndef __FreeBSD__
+ fprintf(stderr,"\nTrouve %ld mot%s\n",count, count > 1 ? "s" :"" );
++#endif
+
+ return OK ;
+ }
+@@ -369,7 +385,9 @@
+
+ StrLwr( pattern ); /* passe en minuscules comme le dico */
+ car = equival (pattern[0]);
++#ifndef __FreeBSD__
+ fprintf(stderr, "Recherche %s dans la lettre %c... \n\n", pattern, car) ;
++#endif
+
+ sprintf(fname, "%s%s%c%s", dict_path, sep, pattern[0], DICT_EXT ) ;
+
+@@ -395,7 +413,11 @@
+ if( fmatch(sbuf,pattern) )
+ {
+ translate( buf ); /* gere terminaux.... */
++#ifndef __FreeBSD__
+ printf("\t%s\n", beautify(buf) );
++#else
++ printf("%s\n", beautify(buf) );
++#endif
+ count ++ ;
+ }
+ }
+@@ -451,8 +473,11 @@
+ if( fmatch(sbuf,pattern) )
+ {
+ translate( buf ) ;
+- buf[0] = ToUpper( buf[0] ) ;
++#ifndef __FreeBSD__
+ printf("\t%s\n", beautify (buf) );
++#else
++ printf("%s\n", beautify (buf) );
++#endif
+ count ++ ;
+ }
+ }
+@@ -474,7 +499,7 @@
+
+ mybanner()
+ {
+-/* printf("\nDICO V %s (%s) - R.Cougnenc 1992\n\n", __Version__, MYOS);*/
++ printf("\nDICO V %s (%s) - R.Cougnenc 1992\n\n", __Version__, MYOS);
+ }
+ /*--------------------------------------------------------------------------*/
+
+@@ -526,7 +551,9 @@
+ byte ville[50], code[6];
+ byte *r = ville;
+
++/* #ifndef __FreeBSD__ */
+ *str = ToUpper ( *str ); /* Premiere lettre... */
++/* #endif */
+
+ if( ! strchr( str, '\t') ) /* Cas du nom commun */
+ {
diff --git a/textproc/dico/pkg-comment b/textproc/dico/pkg-comment
new file mode 100644
index 000000000000..437a52648e5b
--- /dev/null
+++ b/textproc/dico/pkg-comment
@@ -0,0 +1 @@
+Interactive dictionary in french
diff --git a/textproc/dico/pkg-descr b/textproc/dico/pkg-descr
new file mode 100644
index 000000000000..e41731d59d30
--- /dev/null
+++ b/textproc/dico/pkg-descr
@@ -0,0 +1,17 @@
+ "Le Dico" est une premiere Francaise !
+
+Plus de 100.000 elements comportant noms communs, verbes,
+adjectifs, conjugaisons et pluriels complexes, ainsi que les
+principaux CODES POSTAUX, FRANCAIS, soigneusement elabores par un
+collectif d'utilisateurs de BBS Francais, et mis en DOMAINE
+PUBLIC au format ASCII ACCENTUE dans la mesure du possible, avec
+soit le jeu IBM pour MS/DOS, soit le jeu ISO 8859-1 pour les
+autres systemes.
+
+A French dictionary containing over 100,000 elements. These include
+common nouns, verbs, adjectives, conjugations and plurals. It also
+includes post codes. The package features a fast spell checking
+program. The documentation is in FRENCH (no English) but it should
+be fairly obvious how to use it.
+
+WWW: http://www.montefiore.ulg.ac.be/cgi-bin-ulg/DICO.html
diff --git a/textproc/dico/pkg-plist b/textproc/dico/pkg-plist
new file mode 100644
index 000000000000..c6186faf83d7
--- /dev/null
+++ b/textproc/dico/pkg-plist
@@ -0,0 +1,34 @@
+@name dico-1.1
+@cwd /usr/local
+bin/dico
+share/dico/a.dic
+share/dico/b.dic
+share/dico/c.dic
+share/dico/d.dic
+share/dico/e.dic
+share/dico/f.dic
+share/dico/g.dic
+share/dico/h.dic
+share/dico/i.dic
+share/dico/j.dic
+share/dico/k.dic
+share/dico/l.dic
+share/dico/m.dic
+share/dico/n.dic
+share/dico/o.dic
+share/dico/p.dic
+share/dico/q.dic
+share/dico/r.dic
+share/dico/s.dic
+share/dico/t.dic
+share/dico/u.dic
+share/dico/v.dic
+share/dico/version.dic
+share/dico/w.dic
+share/dico/x.dic
+share/dico/y.dic
+share/dico/z.dic
+@dirrm share/dico
+share/doc/dico/README.TXT
+share/doc/dico/copying.doc
+@dirrm share/doc/dico