summaryrefslogtreecommitdiff
path: root/converters/rtf2html
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
committerjlam <jlam@pkgsrc.org>2008-03-03 05:51:07 +0000
commit43112f64cf453f5e24fc1a811650c98f7db2fe76 (patch)
tree4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/rtf2html
parent3b34772d7f8c87aaf463b2f9127224a7d6490225 (diff)
downloadpkgsrc-43112f64cf453f5e24fc1a811650c98f7db2fe76.tar.gz
Mechanical changes to add full DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'converters/rtf2html')
-rw-r--r--converters/rtf2html/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/converters/rtf2html/Makefile b/converters/rtf2html/Makefile
index 19c006a08e1..690e15f9b35 100644
--- a/converters/rtf2html/Makefile
+++ b/converters/rtf2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2006/03/04 21:29:06 jlam Exp $
+# $NetBSD: Makefile,v 1.15 2008/03/03 05:51:08 jlam Exp $
#
DISTNAME= rtf2html
@@ -10,12 +10,14 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= http://www.45.free.net/~vitus/ice/catdoc/
COMMENT= Rich Text to HTML file converter
+PKG_DESTDIR_SUPPORT= user-destdir
+
BUILD_TARGET= rtf2html
MAKE_FLAGS+= CFLAGS=${CFLAGS:M*:Q}
INSTALLATION_DIRS= bin
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/rtf2html ${PREFIX}/bin
+ ${INSTALL_PROGRAM} ${WRKSRC}/rtf2html ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"