From 4529d15f9fdf6e7af6ae7dff86acb50a34f342e0 Mon Sep 17 00:00:00 2001 From: Thierry Thomas Date: Sun, 15 Aug 2004 16:36:23 +0000 Subject: Fix pkp-plist with some cleaning. Note: Minitel is deprecated. I shall mark this port as deprecated at the end of the year. Reported by: pointyhat --- french/xtel/Makefile | 14 +++++++----- french/xtel/files/pkg-message-fr.in | 44 +++++++++++++++++++++++++++++++++++++ french/xtel/files/pkg-message.in | 43 ++++++++++++++++++++++++++++++++++++ french/xtel/pkg-message | 43 ------------------------------------ french/xtel/pkg-message-fr | 44 ------------------------------------- french/xtel/pkg-plist | 14 +++++++----- 6 files changed, 103 insertions(+), 99 deletions(-) create mode 100644 french/xtel/files/pkg-message-fr.in create mode 100644 french/xtel/files/pkg-message.in delete mode 100644 french/xtel/pkg-message delete mode 100644 french/xtel/pkg-message-fr (limited to 'french') diff --git a/french/xtel/Makefile b/french/xtel/Makefile index d22f52e358c4..2ed6c888ae1e 100644 --- a/french/xtel/Makefile +++ b/french/xtel/Makefile @@ -11,7 +11,7 @@ PORTREVISION= 2 CATEGORIES= french comms emulators MASTER_SITES= http://pficheux.free.fr/xtel/download/ -MAINTAINER= thierry@pompo.net +MAINTAINER= thierry@FreeBSD.org COMMENT= An emulator for the french Minitel LIB_DEPENDS= jpeg.9:${PORTSDIR}/graphics/jpeg @@ -28,6 +28,8 @@ USE_REINPLACE= yes MAN1= xtel.1 xteld.1 +PKGMESSAGE= ${WRKDIR}/pkg-message + .include .if defined(LANG) @@ -64,19 +66,19 @@ post-install: .endfor @${ECHO} @(if [ 0${LANGUE} = 0fr ] ; then \ - ${ECHO_MSG} "La documentation a été installée dans ${DOCSDIR}." ; \ + ${ECHO_MSG} "===> La documentation a été installée dans ${DOCSDIR}." ; \ else \ - ${ECHO_MSG} "Documentation installed in ${DOCSDIR}." ; \ + ${ECHO_MSG} "===> Documentation installed in ${DOCSDIR}." ; \ fi) .endif @${TOUCH} ${PREFIX}/lib/X11/xtel/xtel.log @(if [ 0${LANGUE} = 0fr ] ; then \ - ${CP} ${PKGMESSAGE}-fr ${WRKDIR}/pkg-message ; \ + ${CP} ${FILESDIR}/pkg-message-fr.in ${PKGMESSAGE} ; \ else \ - ${CP} ${PKGMESSAGE} ${WRKDIR} ; \ + ${CP} ${FILESDIR}/pkg-message.in ${PKGMESSAGE} ; \ fi) @${ECHO} - @${CAT} ${WRKDIR}/pkg-message | ${SED} -e "s:%%PREFIX%%:${PREFIX}:g" + @${SED} -e "s:%%PREFIX%%:${PREFIX}:g" ${PKGMESSAGE} @${ECHO} .include diff --git a/french/xtel/files/pkg-message-fr.in b/french/xtel/files/pkg-message-fr.in new file mode 100644 index 000000000000..6b37143047bd --- /dev/null +++ b/french/xtel/files/pkg-message-fr.in @@ -0,0 +1,44 @@ +************************************************************************ +Xtel a été installé sur %%PREFIX%%/bin/xtel. + +Pour pouvoir l'utiliser, vous devez modifier le fichier /etc/services +et y ajouter la ligne : + +xtel 1313/tcp #xtel emulateur Minitel + +Vous devez ensuite modifier le fichier /etc/inetd.conf (ou son +équivalent si vous utilisez un autre super-démon) pour y ajouter la +ligne : + +xtel stream tcp nowait root %%PREFIX%%/bin/xteld xteld + +Forcez le super-démon à relire son fichier de configuration par +killall -1 inetd + +Si votre modem est connecté à /dev/cuaax (où x = 0, 1, 2,...) +détectez sa chaîne d'initialisation par : + +mdmdetect cuaax + +Après quelques instants pendant lesquels votre ordinateur doit dialoguer +avec le modem, une ligne semblable à la suivante doit s'afficher : + +ModèleModem , 38400 \dat&fm1e0&k3f3\r-OK + +Notez le deuxième paramètre (vitesse) et le dernier, et reportez-les +dans le fichier %%PREFIX%%/lib/X11/xtel/xtel.lignes de façon à avoir +une ligne telle que : + +modem0,/dev/cuaa0,38400,7,E,\dat&fm1e0&k3f3\r OK atdt\T\r CONNECT,30 + +où cuaa0 doit être adapté à votre n° de port, 38400 à la vitesse +détectée par mdmdetect, et où la chaîne comprise entre "E," et "atdt" +correspond au troisième paramètre (Notez que le "-" est remplacé par +un blanc). + +Il ne reste plus qu'à installer les polices, soit en entrant +xset +fp %%PREFIX%%/lib/X11/fonts/xtel +xset fp rehash +soit en ajoutant %%PREFIX%%/lib/X11/fonts/xtel au FontPath de votre +fichier de XF86Config. +************************************************************************ diff --git a/french/xtel/files/pkg-message.in b/french/xtel/files/pkg-message.in new file mode 100644 index 000000000000..b9b8ae9e846f --- /dev/null +++ b/french/xtel/files/pkg-message.in @@ -0,0 +1,43 @@ +**************************************************************************** +Xtel has been installed on %%PREFIX%%/bin/xtel. + +In order to use it, you have to edit the file /etc/services +and add the line: + +xtel 1313/tcp #xtel Minitel emulator + +Then you have to edit the file /etc/inetd.conf (or its equivalent +if you run another internet services daemon) and add the line: + +xtel stream tcp nowait root %%PREFIX%%/bin/xteld xteld + +Force the super-daemon to re-read its configuration file by +killall -1 inetd + +If your modem is plugged to /dev/cuaax (where x = 0, 1, 2,...) +detect its initialization string by: + +mdmdetect cuaax + +After some time while your computer should be dialoguing with the +modem, you should get such a line + +ModemModel , 38400 \dat&fm1e0&k3f3\r-OK + +Take note of the second (speed) and last parameters, and report them +into the file %%PREFIX%%/lib/X11/xtel/xtel.lignes so that you have a +line like this one: + +modem0,/dev/cuaa0,38400,7,E,\dat&fm1e0&k3f3\r OK atdt\T\r CONNECT,30 + +where cuaa0 should be adjusted to your port number, 38400 to the speed +detected by mdmdetect, and where the string included between "E," and atdt +corresponds to the third parameter (Note that the "-" has been replaced by +a space). + +To end, you just have to install the fonts, either by entering +xset +fp %%PREFIX%%/lib/X11/fonts/xtel +xset fp rehash +or by adding %%PREFIX%%/lib/X11/fonts/xtel to FontPath in your +XF86Config. +**************************************************************************** diff --git a/french/xtel/pkg-message b/french/xtel/pkg-message deleted file mode 100644 index b9b8ae9e846f..000000000000 --- a/french/xtel/pkg-message +++ /dev/null @@ -1,43 +0,0 @@ -**************************************************************************** -Xtel has been installed on %%PREFIX%%/bin/xtel. - -In order to use it, you have to edit the file /etc/services -and add the line: - -xtel 1313/tcp #xtel Minitel emulator - -Then you have to edit the file /etc/inetd.conf (or its equivalent -if you run another internet services daemon) and add the line: - -xtel stream tcp nowait root %%PREFIX%%/bin/xteld xteld - -Force the super-daemon to re-read its configuration file by -killall -1 inetd - -If your modem is plugged to /dev/cuaax (where x = 0, 1, 2,...) -detect its initialization string by: - -mdmdetect cuaax - -After some time while your computer should be dialoguing with the -modem, you should get such a line - -ModemModel , 38400 \dat&fm1e0&k3f3\r-OK - -Take note of the second (speed) and last parameters, and report them -into the file %%PREFIX%%/lib/X11/xtel/xtel.lignes so that you have a -line like this one: - -modem0,/dev/cuaa0,38400,7,E,\dat&fm1e0&k3f3\r OK atdt\T\r CONNECT,30 - -where cuaa0 should be adjusted to your port number, 38400 to the speed -detected by mdmdetect, and where the string included between "E," and atdt -corresponds to the third parameter (Note that the "-" has been replaced by -a space). - -To end, you just have to install the fonts, either by entering -xset +fp %%PREFIX%%/lib/X11/fonts/xtel -xset fp rehash -or by adding %%PREFIX%%/lib/X11/fonts/xtel to FontPath in your -XF86Config. -**************************************************************************** diff --git a/french/xtel/pkg-message-fr b/french/xtel/pkg-message-fr deleted file mode 100644 index 6b37143047bd..000000000000 --- a/french/xtel/pkg-message-fr +++ /dev/null @@ -1,44 +0,0 @@ -************************************************************************ -Xtel a été installé sur %%PREFIX%%/bin/xtel. - -Pour pouvoir l'utiliser, vous devez modifier le fichier /etc/services -et y ajouter la ligne : - -xtel 1313/tcp #xtel emulateur Minitel - -Vous devez ensuite modifier le fichier /etc/inetd.conf (ou son -équivalent si vous utilisez un autre super-démon) pour y ajouter la -ligne : - -xtel stream tcp nowait root %%PREFIX%%/bin/xteld xteld - -Forcez le super-démon à relire son fichier de configuration par -killall -1 inetd - -Si votre modem est connecté à /dev/cuaax (où x = 0, 1, 2,...) -détectez sa chaîne d'initialisation par : - -mdmdetect cuaax - -Après quelques instants pendant lesquels votre ordinateur doit dialoguer -avec le modem, une ligne semblable à la suivante doit s'afficher : - -ModèleModem , 38400 \dat&fm1e0&k3f3\r-OK - -Notez le deuxième paramètre (vitesse) et le dernier, et reportez-les -dans le fichier %%PREFIX%%/lib/X11/xtel/xtel.lignes de façon à avoir -une ligne telle que : - -modem0,/dev/cuaa0,38400,7,E,\dat&fm1e0&k3f3\r OK atdt\T\r CONNECT,30 - -où cuaa0 doit être adapté à votre n° de port, 38400 à la vitesse -détectée par mdmdetect, et où la chaîne comprise entre "E," et "atdt" -correspond au troisième paramètre (Notez que le "-" est remplacé par -un blanc). - -Il ne reste plus qu'à installer les polices, soit en entrant -xset +fp %%PREFIX%%/lib/X11/fonts/xtel -xset fp rehash -soit en ajoutant %%PREFIX%%/lib/X11/fonts/xtel au FontPath de votre -fichier de XF86Config. -************************************************************************ diff --git a/french/xtel/pkg-plist b/french/xtel/pkg-plist index fb7fa49e79b9..fb077c7abb60 100644 --- a/french/xtel/pkg-plist +++ b/french/xtel/pkg-plist @@ -1,15 +1,13 @@ +bin/make_xtel_lignes +bin/mdmdetect bin/xtel bin/xteld -bin/mdmdetect -bin/make_xtel_lignes lib/X11/app-defaults/XTel lib/X11/app-defaults/XTel-msg -lib/X11/xtel/modem.list -lib/X11/xtel/xtel.lignes -lib/X11/xtel/xtel.log -lib/X11/xtel/xtel.services lib/X11/fonts/xtel/fonts.alias +@unexec rm %D/lib/X11/fonts/xtel/fonts.cache-1 2>/dev/null || true lib/X11/fonts/xtel/fonts.dir +lib/X11/fonts/xtel/fonts.scale lib/X11/fonts/xtel/g016x10.pcf.gz lib/X11/fonts/xtel/g016x20.pcf.gz lib/X11/fonts/xtel/g016x40.pcf.gz @@ -29,6 +27,10 @@ lib/X11/fonts/xtel/g18x10.pcf.gz lib/X11/fonts/xtel/g1s16x20.pcf.gz lib/X11/fonts/xtel/g1s8x10.pcf.gz lib/X11/fonts/xtel/xteldigit.pcf.gz +lib/X11/xtel/modem.list +lib/X11/xtel/xtel.lignes +lib/X11/xtel/xtel.log +lib/X11/xtel/xtel.services %%PORTDOCS%%%%DOCSDIR%%/COPYING %%PORTDOCS%%%%DOCSDIR%%/COPYRIGHT %%PORTDOCS%%%%DOCSDIR%%/FAQ.txt -- cgit v1.2.3