diff options
author | obache <obache@pkgsrc.org> | 2008-01-05 08:34:40 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2008-01-05 08:34:40 +0000 |
commit | 7e3e8bedf87420acee53a78221d6d6537d91cce9 (patch) | |
tree | 45abd140b84583df337624f2e3906ffb3dfcfd4e /sysutils | |
parent | 15d9c7fbf116974f4b3c891f807b9c2280c20790 (diff) | |
download | pkgsrc-7e3e8bedf87420acee53a78221d6d6537d91cce9.tar.gz |
Add DESTDIR support.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/pdumpfs/Makefile | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/sysutils/pdumpfs/Makefile b/sysutils/pdumpfs/Makefile index d7ca015bad0..d5c9bef3bde 100644 --- a/sysutils/pdumpfs/Makefile +++ b/sysutils/pdumpfs/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2007/06/09 01:19:20 obache Exp $ +# $NetBSD: Makefile,v 1.7 2008/01/05 08:40:24 obache Exp $ # DISTNAME= pdumpfs-${VER} @@ -10,6 +10,8 @@ MAINTAINER= obache@NetBSD.org HOMEPAGE= http://0xcc.net/pdumpfs/ COMMENT= Simple daily backup system similar to Plan9's dumpfs +PKG_DESTDIR_SUPPORT= user-destdir + VER= 1.3 BUILD_TARGET= pdumpfs @@ -19,11 +21,11 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man8 ${PKGMANDIR}/ja_JP.EUC/man8 \ share/doc/pdumpfs do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${PREFIX}/${PKGMANDIR}/man8 - ${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man8 + ${INSTALL_SCRIPT} ${WRKSRC}/pdumpfs ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/man/man8/pdumpfs.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man8 + ${INSTALL_MAN} ${WRKSRC}/man/ja/man8/pdumpfs.8 ${DESTDIR}${PREFIX}/${PKGMANDIR}/ja_JP.EUC/man8 cd ${WRKSRC}/doc && \ - ${PAX} -rw -pp -pm . ${PREFIX}/share/doc/pdumpfs + ${PAX} -rw -pp -pm . ${DESTDIR}${PREFIX}/share/doc/pdumpfs .include "../../lang/ruby/modules.mk" .include "../../mk/bsd.pkg.mk" |