summaryrefslogtreecommitdiff
path: root/misc/fd/Makefile
blob: 22963b6b47cd4a2c182327f4cb44cece228ce6dc (plain)
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
# $NetBSD: Makefile,v 1.22 2006/05/18 20:29:59 wiz Exp $
#

DISTNAME=	FD-1.03u
PKGNAME=	fd-1.03u
CATEGORIES=	misc
MASTER_SITES=	http://hp.vector.co.jp/authors/VA012337/soft/fd/

MAINTAINER=	nobu@psrc.isac.co.jp
COMMENT=	File and directory management tool

BROKEN_IN=	pkgsrc-2005Q4 pkgsrc-2006Q1

MANLANG=	ja
MAKE_ENV+=	LANG=${MANLANG:Q}
DOCS=		README FAQ HISTORY ToAdmin

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

post-install:
	@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fd
	@for i in ${DOCS}; do \
		${INSTALL_DATA} ${WRKSRC}/$$i ${PREFIX}/share/doc/fd; \
	done

.include "../../mk/bsd.pkg.mk"