aboutsummaryrefslogtreecommitdiff
path: root/shells/fd/Makefile
blob: caf5025a7116b51f88096bc7898b83417202b474 (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:    FDclone
# Date created:         20 Feb 1996
# Whom:                 Nobuhiro Yasutomi <nobu@psrc.isac.co.jp>
#
# $FreeBSD$
#

PORTNAME=	fd
PORTVERSION=	1.03u
PORTREVISION=	2
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=	nobu@psrc.isac.co.jp

MANLANG=	ja
MAN1=		fd.1
MAKE_ENV=	LANG=${MANLANG}
DOCS=		README FAQ HISTORY ToAdmin
SIGNATURE=	Nobuhiro Yasutomi <${MAINTAINER}>

# require maintainer signature for binary package distributions
do-configure:
	@cd ${WRKSRC}; v=version.h; ${MV} $$v $$v.orig; \
	${SED} 's/\(distributor = \)NULL/\1"${SIGNATURE}"/' $$v.orig > $$v

post-install:
.if !defined(NOPORTDOCS)
	@${MKDIR} ${PREFIX}/share/doc/fd
	@for i in $(DOCS); do \
		${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/fd; \
	done
.endif
	@${CAT} ${PKGMESSAGE}

.include <bsd.port.mk>