summaryrefslogtreecommitdiffstats
path: root/sysutils/pdumpfs/Makefile
blob: 60bec779dc5714809483da80332cb8b98aa6fde5 (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
30
31
32
33
34
35
36
37
38
39
40
# Ports collection makefile for:	pdumpfs
# Date created:			30 April 2001
# Whom:				Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	pdumpfs
PORTVERSION=	0.6
CATEGORIES=	sysutils
MASTER_SITES=	http://namazu.org/~satoru/pdumpfs/

MAINTAINER=	knu@FreeBSD.org

USE_RUBY=	yes

NO_BUILD=	yes

RUBY_SHEBANG_FILES=	${WRKSRC}/pdumpfs
DOCS_EN=	ChangeLog pdumpfs-en.html
DOCS_JA=	pdumpfs-ja.html

MANLANG=	"" ja
MAN8=		pdumpfs.8

do-install:
	${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${PREFIX}/sbin/
	${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${PREFIX}/man/man8/
	${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${PREFIX}/man/ja/man8/
.if !defined(NOPORTDOCS)
	${MKDIR} ${PREFIX}/share/doc/${PORTNAME}/ja
.for f in ${DOCS_EN}
	${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/
.endfor
.for f in ${DOCS_JA}
	${INSTALL_SCRIPT} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PORTNAME}/ja/
.endfor
.endif

.include <bsd.port.mk>
OpenPOWER on IntegriCloud