summaryrefslogtreecommitdiff
path: root/mail/hypermail
diff options
context:
space:
mode:
authorjoerg <joerg>2010-02-04 02:20:24 +0000
committerjoerg <joerg>2010-02-04 02:20:24 +0000
commit52a5d38ae98f4c71ad79a9ed7047709824fc1649 (patch)
tree7ef4353162b6b209513f2bdb1039cda7bfe72efd /mail/hypermail
parentcb37143fa7fce46a6bac04668341301b2a53bb7d (diff)
downloadpkgsrc-52a5d38ae98f4c71ad79a9ed7047709824fc1649.tar.gz
DESTDIR support
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"