pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/milter-greylist Add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b282f5e3c236
branches:  trunk
changeset: 553326:b282f5e3c236
user:      obache <obache%pkgsrc.org@localhost>
date:      Mon Jan 19 06:16:38 2009 +0000

description:
Add DESTDIR support.

diffstat:

 mail/milter-greylist/Makefile |  12 +++++++-----
 1 files changed, 7 insertions(+), 5 deletions(-)

diffs (34 lines):

diff -r 3960f13e6346 -r b282f5e3c236 mail/milter-greylist/Makefile
--- a/mail/milter-greylist/Makefile     Mon Jan 19 05:42:49 2009 +0000
+++ b/mail/milter-greylist/Makefile     Mon Jan 19 06:16:38 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2008/10/27 19:40:11 tron Exp $
+# $NetBSD: Makefile,v 1.39 2009/01/19 06:16:38 obache Exp $
 
 DISTNAME=      milter-greylist-4.0.1
 PKGREVISION=   1
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://hcpnet.free.fr/milter-greylist/
 COMMENT=       Easy-to-use greylist milter for sendmail
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 # yacc rule moving to y.tab.c and renaming
 MAKE_JOBS_SAFE=                no
 
@@ -27,11 +29,11 @@
 .include "options.mk"
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/milter-greylist
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/milter-greylist
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/milter-greylist
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/milter-greylist
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/milter-greylist
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/examples/milter-greylist
        ${INSTALL_DATA} ${WRKSRC}/greylist.conf \
-         ${PREFIX}/share/examples/milter-greylist
+         ${DESTDIR}${PREFIX}/share/examples/milter-greylist
 
 .include "../../mail/libmilter/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"



Home | Main Index | Thread Index | Old Index