pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11 user-destdir support
details: https://anonhg.NetBSD.org/pkgsrc/rev/073e18366faf
branches: trunk
changeset: 395188:073e18366faf
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Jul 07 17:57:22 2009 +0000
description:
user-destdir support
diffstat:
x11/xbindkeys-tk/Makefile | 8 +++++---
x11/xcruise/Makefile | 12 +++++++-----
x11/xephem/Makefile | 14 ++++++++------
3 files changed, 20 insertions(+), 14 deletions(-)
diffs (91 lines):
diff -r 1cc6c5033243 -r 073e18366faf x11/xbindkeys-tk/Makefile
--- a/x11/xbindkeys-tk/Makefile Tue Jul 07 17:56:40 2009 +0000
+++ b/x11/xbindkeys-tk/Makefile Tue Jul 07 17:57:22 2009 +0000
@@ -1,6 +1,8 @@
-# $NetBSD: Makefile,v 1.12 2007/01/07 09:14:16 rillig Exp $
+# $NetBSD: Makefile,v 1.13 2009/07/07 17:58:21 joerg Exp $
#
+PKG_DESTDIR_SUPPORT= user-destdir
+
.include "../../x11/xbindkeys/Makefile.common"
PKGNAME= ${DISTNAME:S/xbindkeys/xbindkeys-tk/}
@@ -15,7 +17,7 @@
INSTALLATION_DIRS= bin ${PKGMANDIR}/man1
do-install:
- ${INSTALL_SCRIPT} ${WRKSRC}/xbindkeys_show ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/xbindkeys_show.1 ${PREFIX}/${PKGMANDIR}/man1
+ ${INSTALL_SCRIPT} ${WRKSRC}/xbindkeys_show ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_DATA} ${WRKSRC}/xbindkeys_show.1 ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1
.include "../../mk/bsd.pkg.mk"
diff -r 1cc6c5033243 -r 073e18366faf x11/xcruise/Makefile
--- a/x11/xcruise/Makefile Tue Jul 07 17:56:40 2009 +0000
+++ b/x11/xcruise/Makefile Tue Jul 07 17:57:22 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2009/05/19 08:59:39 wiz Exp $
+# $NetBSD: Makefile,v 1.12 2009/07/07 17:58:05 joerg Exp $
#
DISTNAME= xcruise-0.24
@@ -11,15 +11,17 @@
COMMENT= Navigate through a three-dimensional view of a file system
#LICENSE= GPL
+PKG_DESTDIR_SUPPORT= user-destdir
+
USE_IMAKE= yes
INSTALLATION_DIRS= bin lib/X11/app-defaults share/doc/xcruise
post-install:
- ${INSTALL_DATA} ${WRKSRC}/XCruise.ad ${PREFIX}/lib/X11/app-defaults/XCruise
- ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/xcruise
- ${INSTALL_DATA} ${WRKSRC}/README.jp ${PREFIX}/share/doc/xcruise
- ${INSTALL_DATA} ${WRKSRC}/TODO ${PREFIX}/share/doc/xcruise
+ ${INSTALL_DATA} ${WRKSRC}/XCruise.ad ${DESTDIR}${PREFIX}/lib/X11/app-defaults/XCruise
+ ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/xcruise
+ ${INSTALL_DATA} ${WRKSRC}/README.jp ${DESTDIR}${PREFIX}/share/doc/xcruise
+ ${INSTALL_DATA} ${WRKSRC}/TODO ${DESTDIR}${PREFIX}/share/doc/xcruise
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
diff -r 1cc6c5033243 -r 073e18366faf x11/xephem/Makefile
--- a/x11/xephem/Makefile Tue Jul 07 17:56:40 2009 +0000
+++ b/x11/xephem/Makefile Tue Jul 07 17:57:22 2009 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.52 2009/05/19 08:59:39 wiz Exp $
+# $NetBSD: Makefile,v 1.53 2009/07/07 17:57:22 joerg Exp $
DISTNAME= xephem-3.7.3
CATEGORIES= x11
@@ -9,6 +9,8 @@
COMMENT= Interactive astronomical ephemeris program
LICENSE= xephem-license
+PKG_DESTDIR_SUPPORT= user-destdir
+
# Pending adjustment of license wording to clarify the copyright
# holder's intent, permission has been granted to distribute the
# distfile and binary packages without functional changes.
@@ -48,13 +50,13 @@
${PKGMANDIR}/man1
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/xephem ${PREFIX}/bin
- ${INSTALL_MAN} ${WRKSRC}/xephem.man ${PREFIX}/${PKGMANDIR}/man1/xephem.1
+ ${INSTALL_PROGRAM} ${WRKSRC}/xephem ${DESTDIR}${PREFIX}/bin
+ ${INSTALL_MAN} ${WRKSRC}/xephem.man ${DESTDIR}${PREFIX}/${PKGMANDIR}/man1/xephem.1
${SED} s,@PREFIX@,${PREFIX}, ${FILESDIR}/XEphem.ad > ${WRKDIR}/XEphem
- ${INSTALL_DATA} ${WRKDIR}/XEphem ${PREFIX}/lib/X11/app-defaults
+ ${INSTALL_DATA} ${WRKDIR}/XEphem ${DESTDIR}${PREFIX}/lib/X11/app-defaults
cd ${WRKSRC}; ${CP} -R auxil catalogs fifos fits gallery help lo \
- ${PREFIX}/share/xephem
- ${CHOWN} -R ${SHAREOWN} ${PREFIX}/share/xephem
+ ${DESTDIR}${PREFIX}/share/xephem
+ ${CHOWN} -R ${SHAREOWN} ${DESTDIR}${PREFIX}/share/xephem
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libXext/buildlink3.mk"
Home |
Main Index |
Thread Index |
Old Index