diff options
author | wiz <wiz> | 2009-02-16 09:56:09 +0000 |
---|---|---|
committer | wiz <wiz> | 2009-02-16 09:56:09 +0000 |
commit | 4821070b9f7f9d2e2f87a5bfde53df0ff5af606d (patch) | |
tree | aeec87b6ebb47432098f3aca39e5c883ee3751fa /textproc | |
parent | 90e101f81ca11574b75fbe6ace59f68caf452ac4 (diff) | |
download | pkgsrc-4821070b9f7f9d2e2f87a5bfde53df0ff5af606d.tar.gz |
Convert to user-destdir.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/doclifter/Makefile | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/textproc/doclifter/Makefile b/textproc/doclifter/Makefile index f4cf0eb26ee..c891747fe7b 100644 --- a/textproc/doclifter/Makefile +++ b/textproc/doclifter/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2009/02/09 22:56:27 joerg Exp $ +# $NetBSD: Makefile,v 1.20 2009/02/16 10:25:16 wiz Exp $ # DISTNAME= doclifter-2.3 @@ -14,6 +14,8 @@ NO_BUILD= yes PYTHON_PATCH_SCRIPTS= doclifter manlifter +PKG_DESTDIR_SUPPORT= user-destdir + SUBST_CLASSES+= bin-path SUBST_STAGE.bin-path= pre-configure SUBST_FILES.bin-path= manlifter @@ -22,10 +24,12 @@ SUBST_SED.bin-path= -e 's,@@BIN_PATH@@,${PREFIX}/bin,g' INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 do-install: - ${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/doclifter.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/manlifter.1 ${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/doclifter ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/doclifter.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_SCRIPT} ${WRKSRC}/manlifter ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/manlifter.1 \ + ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../lang/python/application.mk" .include "../../mk/bsd.pkg.mk" |