summaryrefslogtreecommitdiff
path: root/mail/hypermail
diff options
context:
space:
mode:
Diffstat (limited to 'mail/hypermail')
-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"