summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorwiz <wiz>2009-02-16 09:56:09 +0000
committerwiz <wiz>2009-02-16 09:56:09 +0000
commit4821070b9f7f9d2e2f87a5bfde53df0ff5af606d (patch)
treeaeec87b6ebb47432098f3aca39e5c883ee3751fa /sysutils
parent90e101f81ca11574b75fbe6ace59f68caf452ac4 (diff)
downloadpkgsrc-4821070b9f7f9d2e2f87a5bfde53df0ff5af606d.tar.gz
Convert to user-destdir.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/dirvish/Makefile14
1 files changed, 9 insertions, 5 deletions
diff --git a/sysutils/dirvish/Makefile b/sysutils/dirvish/Makefile
index bf4ed4e820a..cd4d074f0a2 100644
--- a/sysutils/dirvish/Makefile
+++ b/sysutils/dirvish/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.2 2007/03/24 19:21:32 joerg Exp $
+# $NetBSD: Makefile,v 1.3 2009/02/16 10:09:16 wiz Exp $
#
DISTNAME= dirvish-1.2.1
@@ -16,6 +16,7 @@ DEPENDS+= p5-Time>=2003.0:../../time/p5-Time
DEPENDS+= p5-Time-Period>=1.0:../../time/p5-Time-Period
PKG_SYSCONFSUBDIR= dirvish
+PKG_DESTDIR_SUPPORT= user-destdir
EXECUTABLES= dirvish dirvish-runall dirvish-expire dirvish-locate
MAN5= dirvish.conf.5
@@ -37,16 +38,19 @@ do-build:
do-install:
for f in ${EXECUTABLES}; do \
- ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${PREFIX}/sbin; \
+ ${INSTALL_SCRIPT} ${WRKSRC}/$$f ${DESTDIR}${PREFIX}/sbin; \
done
for f in ${MAN5}; do \
- ${INSTALL_MAN} ${WRKSRC}/$$f ${PREFIX}/${PKGMANDIR}/man5; \
+ ${INSTALL_MAN} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5; \
done
for f in ${MAN8}; do \
- ${INSTALL_MAN} ${WRKSRC}/$$f ${PREFIX}/${PKGMANDIR}/man8; \
+ ${INSTALL_MAN} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8; \
done
for f in ${DOCS}; do \
- ${INSTALL_DATA} ${WRKSRC}/$$f ${PREFIX}/share/doc/dirvish; \
+ ${INSTALL_DATA} ${WRKSRC}/$$f \
+ ${DESTDIR}${PREFIX}/share/doc/dirvish; \
done
.include "../../mk/bsd.pkg.mk"