aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/pdumpfs/Makefile
blob: 4535164543249950f2bcdd345b0495f682f91572 (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
# Ports collection makefile for:    pdumpfs
# Date created:         30 April 2001
# Whom:             Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=   pdumpfs
PORTVERSION=    1.3
PORTREVISION=   1
CATEGORIES= sysutils
MASTER_SITES=   http://0xcc.net/pdumpfs/

MAINTAINER= ports@FreeBSD.org
COMMENT=    A daily backup system similar to Plan9's dumpfs

USE_RUBY=   yes

RUBY_SHEBANG_FILES= ${WRKSRC}/pdumpfs.in
ALL_TARGET= pdumpfs
DOCS=       ChangeLog README doc/*

MANLANG=    "" ja
MAN8=       pdumpfs.8

do-install:
    ${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${PREFIX}/sbin/
    ${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${PREFIX}/man/man8/
    ${RUBY} -ni -r nkf -e 'puts NKF.nkf("-e",$$_)' ${WRKSRC}/man/ja/man8/pdumpfs.8
    ${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${PREFIX}/man/ja/man8/
.if !defined(NOPORTDOCS)
    ${MKDIR} ${DOCSDIR}
.for f in ${DOCS}
    ${CP} -R ${WRKSRC}/${f} ${DOCSDIR}/
.endfor
.endif

.include <bsd.port.mk>