diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 21:08:34 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 21:08:34 +0000 |
commit | 81874cb0504f7bed0b985a471f2621ad5119291f (patch) | |
tree | c9a41b0911d2204f0ceb7e24df240249b710e648 /textproc/makeztxt | |
parent | 04c98a1857f8ec13b78d1923a784bdbfb194b08c (diff) | |
download | pkgsrc-81874cb0504f7bed0b985a471f2621ad5119291f.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/makeztxt')
-rw-r--r-- | textproc/makeztxt/Makefile | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/textproc/makeztxt/Makefile b/textproc/makeztxt/Makefile index cfa31d5676f..f47ffd9c2fa 100644 --- a/textproc/makeztxt/Makefile +++ b/textproc/makeztxt/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.12 2006/06/20 23:41:14 minskim Exp $ +# $NetBSD: Makefile,v 1.13 2009/07/07 21:09:14 joerg Exp $ # DISTNAME= ${PKGNAME}b-src @@ -10,15 +10,16 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://gutenpalm.sourceforge.net/makeztxt.php COMMENT= ASCII text to Palm zTXT database converter +PKG_DESTDIR_SUPPORT= user-destdir + WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}b -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin share/doc/makeztxt do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/makeztxt ${PREFIX}/bin - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/makeztxt + ${INSTALL_PROGRAM} ${WRKSRC}/makeztxt ${DESTDIR}${PREFIX}/bin .for doc in COPYING ChangeLog README - ${INSTALL_DATA} ${WRKSRC}/${doc} ${PREFIX}/share/doc/makeztxt + ${INSTALL_DATA} ${WRKSRC}/${doc} ${DESTDIR}${PREFIX}/share/doc/makeztxt .endfor .include "../../devel/libgetopt/buildlink3.mk" |