1998-09-30 12:20:57 +00:00
|
|
|
# New ports collection makefile for: tcsh with multibyte support enabled
|
1997-12-27 19:04:12 +00:00
|
|
|
# Date created: 29 November 1997
|
1999-08-31 06:53:31 +00:00
|
|
|
# Whom: Issei Suzuki <issei@jp.FreeBSD.org>
|
1997-12-27 19:04:12 +00:00
|
|
|
#
|
1999-08-25 05:28:01 +00:00
|
|
|
# $FreeBSD$
|
1997-12-27 19:04:12 +00:00
|
|
|
#
|
|
|
|
|
2000-04-12 14:38:12 +00:00
|
|
|
PORTNAME= tcsh
|
|
|
|
PORTVERSION= 6.08.05
|
1997-12-27 19:04:12 +00:00
|
|
|
CATEGORIES= japanese shells
|
1998-12-04 16:17:53 +00:00
|
|
|
MASTER_SITES= ftp://ftp.astron.com/pri/
|
1997-12-27 19:04:12 +00:00
|
|
|
|
1999-08-31 06:53:31 +00:00
|
|
|
MAINTAINER= issei@jp.FreeBSD.org
|
1998-07-04 03:20:40 +00:00
|
|
|
|
2000-07-13 01:34:39 +00:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${OSVERSION} >= 500006 || ${OSVERSION} < 500000 && ${OSVERSION} >= 400021
|
|
|
|
FORBIDDEN= "Japanese support is already in the base system"
|
|
|
|
.endif
|
|
|
|
|
1997-12-27 19:04:12 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
ALL_TARGET= all catalogs
|
|
|
|
INSTALL_TARGET= install install.man
|
|
|
|
MAN1= tcsh.1
|
1998-09-30 12:20:57 +00:00
|
|
|
PORTDOCS= FAQ Fixes README WishList complete.tcsh
|
1997-12-27 19:04:12 +00:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
@(cd ${WRKSRC}; \
|
1998-08-30 21:14:47 +00:00
|
|
|
${INSTALL_DATA} tcsh.C.cat ${PREFIX}/share/nls/C/tcsh.cat; \
|
|
|
|
${INSTALL_DATA} tcsh.C.m ${PREFIX}/share/nls/C/tcsh.m; \
|
1997-12-27 19:04:12 +00:00
|
|
|
)
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${PREFIX}/share/doc/tcsh
|
1998-07-04 03:20:40 +00:00
|
|
|
.for i in ${PORTDOCS}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/tcsh/
|
|
|
|
.endfor
|
1997-12-27 19:04:12 +00:00
|
|
|
.endif
|
|
|
|
@${ECHO} "updating /etc/shells"
|
|
|
|
@${CP} /etc/shells /etc/shells.bak
|
1998-08-30 21:14:47 +00:00
|
|
|
@(${GREP} -v ${PREFIX}/bin/tcsh /etc/shells.bak; ${ECHO} ${PREFIX}/bin/tcsh) >/etc/shells
|
2000-10-08 10:23:48 +00:00
|
|
|
@${CAT} ${PKGMESSAGE}
|
1997-12-27 19:04:12 +00:00
|
|
|
|
2000-07-13 01:34:39 +00:00
|
|
|
.include <bsd.port.post.mk>
|