aboutsummaryrefslogtreecommitdiffstats
path: root/textproc
diff options
context:
space:
mode:
authornaddy <naddy@FreeBSD.org>2004-03-14 20:21:54 +0800
committernaddy <naddy@FreeBSD.org>2004-03-14 20:21:54 +0800
commitd73a79ced7f2f7085d72ee1a76077e0f500eda29 (patch)
tree6dac81eea103de420d8a8b1ea5902ee8592c1e36 /textproc
parent954e1c3246ae3acb72713dda429baa762013c069 (diff)
downloadfreebsd-ports-graphics-d73a79ced7f2f7085d72ee1a76077e0f500eda29.tar.gz
freebsd-ports-graphics-d73a79ced7f2f7085d72ee1a76077e0f500eda29.tar.zst
freebsd-ports-graphics-d73a79ced7f2f7085d72ee1a76077e0f500eda29.zip
Move textproc/dico to french/dico.
Approved: maintainer
Diffstat (limited to 'textproc')
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/dico/Makefile59
-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.c347
-rw-r--r--textproc/dico/pkg-descr15
-rw-r--r--textproc/dico/pkg-plist33
12 files changed, 0 insertions, 500 deletions
diff --git a/textproc/Makefile b/textproc/Makefile
index e165b8f7da8..385b44ead2c 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -47,7 +47,6 @@
SUBDIR += dadadodo
SUBDIR += dbacl
SUBDIR += denature
- SUBDIR += dico
SUBDIR += dict
SUBDIR += dictfmt
SUBDIR += dictionary
diff --git a/textproc/dico/Makefile b/textproc/dico/Makefile
deleted file mode 100644
index b83af49b3b3..00000000000
--- a/textproc/dico/Makefile
+++ /dev/null
@@ -1,59 +0,0 @@
-# New ports collection makefile for: dico
-# Date created: 11 October 2000
-# Whom: Cyrille Lefevre <clefevre@citeweb.net>
-#
-# $FreeBSD$
-#
-
-PORTNAME= dico
-PORTVERSION= 1.1
-PORTREVISION= 4
-CATEGORIES= textproc
-MASTER_SITES= http://homepages.starnet.fr/dtrystram/
-# http://www.montefiore.ulg.ac.be/~geuzaine/BRONNE/WWW/ftp/ le_dico.tgz
-# ftp://ftp.supelec.fr/lsi/pub/security/ le_dico.tar.gz
-# http://homepages.starnet.fr/dtrystram/ ledico.zip
-# http://hpux.cict.fr/ftp/hpux/Text/ dico-1.1/dico-1.1-ss-11.00.tar.gz
-# ftp://ftp.ac-amiens.fr/pub/Educatifs_fr/Francais ledico.zip
-DISTNAME= ledico
-
-MAINTAINER= cyrille.lefevre@laposte.net
-COMMENT= Interactive dictionary in french
-BROKEN_WWW= http://www.montefiore.ulg.ac.be/cgi-bin-ulg/DICO.html
-
-# Global variables
-#
-
-USE_REINPLACE= true
-USE_ZIP= true
-EXTRACT_CMD= UNZIP= unzip
-WRKSRC= ${WRKDIR}/${PORTNAME}
-USE_AUTOMAKE_VER= 14
-USE_GMAKE= true
-AUTOMAKE_ARGS= --add-missing --foreign --include-deps
-MAKE_ARGS= prefix=${PREFIX}
-MAN1= dico.1
-REINPLACE_SUB= PREFIX=${PREFIX}
-
-# Post-patch
-#
-
-post-patch:
- @${REINPLACE_CMD} ${REINPLACE_SUB:S/$/!g/:S/^/ -e s!%%/:S/=/%%!/} \
- ${WRKSRC}/sources/dico.c
-
-# Pre-configure
-#
-
-pre-configure:
- @cd ${WRKSRC} && ${ACLOCAL}
-
-# Post-install
-#
-
-post-install:
-.if defined(NOPORTDOCS)
- @${RM} -rf ${DOCSDIR}
-.endif
-
-.include <bsd.port.mk>
diff --git a/textproc/dico/distinfo b/textproc/dico/distinfo
deleted file mode 100644
index 3faf8157a41..00000000000
--- a/textproc/dico/distinfo
+++ /dev/null
@@ -1 +0,0 @@
-MD5 (ledico.zip) = 3cd23e5ebf760cac2c8745fe342a86c3
diff --git a/textproc/dico/files/patch-Makefile.am b/textproc/dico/files/patch-Makefile.am
deleted file mode 100644
index f2e7f0e4642..00000000000
--- a/textproc/dico/files/patch-Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
---- /dev/null Thu Jan 1 01:00:00 1970
-+++ 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
deleted file mode 100644
index 832ee4d5ce4..00000000000
--- a/textproc/dico/files/patch-configure.in
+++ /dev/null
@@ -1,7 +0,0 @@
---- /dev/null Thu Jan 1 01:00:00 1970
-+++ 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
deleted file mode 100644
index 3d164d3e962..00000000000
--- a/textproc/dico/files/patch-lexique-Makefile.am
+++ /dev/null
@@ -1,7 +0,0 @@
---- /dev/null Thu Jan 1 01:00:00 1970
-+++ 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
deleted file mode 100644
index 97926141b99..00000000000
--- a/textproc/dico/files/patch-lexique-version.dic
+++ /dev/null
@@ -1,9 +0,0 @@
---- 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
deleted file mode 100644
index 8bfc4f7e96b..00000000000
--- a/textproc/dico/files/patch-manuel-Makefile.am
+++ /dev/null
@@ -1,10 +0,0 @@
---- /dev/null Thu Jan 1 01:00:00 1970
-+++ 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
deleted file mode 100644
index 486ee5a9feb..00000000000
--- a/textproc/dico/files/patch-sources-Makefile.am
+++ /dev/null
@@ -1,4 +0,0 @@
---- /dev/null Thu Jan 1 01:00:00 1970
-+++ 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
deleted file mode 100644
index 82849cd446b..00000000000
--- a/textproc/dico/files/patch-sources-dico.c
+++ /dev/null
@@ -1,347 +0,0 @@
---- sources/dico.c.orig Sat Oct 24 16:16:30 1992
-+++ sources/dico.c Fri Mar 12 22:01:31 2004
-@@ -19,6 +19,7 @@
- | |
- +-----------------------------------------------------------------------+
- */
-+#ifndef __FreeBSD__
- #ifndef LINUX
- #ifndef sony
- #ifndef MSDOS
-@@ -26,6 +27,7 @@
- #endif
- #endif
- #endif
-+#endif
-
- #ifdef sony /* Sony News WorkStations */
- #define UNIX
-@@ -40,6 +42,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
-@@ -49,7 +57,7 @@
- #define ISO_TERM 3
- #define COMMENT_CHAR 35 /* '#' ligne de commentaire */
-
--#define DICT_PATH "/usr/local/lib/dico" /* path par defaut unix/dos */
-+#define DICT_PATH "%%PREFIX%%/share/dico" /* path par defaut unix/dos */
- #define DOS_PATH "lexique" /* path par defaut Dos uniquement */
- #define DICT_EXT ".dic" /* extension des fichiers dicos */
- #define VERSION_FILE "version.dic" /* fichier texte version dico */
-@@ -58,11 +66,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;
-
-@@ -78,14 +88,28 @@
- byte *StrUpr ( byte *str);
- byte *StrLwr ( byte *str);
- byte *StrAscii( byte *str);
-+void translate( byte *str );
- byte equival( byte c );
--byte *beautify( byte *str);
--void lookfor();
--void lookall();
-+char *beautify(char *);
-+void lookfor(byte *);
-+void lookall(byte *);
- #ifdef MSDOS
- void GetDosPath(char *path);
- void TakePath (char *path);
- #endif
-+void file_usage(void);
-+int usage(void);
-+int options(int);
-+int isjoker(int);
-+void mybanner(void);
-+int countwords(void);
-+void nolf(char *);
-+int fmatch(char *_fname, char *_pat);
-+int match(char *_fname, char *_pat);
-+void StrIBM(byte *);
-+void StrISO(byte *);
-+void iso2ibm(unsigned char *);
-+void ibm2iso(unsigned char *);
-
- #ifdef MSDOS
- char *sep = "\\";
-@@ -111,7 +135,7 @@
- /*
- * Code...
- */
--
-+int
- main( int argc, char **argv )
- {
- char *dic,*term ;
-@@ -145,17 +169,21 @@
- if(argv[1][0] =='-') /* option ligne commande?*/
- return options( argv[1][1] );
-
-+#ifndef __FreeBSD__
- mybanner(); /* on dit bonjour... */
-+#endif
-
- while( --argc) /* Allez, roulez ! */
- {
- if( isjoker (argv[argc][0] ) )
-- lookall( argv[argc] );
-+ lookall( (byte *)argv[argc] );
- else
-- lookfor( argv[argc] );
-+ lookfor( (byte *)argv[argc] );
- }
-
-+#ifndef __FreeBSD__
- fprintf(stderr,"\nTrouve %ld mot%s\n",count, count > 1 ? "s" :"" );
-+#endif
-
- return OK ;
- }
-@@ -169,7 +197,7 @@
- *
- *
- */
--
-+void
- file_usage()
- {
- #ifndef MSDOS /* Cas normal */
-@@ -211,6 +239,7 @@
- *
- *
- */
-+int
- usage()
- {
- fprintf(stderr,"\n\nDico - R.Cougnenc 1992 - Recherche dans lexique ");
-@@ -251,13 +280,14 @@
- * Pour l'instant, il n'y en que deux :-)
- *
- */
--options( char *c )
-+int
-+options( int c )
- {
- char fname[127] ;
- char buf[80];
- FILE *fp ;
-
-- switch ( (int) c )
-+ switch ( c )
- {
- case 'v': /* Affiche la date mise a jour dico, fichier version.dic */
-
-@@ -296,6 +326,7 @@
- *
- *
- */
-+ int
- countwords()
- {
- char fname[127];
-@@ -357,17 +388,20 @@
- * de l'expression pattern.
- */
- void
--lookfor ( char *pattern )
-+lookfor ( byte *pattern )
- {
- FILE *fp ;
- char fname[127];
- char buf[80];
- char sbuf[80];
-- byte car ;
--
-+#ifndef __FreeBSD__
-+ byte car;
-+#endif
- StrLwr( pattern ); /* passe en minuscules comme le dico */
-+#ifndef __FreeBSD__
- car = equival (pattern[0]);
- 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 ) ;
-
-@@ -389,11 +423,15 @@
- continue ;
- nolf( buf ); /* supprime le line-feed */
- strcpy( sbuf, buf ); /* No accent sensitive */
-- StrAscii( sbuf);
-+ StrAscii((byte *)sbuf);
- if( fmatch(sbuf,pattern) )
- {
-- translate( buf ); /* gere terminaux.... */
-+ translate( (byte *)buf ); /* gere terminaux.... */
-+#ifndef __FreeBSD__
- printf("\t%s\n", beautify(buf) );
-+#else
-+ printf("%s\n", beautify(buf) );
-+#endif
- count ++ ;
- }
- }
-@@ -410,7 +448,7 @@
- *
- */
- void
--lookall ( char *pattern )
-+lookall ( byte *pattern )
- {
- FILE *fp ;
- char fname[127];
-@@ -445,12 +483,15 @@
- continue ;
- nolf( buf ); /* supprime le line-feed */
- strcpy( sbuf, buf); /* no accent sensitive */
-- StrAscii( sbuf);
-+ StrAscii((byte *)sbuf);
- if( fmatch(sbuf,pattern) )
- {
-- translate( buf ) ;
-- buf[0] = ToUpper( buf[0] ) ;
-+ translate( (byte *)buf ) ;
-+#ifndef __FreeBSD__
- printf("\t%s\n", beautify (buf) );
-+#else
-+ printf("%s\n", beautify (buf) );
-+#endif
- count ++ ;
- }
- }
-@@ -469,7 +510,7 @@
- *
- *
- */
--
-+void
- mybanner()
- {
- printf("\nDICO V %s (%s) - R.Cougnenc 1992\n\n", __Version__, MYOS);
-@@ -484,7 +525,8 @@
- * et modifie buf en consequence.
- *
- */
--translate( char * buf)
-+void
-+translate( byte * buf)
- {
- switch ( myterm )
- {
-@@ -517,14 +559,16 @@
- * STATIQUE, ecrasee a chaque appel, contenant le
- * joli resultat :-)
- */
--byte *
--beautify ( byte * str )
-+char *
-+beautify ( char * str )
- {
-- static byte result[ 80 ];
-- byte ville[50], code[6];
-- byte *r = ville;
-+ static char result[ 80 ];
-+ char ville[50], code[6];
-+ char *r = ville;
-
-+#ifndef __FreeBSD__
- *str = ToUpper ( *str ); /* Premiere lettre... */
-+#endif
-
- if( ! strchr( str, '\t') ) /* Cas du nom commun */
- {
-@@ -559,6 +603,7 @@
- * un debut d'expressions regulieres.
- *
- */
-+int
- isjoker( int c )
- {
- switch( c )
-@@ -580,6 +625,7 @@
- * nolf: Supprime un line feed a la fin d'une chaine.
- *
- */
-+void
- nolf( char *str)
- {
- while( *str )
-@@ -604,7 +650,6 @@
-
-
- #define MATCH 1
--int match(char *_fname, char *_pat);
-
- int fmatch(char *_fname, char *_pat)
- {
-@@ -627,7 +672,7 @@
- return(match(fname, pat + -1));
- }
-
--
-+int
- match(char *_fname, char *_pat)
- {
- register char *pat, *fname;
-@@ -766,6 +811,7 @@
- *
- *
- */
-+void
- StrIBM ( byte *str )
- {
- while ( *str )
-@@ -782,6 +828,7 @@
- *
- *
- */
-+void
- StrISO ( byte *str )
- {
- while ( *str )
-@@ -862,11 +909,13 @@
- 0xb2,0xa4,0x20
- };
-
-+void
- iso2ibm( unsigned char *c )
- {
- *c = IsoTable[ *c ] ;
- }
-
-+void
- ibm2iso( unsigned char *c )
- {
- *c = TableIso[ *c ] ;
-@@ -965,9 +1014,9 @@
- {
- byte *p = str ;
-
-- while (*str)
-+ for (;*str;str++)
- {
-- *str = EquivalTable[ *str++ ] ;
-+ *str = EquivalTable[ *str ] ;
- }
-
- return p ;
diff --git a/textproc/dico/pkg-descr b/textproc/dico/pkg-descr
deleted file mode 100644
index 7cbaf12d6f2..00000000000
--- a/textproc/dico/pkg-descr
+++ /dev/null
@@ -1,15 +0,0 @@
- "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.
diff --git a/textproc/dico/pkg-plist b/textproc/dico/pkg-plist
deleted file mode 100644
index 40620e60971..00000000000
--- a/textproc/dico/pkg-plist
+++ /dev/null
@@ -1,33 +0,0 @@
-@comment $FreeBSD$
-bin/dico
-%%DATADIR%%/a.dic
-%%DATADIR%%/b.dic
-%%DATADIR%%/c.dic
-%%DATADIR%%/d.dic
-%%DATADIR%%/e.dic
-%%DATADIR%%/f.dic
-%%DATADIR%%/g.dic
-%%DATADIR%%/h.dic
-%%DATADIR%%/i.dic
-%%DATADIR%%/j.dic
-%%DATADIR%%/k.dic
-%%DATADIR%%/l.dic
-%%DATADIR%%/m.dic
-%%DATADIR%%/n.dic
-%%DATADIR%%/o.dic
-%%DATADIR%%/p.dic
-%%DATADIR%%/q.dic
-%%DATADIR%%/r.dic
-%%DATADIR%%/s.dic
-%%DATADIR%%/t.dic
-%%DATADIR%%/u.dic
-%%DATADIR%%/v.dic
-%%DATADIR%%/version.dic
-%%DATADIR%%/w.dic
-%%DATADIR%%/x.dic
-%%DATADIR%%/y.dic
-%%DATADIR%%/z.dic
-@dirrm %%DATADIR%%
-%%PORTDOCS%%%%DOCSDIR%%/README.TXT
-%%PORTDOCS%%%%DOCSDIR%%/copying.doc
-%%PORTDOCS%%@dirrm %%DOCSDIR%%