pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/redland add DESTDIR support.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/67b9c2047bd7
branches:  trunk
changeset: 554285:67b9c2047bd7
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Feb 11 22:09:08 2009 +0000

description:
add DESTDIR support.

diffstat:

 textproc/redland/Makefile |  6 ++++--
 1 files changed, 4 insertions(+), 2 deletions(-)

diffs (27 lines):

diff -r 7a7ddb44fd62 -r 67b9c2047bd7 textproc/redland/Makefile
--- a/textproc/redland/Makefile Wed Feb 11 22:06:49 2009 +0000
+++ b/textproc/redland/Makefile Wed Feb 11 22:09:08 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2009/01/07 21:41:34 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2009/02/11 22:09:08 markd Exp $
 
 DISTNAME=      redland-1.0.8
 CATEGORIES=    textproc
@@ -8,6 +8,8 @@
 HOMEPAGE=      http://librdf.org
 COMMENT=       libraries that support the Resource Description Framework (RDF)
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=    gmake perl pkg-config
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
@@ -29,7 +31,7 @@
 PKGCONFIG_OVERRIDE+=   redland.pc.in
 
 post-install:
-       ${RMDIR} ${PREFIX}/lib/redland
+       ${RMDIR} ${DESTDIR}${PREFIX}/lib/redland
 
 .include "../../security/openssl/buildlink3.mk"
 .include "../../textproc/raptor/buildlink3.mk"



Home | Main Index | Thread Index | Old Index