mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-07 02:06:57 +00:00
6e90c6850e
. bump PORTREVISION; . trim Makefile headers; . remove the indefinite article from COMMENT; . define PLIST_FILES and PORTDOCS at makefile; . remove pkg-plist; . NOPORTDOCS -> PORT_OPTIONS:MDOCS.
40 lines
880 B
Makefile
40 lines
880 B
Makefile
# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= pdumpfs
|
|
PORTVERSION= 1.3
|
|
PORTREVISION= 2
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= http://0xcc.net/pdumpfs/
|
|
|
|
MAINTAINER= ports@FreeBSD.org
|
|
COMMENT= Daily backup system similar to Plan9's dumpfs
|
|
|
|
LICENSE= GPLv2
|
|
|
|
USE_RUBY= yes
|
|
|
|
RUBY_SHEBANG_FILES= ${WRKSRC}/pdumpfs.in
|
|
ALL_TARGET= pdumpfs
|
|
|
|
PLIST_FILES= sbin/pdumpfs
|
|
PORTDOCS= *
|
|
MANLANG= "" ja
|
|
MAN8= pdumpfs.8
|
|
|
|
OPTIONS_DEFINE= DOCS
|
|
|
|
.include <bsd.port.options.mk>
|
|
|
|
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 ${PORT_OPTIONS:MDOCS}
|
|
@${MKDIR} ${DOCSDIR}
|
|
${CP} -R ${WRKSRC}/doc ${DOCSDIR}/
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|