summaryrefslogtreecommitdiff
path: root/mail/exim-html
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
committerjlam <jlam@pkgsrc.org>2008-03-04 17:57:17 +0000
commita80fd13efc426f96e55870df48a2030daea0f14b (patch)
treeea772f1017a149bdf8c86107c24d16246695614e /mail/exim-html
parent31c6c3a796edf9dd9bae5586339c5e2e023ca408 (diff)
downloadpkgsrc-a80fd13efc426f96e55870df48a2030daea0f14b.tar.gz
Mechanical changes to add DESTDIR support to packages that install
their files via a custom do-install target.
Diffstat (limited to 'mail/exim-html')
-rw-r--r--mail/exim-html/Makefile9
1 files changed, 6 insertions, 3 deletions
diff --git a/mail/exim-html/Makefile b/mail/exim-html/Makefile
index 2903d961177..14f44febe66 100644
--- a/mail/exim-html/Makefile
+++ b/mail/exim-html/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2008/01/14 18:57:39 adam Exp $
+# $NetBSD: Makefile,v 1.16 2008/03/04 17:57:18 jlam Exp $
DISTNAME= exim-html-4.69
CATEGORIES= mail net
@@ -11,10 +11,13 @@ MAINTAINER= abs@NetBSD.org
HOMEPAGE= http://www.exim.org/
COMMENT= HTML documentation for the Exim mail transfer agent
-NO_BUILD= yes
+PKG_DESTDIR_SUPPORT= user-destdir
+
+NO_BUILD= yes
INSTALLATION_DIRS= share/doc/exim/html
do-install:
- cd ${WRKSRC}/doc/html && pax -wr * ${PREFIX}/share/doc/exim/html
+ cd ${WRKSRC}/doc/html && pax -wr * \
+ ${DESTDIR}${PREFIX}/share/doc/exim/html
.include "../../mk/bsd.pkg.mk"