diff options
author | jnemeth <jnemeth@pkgsrc.org> | 2007-10-15 11:57:45 +0000 |
---|---|---|
committer | jnemeth <jnemeth@pkgsrc.org> | 2007-10-15 11:57:45 +0000 |
commit | 738c52cf3403a45d1ca58e9f601ee939266ee502 (patch) | |
tree | 60de9a4e9787c8435a00c08c9e69e7628dca336d /mail/libmilter | |
parent | 5bf7b6045ab7786f0fc3188a43617a77ef32f78c (diff) | |
download | pkgsrc-738c52cf3403a45d1ca58e9f601ee939266ee502.tar.gz |
add DESTDIR support
Diffstat (limited to 'mail/libmilter')
-rw-r--r-- | mail/libmilter/Makefile | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mail/libmilter/Makefile b/mail/libmilter/Makefile index b5dfdddab75..7a3e2920cc0 100644 --- a/mail/libmilter/Makefile +++ b/mail/libmilter/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.12 2007/09/25 20:05:24 jlam Exp $ +# $NetBSD: Makefile,v 1.13 2007/10/15 11:57:45 jnemeth Exp $ PKGNAME= libmilter-${DIST_VERS} PKGREVISION= 1 COMMENT= Mail filter support library for sendmail +PKG_DESTDIR_SUPPORT= user-destdir + .include "options.mk" .include "../../mail/sendmail/Makefile.common" @@ -15,7 +17,7 @@ do-build: (cd ${WRKSRC}/libmilter && env ${MAKE_ENV} ./Build) do-install: - (cd ${WRKSRC}/libmilter && env ${MAKE_ENV} ./Build INCLUDEDIR=${PREFIX}/include LIBDIR=${PREFIX}/lib install) + (cd ${WRKSRC}/libmilter && env ${MAKE_ENV} ./Build INCLUDEDIR=${DESTDIR:Q}${PREFIX}/include LIBDIR=${DESTDIR:Q}${PREFIX}/lib install) PTHREAD_OPTS+= require |