diff options
author | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
---|---|---|
committer | jlam <jlam> | 2008-03-03 05:51:07 +0000 |
commit | c2f2c30967ebdcd9120a391abfb655a190302a51 (patch) | |
tree | 4d53356d8b15aa65f07abac724d85fa87ada67d1 /converters/enriched2html | |
parent | e86a3ba39061980160972e0fd2948b67acb7f5af (diff) | |
download | pkgsrc-c2f2c30967ebdcd9120a391abfb655a190302a51.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/Makefile | 6 |
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" |