aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/tcsh/Makefile
blob: afcb7b45a20c8623b88fff8317c2e8f7ffc827f9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
# New ports collection makefile for:    tcsh with multibyte support enabled
# Version required: 6.08.05
# Date created:     29 November 1997
# Whom:         Issei Suzuki <issei@jp.FreeBSD.ORG>
#
# $Id: Makefile,v 1.8 1998/12/04 16:17:52 flathill Exp $
#

DISTNAME=   tcsh-6.08.05
PKGNAME=    ja-tcsh-6.08.05
CATEGORIES= japanese shells
MASTER_SITES=   ftp://ftp.astron.com/pri/

MAINTAINER= issei@jp.FreeBSD.ORG

GNU_CONFIGURE=  yes
ALL_TARGET= all catalogs
INSTALL_TARGET= install install.man
MAN1=       tcsh.1
PORTDOCS=   FAQ Fixes README WishList complete.tcsh

post-install:
    @(cd ${WRKSRC}; \
    ${INSTALL_DATA} tcsh.C.cat ${PREFIX}/share/nls/C/tcsh.cat; \
    ${INSTALL_DATA} tcsh.C.m ${PREFIX}/share/nls/C/tcsh.m; \
    )
.if !defined(NOPORTDOCS)
    @${MKDIR} ${PREFIX}/share/doc/tcsh
.for i in ${PORTDOCS}
    @${INSTALL_DATA} ${WRKSRC}/$i ${PREFIX}/share/doc/tcsh/
.endfor
.endif
    @${ECHO} "updating /etc/shells"
    @${CP} /etc/shells /etc/shells.bak
    @(${GREP} -v ${PREFIX}/bin/tcsh /etc/shells.bak; ${ECHO} ${PREFIX}/bin/tcsh) >/etc/shells
    @${CAT} ${PKGDIR}/MESSAGE

.include <bsd.port.mk>