summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorBoris Samorodov <bsam@FreeBSD.org>2013-05-27 19:46:50 +0000
committerBoris Samorodov <bsam@FreeBSD.org>2013-05-27 19:46:50 +0000
commit6e90c6850e09219f4fdefadc88eb8af0c20b8034 (patch)
tree6c9c7421a3c73c53b8413802d640d3706887b32d /sysutils
parent- Update to version 1.16.10 (diff)
. add LICENSE=GPLv2;
. 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.
Notes
Notes: svn path=/head/; revision=319282
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/pdumpfs/Makefile27
-rw-r--r--sysutils/pdumpfs/pkg-plist11
2 files changed, 14 insertions, 24 deletions
diff --git a/sysutils/pdumpfs/Makefile b/sysutils/pdumpfs/Makefile
index 453516454324..709c9727376c 100644
--- a/sysutils/pdumpfs/Makefile
+++ b/sysutils/pdumpfs/Makefile
@@ -1,38 +1,39 @@
-# Ports collection makefile for: pdumpfs
-# Date created: 30 April 2001
-# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
-#
+# Created by: Akinori MUSHA aka knu <knu@idaemons.org>
# $FreeBSD$
-#
PORTNAME= pdumpfs
PORTVERSION= 1.3
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= sysutils
MASTER_SITES= http://0xcc.net/pdumpfs/
MAINTAINER= ports@FreeBSD.org
-COMMENT= A daily backup system similar to Plan9's dumpfs
+COMMENT= Daily backup system similar to Plan9's dumpfs
+
+LICENSE= GPLv2
USE_RUBY= yes
RUBY_SHEBANG_FILES= ${WRKSRC}/pdumpfs.in
ALL_TARGET= pdumpfs
-DOCS= ChangeLog README doc/*
+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 !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
-.for f in ${DOCS}
- ${CP} -R ${WRKSRC}/${f} ${DOCSDIR}/
-.endfor
+.if ${PORT_OPTIONS:MDOCS}
+ @${MKDIR} ${DOCSDIR}
+ ${CP} -R ${WRKSRC}/doc ${DOCSDIR}/
.endif
.include <bsd.port.mk>
diff --git a/sysutils/pdumpfs/pkg-plist b/sysutils/pdumpfs/pkg-plist
deleted file mode 100644
index 1cf0c388ea90..000000000000
--- a/sysutils/pdumpfs/pkg-plist
+++ /dev/null
@@ -1,11 +0,0 @@
-sbin/pdumpfs
-%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
-%%PORTDOCS%%%%DOCSDIR%%/README
-%%PORTDOCS%%%%DOCSDIR%%/images/pdumpfs-ja-mini.png
-%%PORTDOCS%%%%DOCSDIR%%/images/pdumpfs-ja.png
-%%PORTDOCS%%%%DOCSDIR%%/images/pdumpfs-mini.png
-%%PORTDOCS%%%%DOCSDIR%%/images/pdumpfs.png
-%%PORTDOCS%%%%DOCSDIR%%/pdumpfs-ja.html
-%%PORTDOCS%%%%DOCSDIR%%/pdumpfs.html
-%%PORTDOCS%%@dirrm %%DOCSDIR%%/images
-%%PORTDOCS%%@dirrm %%DOCSDIR%%