pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/security/mozilla-rootcerts DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a769585ae2e5
branches:  trunk
changeset: 543792:a769585ae2e5
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Sun Jun 22 23:05:00 2008 +0000

description:
DESTDIR support.

diffstat:

 security/mozilla-rootcerts/Makefile |  8 +++++---
 1 files changed, 5 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 9529a40d82ea -r a769585ae2e5 security/mozilla-rootcerts/Makefile
--- a/security/mozilla-rootcerts/Makefile       Sun Jun 22 23:01:19 2008 +0000
+++ b/security/mozilla-rootcerts/Makefile       Sun Jun 22 23:05:00 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2007/09/20 20:02:53 jlam Exp $
+# $NetBSD: Makefile,v 1.2 2008/06/22 23:05:00 joerg Exp $
 
 DISTNAME=      mozilla-rootcerts-1.0.${CERTDATA_DATE}
 CATEGORIES=    security
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://lxr.mozilla.org/mozilla/source/security/nss/lib/ckfw/builtins/certdata.txt?raw=1
 COMMENT=       root CA certificates from the Mozilla Project
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS=     awk:run echo:run expr:run ln:run ls:run openssl:run rm:run
 
 CERTDATA_DATE= 20070713
@@ -33,7 +35,7 @@
 
 do-install:
        ${INSTALL_SCRIPT} ${WRKSRC}/mozilla-rootcerts.sh \
-               ${PREFIX}/sbin/mozilla-rootcerts
-       ${INSTALL_DATA} ${WRKSRC}/${CERTDATA} ${DATADIR}/certdata.txt
+               ${DESTDIR}${PREFIX}/sbin/mozilla-rootcerts
+       ${INSTALL_DATA} ${WRKSRC}/${CERTDATA} ${DESTDIR}${DATADIR}/certdata.txt
 
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index