summaryrefslogtreecommitdiff
path: root/french/xtel
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2004-08-15 16:36:23 +0000
committerThierry Thomas <thierry@FreeBSD.org>2004-08-15 16:36:23 +0000
commit4529d15f9fdf6e7af6ae7dff86acb50a34f342e0 (patch)
tree4658e4c182dee3c6d74b1139a3320c9ae68d4b96 /french/xtel
parentFix a conditional module load that was broken on Perl < 5.8. This caused (diff)
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
Notes
Notes: svn path=/head/; revision=116275
Diffstat (limited to 'french/xtel')
-rw-r--r--french/xtel/Makefile14
-rw-r--r--french/xtel/files/pkg-message-fr.in (renamed from french/xtel/pkg-message-fr)0
-rw-r--r--french/xtel/files/pkg-message.in (renamed from french/xtel/pkg-message)0
-rw-r--r--french/xtel/pkg-plist14
4 files changed, 16 insertions, 12 deletions
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 <bsd.port.pre.mk>
.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 <bsd.port.post.mk>
diff --git a/french/xtel/pkg-message-fr b/french/xtel/files/pkg-message-fr.in
index 6b37143047bd..6b37143047bd 100644
--- a/french/xtel/pkg-message-fr
+++ b/french/xtel/files/pkg-message-fr.in
diff --git a/french/xtel/pkg-message b/french/xtel/files/pkg-message.in
index b9b8ae9e846f..b9b8ae9e846f 100644
--- a/french/xtel/pkg-message
+++ b/french/xtel/files/pkg-message.in
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