blob: 33ef514bb589821001746e2100e7ea63fed6d745 (
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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# New ports collection makefile for: FDclone
# Date created: 20 Feb 1996
# Whom: Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
# $FreeBSD$
#
PORTNAME= fd
PORTVERSION= 2.00a
CATEGORIES= shells
MASTER_SITES= http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
ftp://ftp.vector.co.jp/pack/unix/util/file/filer/fd/
DISTNAME= FD-${PORTVERSION}
MAINTAINER= knu@FreeBSD.org
MANLANG= "" ja
MAN1= fd.1
MAKE_ENV= LANG=ja
DOCS_EN= FAQ.eng \
LICENSES.eng \
README.eng \
TECHKNOW.eng \
ToAdmin.eng
DOCS_JA= FAQ \
HISTORY \
LICENSES \
README \
TECHKNOW \
ToAdmin
post-install:
@${ECHO} "Updating /etc/shells"
@${CP} /etc/shells /etc/shells.bak
@(${GREP} -v ${PREFIX}/bin/fdsh /etc/shells.bak; \
${ECHO_CMD} ${PREFIX}/bin/fdsh) > /etc/shells
@${RM} /etc/shells.bak
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/${PORTNAME}
@${MKDIR} ${PREFIX}/share/doc/ja/${PORTNAME}
@for i in ${DOCS_EN}; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/${PORTNAME}; \
done
@for i in ${DOCS_JA}; do \
${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/ja/${PORTNAME}; \
done
@${INSTALL_DATA} ${WRKSRC}/_fdrc.orig ${PREFIX}/etc/fd2rc.dist
@${INSTALL_DATA} ${WRKSRC}/_fdrc ${PREFIX}/etc/fd2rc.sample
if [ ! -f ${PREFIX}/etc/fd2rc ]; then \
${CP} -p ${PREFIX}/etc/fd2rc.sample ${PREFIX}/etc/fd2rc; \
fi
@${CAT} ${PKGMESSAGE}
.endif
.include <bsd.port.mk>
|