pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/devilspie Convert to user-destdir.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/868ca3413371
branches:  trunk
changeset: 554569:868ca3413371
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Mon Feb 16 12:32:53 2009 +0000

description:
Convert to user-destdir.

diffstat:

 x11/devilspie/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (29 lines):

diff -r a5b769ab6700 -r 868ca3413371 x11/devilspie/Makefile
--- a/x11/devilspie/Makefile    Mon Feb 16 12:26:51 2009 +0000
+++ b/x11/devilspie/Makefile    Mon Feb 16 12:32:53 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2007/11/25 23:20:50 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2009/02/16 12:32:53 wiz Exp $
 
 DISTNAME=              devilspie-0.22
 CATEGORIES=            x11
@@ -10,14 +10,17 @@
 
 BUILD_DEPENDS+=                libxslt>=1.0:../../textproc/libxslt
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 USE_TOOLS+=            intltool msgfmt pkg-config
 GNU_CONFIGURE=         YES
 USE_PKGLOCALEDIR=      YES
 TEST_TARGET=           check
 
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/devilspie
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/devilspie/
+       ${INSTALL_DATA_DIR} ${DESTDIR}${PREFIX}/share/doc/devilspie
+       ${INSTALL_DATA} ${WRKSRC}/README \
+               ${DESTDIR}${PREFIX}/share/doc/devilspie/
 
 BUILDLINK_API_DEPENDS.glib2+=  glib2>=2.9.1
 .include "../../devel/glib2/buildlink3.mk"



Home | Main Index | Thread Index | Old Index