pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc user-destdir support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0c88b129a2de
branches:  trunk
changeset: 395547:0c88b129a2de
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Wed Jul 08 16:37:53 2009 +0000

description:
user-destdir support

diffstat:

 filesystems/fuse-obexfs/Makefile |   4 +++-
 finance/xfinans/Makefile         |  34 ++++++++++++++++++----------------
 2 files changed, 21 insertions(+), 17 deletions(-)

diffs (73 lines):

diff -r 1cebe5b0c49c -r 0c88b129a2de filesystems/fuse-obexfs/Makefile
--- a/filesystems/fuse-obexfs/Makefile  Wed Jul 08 16:27:31 2009 +0000
+++ b/filesystems/fuse-obexfs/Makefile  Wed Jul 08 16:37:53 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.4 2008/05/25 21:23:26 wiz Exp $
+# $NetBSD: Makefile,v 1.5 2009/07/08 16:37:53 joerg Exp $
 #
 
 DISTNAME=      obexfs-0.8
@@ -10,6 +10,8 @@
 HOMEPAGE=      http://www.openobex.org/
 COMMENT=       FUSE based filesystem using ObexFTP
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 GNU_CONFIGURE= yes
 USE_TOOLS+=    autoconf gmake pkg-config
 
diff -r 1cebe5b0c49c -r 0c88b129a2de finance/xfinans/Makefile
--- a/finance/xfinans/Makefile  Wed Jul 08 16:27:31 2009 +0000
+++ b/finance/xfinans/Makefile  Wed Jul 08 16:37:53 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2008/11/10 17:21:35 wiz Exp $
+# $NetBSD: Makefile,v 1.18 2009/07/08 16:37:59 joerg Exp $
 #
 
 DISTNAME=              xfinans-5.9
@@ -10,28 +10,30 @@
 HOMEPAGE=              http://www.io.com/~acroyear/xfinans/
 COMMENT=               Xfinans is a useful financial tracking, and account balancing tool
 
+PKG_DESTDIR_SUPPORT=   user-destdir
+
 DEPENDS+=              gnuplot>=3.7:../../graphics/gnuplot
 
 WRKSRC=                        ${WRKDIR}/Xfinans
 CONFIGURE_DIRS=                Src
 USE_IMAKE=             yes
 
+INSTALLATION_DIRS=     lib/X11/app-defaults/XFinans \
+                       share/doc/Xfinans share/examples/Xfinans
+
 post-install:
-       ${INSTALL_DATA_DIR} ${PREFIX}/lib/X11/app-defaults/XFinans
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/examples/Xfinans
-       ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/XFinans.defaults ${PREFIX}/lib/X11/app-defaults/XFinans
-       ${INSTALL_DATA} ${WRKSRC}/*.acc ${PREFIX}/share/examples/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/xfin.ps ${PREFIX}/share/doc/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/INSTALL ${PREFIX}/share/doc/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/hyperhelp ${PREFIX}/share/examples/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/hyperhelp.index ${PREFIX}/share/examples/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/finans.bkd ${PREFIX}/share/examples/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/variables ${PREFIX}/share/examples/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/categories ${PREFIX}/share/examples/Xfinans
-       ${INSTALL_DATA} ${WRKSRC}/category_engine ${PREFIX}/share/examples/Xfinans
-       ${RM} -f ${PREFIX}/${PKGMANDIR}/cat1/xfinans.0
+       ${INSTALL_DATA} ${WRKSRC}/XFinans.defaults ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XFinans
+       ${INSTALL_DATA} ${WRKSRC}/*.acc ${DESTDIR}${PREFIX}/share/examples/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/xfin.ps ${DESTDIR}${PREFIX}/share/doc/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/INSTALL ${DESTDIR}${PREFIX}/share/doc/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/hyperhelp ${DESTDIR}${PREFIX}/share/examples/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/hyperhelp.index ${DESTDIR}${PREFIX}/share/examples/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/finans.bkd ${DESTDIR}${PREFIX}/share/examples/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/variables ${DESTDIR}${PREFIX}/share/examples/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/categories ${DESTDIR}${PREFIX}/share/examples/Xfinans
+       ${INSTALL_DATA} ${WRKSRC}/category_engine ${DESTDIR}${PREFIX}/share/examples/Xfinans
+       ${RM} -f ${DESTDIR}${PREFIX}/${PKGMANDIR}/cat1/xfinans.0
 
 .include "../../x11/libXaw/buildlink3.mk"
 .include "../../x11/libXp/buildlink3.mk"



Home | Main Index | Thread Index | Old Index