aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvanilla <vanilla@FreeBSD.org>2014-06-26 23:51:36 +0800
committervanilla <vanilla@FreeBSD.org>2014-06-26 23:51:36 +0800
commit0907541cf63b375afe0e3c6372790dbaeecdfe9d (patch)
tree1e80ba802e476f8b06a974c297ea0a343abde3ec
parent252e1c0b7f2af2624eab1e4c0ae766634c25f68e (diff)
downloadfreebsd-ports-graphics-0907541cf63b375afe0e3c6372790dbaeecdfe9d.tar.gz
freebsd-ports-graphics-0907541cf63b375afe0e3c6372790dbaeecdfe9d.tar.zst
freebsd-ports-graphics-0907541cf63b375afe0e3c6372790dbaeecdfe9d.zip
Stagify.
Approved by: portmgr@ (blanket approval)
-rw-r--r--sysutils/dirvish/Makefile24
-rw-r--r--sysutils/dirvish/pkg-plist9
2 files changed, 17 insertions, 16 deletions
diff --git a/sysutils/dirvish/Makefile b/sysutils/dirvish/Makefile
index 90c399303b9..59e5a815a62 100644
--- a/sysutils/dirvish/Makefile
+++ b/sysutils/dirvish/Makefile
@@ -15,20 +15,16 @@ RUN_DEPENDS= p5-Time-modules>=0:${PORTSDIR}/devel/p5-Time-modules \
p5-Time-Period>=0:${PORTSDIR}/devel/p5-Time-Period \
rsync:${PORTSDIR}/net/rsync
-MAN5= dirvish.conf.5
-MAN8= dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
+MAN5S= dirvish.conf.5
+MAN8S= dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
WRKSRC= ${WRKDIR}
NO_BUILD= yes
USES= perl5
USE_PERL5= run
-MAN5= dirvish.conf.5
-MAN8= dirvish.8 dirvish-expire.8 dirvish-locate.8 dirvish-runall.8
-
EXECUTABLES= dirvish dirvish-expire dirvish-locate dirvish-runall
-NO_STAGE= yes
do-patch:
@${SED} -e 's:%%CONFDIR%%:${PREFIX}/etc/dirvish:' -e 's:%%PERL%%:${PERL5}:' \
${FILESDIR}/header.pl > ${WRKDIR}/header.pl
@@ -38,17 +34,17 @@ do-patch:
.endfor
do-install:
- ${MKDIR} ${PREFIX}/etc/dirvish
+ ${MKDIR} ${STAGEDIR}${PREFIX}/etc/dirvish
.for _E in ${EXECUTABLES}
- ${INSTALL_SCRIPT} ${WRKSRC}/${_E} ${PREFIX}/sbin
+ ${INSTALL_SCRIPT} ${WRKSRC}/${_E} ${STAGEDIR}${PREFIX}/sbin
.endfor
-.for _M in ${MAN5}
- ${INSTALL_MAN} ${WRKSRC}/${_M} ${PREFIX}/man/man5
+.for _M in ${MAN5S}
+ ${INSTALL_MAN} ${WRKSRC}/${_M} ${STAGEDIR}${PREFIX}/man/man5
.endfor
-.for _M in ${MAN8}
- ${INSTALL_MAN} ${WRKSRC}/${_M} ${PREFIX}/man/man8
+.for _M in ${MAN8S}
+ ${INSTALL_MAN} ${WRKSRC}/${_M} ${STAGEDIR}${PREFIX}/man/man8
.endfor
- ${INSTALL_DATA} ${FILESDIR}/master.conf.dist ${PREFIX}/etc/dirvish
- ${INSTALL_DATA} ${FILESDIR}/default.conf.dist ${PREFIX}/etc/dirvish
+ ${INSTALL_DATA} ${FILESDIR}/master.conf.dist ${STAGEDIR}${PREFIX}/etc/dirvish
+ ${INSTALL_DATA} ${FILESDIR}/default.conf.dist ${STAGEDIR}${PREFIX}/etc/dirvish
.include <bsd.port.mk>
diff --git a/sysutils/dirvish/pkg-plist b/sysutils/dirvish/pkg-plist
index 3a0d07fb776..dcb77ba148a 100644
--- a/sysutils/dirvish/pkg-plist
+++ b/sysutils/dirvish/pkg-plist
@@ -1,7 +1,12 @@
+etc/dirvish/default.conf.dist
+etc/dirvish/master.conf.dist
+man/man5/dirvish.conf.5.gz
+man/man8/dirvish-expire.8.gz
+man/man8/dirvish-locate.8.gz
+man/man8/dirvish-runall.8.gz
+man/man8/dirvish.8.gz
sbin/dirvish
sbin/dirvish-expire
sbin/dirvish-locate
sbin/dirvish-runall
-etc/dirvish/default.conf.dist
-etc/dirvish/master.conf.dist
@dirrmtry etc/dirvish