1998-07-04 05:09:32 +02:00
|
|
|
# New ports collection makefile for: tcsh
|
|
|
|
# Date created: 22 August 1994
|
|
|
|
# Whom: jkh
|
1994-08-22 13:52:42 +02:00
|
|
|
#
|
1999-08-31 03:53:22 +02:00
|
|
|
# $FreeBSD$
|
1994-08-22 13:52:42 +02:00
|
|
|
#
|
|
|
|
|
2000-04-09 20:34:06 +02:00
|
|
|
PORTNAME= tcsh
|
2001-09-07 19:36:50 +02:00
|
|
|
PORTVERSION= 6.11.00
|
1998-07-04 05:09:32 +02:00
|
|
|
CATEGORIES= shells
|
2001-09-07 19:36:50 +02:00
|
|
|
MASTER_SITES= ftp://ftp.astron.com/pub/tcsh/
|
2000-12-11 03:19:19 +01:00
|
|
|
DISTNAME= ${PORTNAME}-${PORTVERSION:R}
|
1994-08-22 13:52:42 +02:00
|
|
|
|
2000-04-21 10:19:33 +02:00
|
|
|
MAINTAINER= ports@FreeBSD.org
|
2000-04-20 11:20:13 +02:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
2000-07-22 10:42:17 +02:00
|
|
|
.if ${OSVERSION} >= 400021
|
2000-12-11 03:19:19 +01:00
|
|
|
DISTFILES= # empty
|
2000-07-16 15:02:30 +02:00
|
|
|
NO_BUILD= yes
|
2000-10-08 08:05:59 +02:00
|
|
|
PLIST= ${PKGDIR}/pkg-plist.nobuild
|
2000-07-16 15:02:30 +02:00
|
|
|
.else
|
2000-09-25 14:21:43 +02:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
|
2000-12-11 03:19:19 +01:00
|
|
|
GNU_CONFIGURE= yes
|
2000-04-21 10:19:33 +02:00
|
|
|
ALL_TARGET= all catalogs
|
1998-07-04 05:09:32 +02:00
|
|
|
MAN1= tcsh.1
|
2000-12-11 03:19:19 +01:00
|
|
|
BINOWN= bin
|
|
|
|
BINGRP= bin
|
2000-07-16 15:02:30 +02:00
|
|
|
.endif
|
1995-06-17 06:48:16 +02:00
|
|
|
|
2000-07-22 10:42:17 +02:00
|
|
|
.if ${OSVERSION} >= 400021
|
2001-12-31 11:20:19 +01:00
|
|
|
pre-everything::
|
2000-07-16 15:02:30 +02:00
|
|
|
@${ECHO_MSG} "This port is just for making symlink from /bin/tcsh"
|
|
|
|
@${ECHO_MSG} "to ${PREFIX}/bin/tcsh and updating /etc/shells."
|
|
|
|
|
2001-09-09 01:21:28 +02:00
|
|
|
do-patch:
|
|
|
|
|
2000-07-16 15:02:30 +02:00
|
|
|
do-install:
|
|
|
|
${LN} -sf /bin/tcsh ${PREFIX}/bin/tcsh
|
|
|
|
.else
|
2000-12-11 03:19:19 +01:00
|
|
|
do-install:
|
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/tcsh ${PREFIX}/bin/tcsh
|
|
|
|
${INSTALL_MAN} ${WRKSRC}/tcsh.man ${MANPREFIX}/man/man1/tcsh.1
|
2000-07-16 15:02:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.C.cat ${PREFIX}/share/nls/C/tcsh.cat
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.german.cat ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat
|
|
|
|
${LN} -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_AT.ISO_8859-1/tcsh.cat
|
|
|
|
${LN} -sf ${PREFIX}/share/nls/de_DE.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/de_CH.ISO_8859-1/tcsh.cat
|
|
|
|
@${MKDIR} ${PREFIX}/share/nls/el_GR.ISO_8859-7
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.greek.cat ${PREFIX}/share/nls/el_GR.ISO_8859-7/tcsh.cat
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.spanish.cat ${PREFIX}/share/nls/es_ES.ISO_8859-1/tcsh.cat
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.finnish.cat ${PREFIX}/share/nls/fi_FI.ISO_8859-1/tcsh.cat
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.french.cat ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat
|
1998-08-27 04:34:07 +02:00
|
|
|
${LN} -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_BE.ISO_8859-1/tcsh.cat
|
|
|
|
${LN} -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CA.ISO_8859-1/tcsh.cat
|
|
|
|
${LN} -sf ${PREFIX}/share/nls/fr_FR.ISO_8859-1/tcsh.cat ${PREFIX}/share/nls/fr_CH.ISO_8859-1/tcsh.cat
|
2000-07-16 15:02:30 +02:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/tcsh.italian.cat ${PREFIX}/share/nls/it_IT.ISO_8859-1/tcsh.cat
|
|
|
|
.endif
|
2000-12-11 03:19:19 +01:00
|
|
|
|
|
|
|
post-install:
|
1998-08-27 04:34:07 +02:00
|
|
|
@${ECHO} "Updating /etc/shells"
|
|
|
|
@${CP} /etc/shells /etc/shells.bak
|
|
|
|
@(${GREP} -v ${PREFIX}/bin/tcsh /etc/shells.bak; \
|
|
|
|
${ECHO} ${PREFIX}/bin/tcsh) > /etc/shells
|
|
|
|
@${RM} /etc/shells.bak
|
1995-06-17 06:48:16 +02:00
|
|
|
|
2000-04-20 11:20:13 +02:00
|
|
|
.include <bsd.port.post.mk>
|