summaryrefslogtreecommitdiff
path: root/textproc/py-html2text
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/py-html2text')
-rw-r--r--textproc/py-html2text/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/textproc/py-html2text/Makefile b/textproc/py-html2text/Makefile
index 6ff406667e8..7762119ff51 100644
--- a/textproc/py-html2text/Makefile
+++ b/textproc/py-html2text/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 2008/06/01 04:52:15 schmonz Exp $
+# $NetBSD: Makefile,v 1.11 2008/06/12 02:14:52 joerg Exp $
#
DISTNAME= html2text-2.3
@@ -11,6 +11,8 @@ MAINTAINER= schmonz@NetBSD.org
HOMEPAGE= http://www.aaronsw.com/2002/html2text/
COMMENT= Convert HTML into easy-to-read plain ASCII text
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
USE_TOOLS+= tr
@@ -25,7 +27,7 @@ do-extract:
> ${WRKSRC}/html2text.py
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/html2text.py ${PREFIX}/share/html2text
+ ${INSTALL_SCRIPT} ${WRKSRC}/html2text.py ${DESTDIR}${PREFIX}/share/html2text
.include "../../lang/python/pyversion.mk"
.include "../../mk/bsd.pkg.mk"