From 52a5d38ae98f4c71ad79a9ed7047709824fc1649 Mon Sep 17 00:00:00 2001 From: joerg Date: Thu, 4 Feb 2010 02:20:24 +0000 Subject: DESTDIR support --- mail/hypermail/Makefile | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) (limited to 'mail/hypermail') 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" -- cgit v1.2.3