diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 21:58:38 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 21:58:38 +0000 |
commit | f893991678752de63f61914d31733632eb19fd56 (patch) | |
tree | a904fb96a5393c2d78db82dd76027921ba9d852e /textproc/html2text | |
parent | abb8c4be4295bf6b668cebb9e38325bb6a1302de (diff) | |
download | pkgsrc-f893991678752de63f61914d31733632eb19fd56.tar.gz |
user-destdir support
Diffstat (limited to 'textproc/html2text')
-rw-r--r-- | textproc/html2text/Makefile | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/textproc/html2text/Makefile b/textproc/html2text/Makefile index c6f9f0652dc..2fc33840fc9 100644 --- a/textproc/html2text/Makefile +++ b/textproc/html2text/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2008/01/03 14:05:38 obache Exp $ +# $NetBSD: Makefile,v 1.15 2009/07/07 22:01:50 joerg Exp $ DISTNAME= html2text-1.3.2a CATEGORIES= textproc @@ -9,6 +9,8 @@ MAINTAINER= rh@NetBSD.org HOMEPAGE= http://www.mbayer.de/html2text/ COMMENT= Advanced HTML-to-text converter +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ GCC_REQD+= 3.0 HAS_CONFIGURE= yes @@ -20,8 +22,8 @@ post-build: ${GUNZIP_CMD} -d ${WRKSRC}/html2text.1.gz ${WRKSRC}/html2textrc.5.gz do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/html2text ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/html2text.1 ${PREFIX}/${PKGMANDIR}/man1 - ${INSTALL_MAN} ${WRKSRC}/html2textrc.5 ${PREFIX}/${PKGMANDIR}/man5/html2textrc.5 + ${INSTALL_PROGRAM} ${WRKSRC}/html2text ${DESTDIR}${PREFIX}/bin + ${INSTALL_MAN} ${WRKSRC}/html2text.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 + ${INSTALL_MAN} ${WRKSRC}/html2textrc.5 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man5/html2textrc.5 .include "../../mk/bsd.pkg.mk" |