summaryrefslogtreecommitdiff
path: root/mail/hypermail/Makefile
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-02-04 02:20:24 +0000
committerjoerg <joerg@pkgsrc.org>2010-02-04 02:20:24 +0000
commit09fee1cf828c3981e784db30d40cba9a8ff16f1f (patch)
tree7ef4353162b6b209513f2bdb1039cda7bfe72efd /mail/hypermail/Makefile
parent55eaad361245bdbb85052038a5a69f9e1b8a5697 (diff)
downloadpkgsrc-09fee1cf828c3981e784db30d40cba9a8ff16f1f.tar.gz
DESTDIR support
Diffstat (limited to 'mail/hypermail/Makefile')
-rw-r--r--mail/hypermail/Makefile9
1 files changed, 7 insertions, 2 deletions
diff --git a/mail/hypermail/Makefile b/mail/hypermail/Makefile
index 53a7b82cedc..615da45e7ac 100644
--- a/mail/hypermail/Makefile
+++ b/mail/hypermail/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2006/06/20 22:14:46 minskim Exp $
+# $NetBSD: Makefile,v 1.12 2010/02/04 02:24:07 joerg Exp $
#
DISTNAME= hypermail-2.1.8
@@ -9,11 +9,16 @@ MAINTAINER= grant@NetBSD.org
HOMEPAGE= http://www.hypermail.org/
COMMENT= Creates indexed, threaded HTML archives of email
+PKG_DESTDIR_SUPPORT= user-destdir
+
GNU_CONFIGURE= yes
USE_TOOLS+= yacc
CONFIGURE_ARGS+= --with-gdbm=${BUILDLINK_PREFIX.gdbm}
-CONFIGURE_ARGS+= --with-htmldir=${PREFIX}/share/doc/html/hypermail
+CONFIGURE_ARGS+= --with-htmldir=${DESTDIR}${PREFIX}/share/doc/html/hypermail
+
+INSTALL_MAKE_FLAGS+= prefix=${DESTDIR}${PREFIX} \
+ mandir=${DESTDIR}${PREFIX}/${PKGMANDIR}
.include "../../databases/gdbm/buildlink3.mk"
.include "../../devel/pcre/buildlink3.mk"