summaryrefslogtreecommitdiff
path: root/converters/enriched2html
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/enriched2html
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/enriched2html')
-rw-r--r--converters/enriched2html/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/converters/enriched2html/Makefile b/converters/enriched2html/Makefile
index a24e917d6a7..08cba016a44 100644
--- a/converters/enriched2html/Makefile
+++ b/converters/enriched2html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2006/03/04 21:29:06 jlam Exp $
+# $NetBSD: Makefile,v 1.5 2008/03/03 05:51:08 jlam Exp $
#
DISTNAME= enriched2html-1.0
@@ -10,6 +10,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= # none
COMMENT= Converts from text/enriched to HTML
+PKG_DESTDIR_SUPPORT= user-destdir
+
WRKSRC= ${WRKDIR}
INSTALLATION_DIRS= bin
@@ -21,6 +23,6 @@ do-build:
cd ${WRKSRC} && ${CC} ${CFLAGS} enriched2html.c -o enriched2html
do-install:
- cd ${WRKSRC} && ${INSTALL_PROGRAM} enriched2html ${PREFIX}/bin
+ cd ${WRKSRC} && ${INSTALL_PROGRAM} enriched2html ${DESTDIR}${PREFIX}/bin
.include "../../mk/bsd.pkg.mk"