summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2009-07-07 17:57:22 +0000
committerjoerg <joerg@pkgsrc.org>2009-07-07 17:57:22 +0000
commit13d241100101c602a0ccb548a867c24e3ea3cc2c (patch)
tree6cbc91ac7ae49410a786adaa81e59aedb6a62a18
parent8ff8844fdf17926076699348e9814e5591d4f6f3 (diff)
downloadpkgsrc-13d241100101c602a0ccb548a867c24e3ea3cc2c.tar.gz
user-destdir support
-rw-r--r--x11/xbindkeys-tk/Makefile8
-rw-r--r--x11/xcruise/Makefile12
-rw-r--r--x11/xephem/Makefile14
3 files changed, 20 insertions, 14 deletions
diff --git a/x11/xbindkeys-tk/Makefile b/x11/xbindkeys-tk/Makefile
index a41385a76d6..f174107a5a8 100644
--- a/x11/xbindkeys-tk/Makefile
+++ b/x11/xbindkeys-tk/Makefile
@@ -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 @@ NO_BUILD= yes
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 --git a/x11/xcruise/Makefile b/x11/xcruise/Makefile
index e1691e9cccb..033e7849b22 100644
--- a/x11/xcruise/Makefile
+++ b/x11/xcruise/Makefile
@@ -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 @@ HOMEPAGE= http://xcruiser.sourceforge.net/
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 --git a/x11/xephem/Makefile b/x11/xephem/Makefile
index 58257df3544..b003af87b10 100644
--- a/x11/xephem/Makefile
+++ b/x11/xephem/Makefile
@@ -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 @@ HOMEPAGE= http://www.clearskyinstitute.com/xephem/
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 @@ INSTALLATION_DIRS= bin lib/X11/app-defaults share/xephem/tools \
${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"