diff options
author | joerg <joerg@pkgsrc.org> | 2009-07-07 18:25:56 +0000 |
---|---|---|
committer | joerg <joerg@pkgsrc.org> | 2009-07-07 18:25:56 +0000 |
commit | 6a933a2a5d75115c1a41ff0d3650f6847606891a (patch) | |
tree | 9291e0f3133c668f6e8efd2b661af40291065924 | |
parent | 86e9ef5ec98e38f09f15c064e54cdb85226f00e3 (diff) | |
download | pkgsrc-6a933a2a5d75115c1a41ff0d3650f6847606891a.tar.gz |
user-destdir support
-rw-r--r-- | x11/dtx11session/Makefile | 14 | ||||
-rw-r--r-- | x11/dxpc/Makefile | 10 | ||||
-rw-r--r-- | x11/fbdesk/Makefile | 9 | ||||
-rw-r--r-- | x11/filerunner/Makefile | 17 |
4 files changed, 28 insertions, 22 deletions
diff --git a/x11/dtx11session/Makefile b/x11/dtx11session/Makefile index 16c970a8f2a..082a67e8141 100644 --- a/x11/dtx11session/Makefile +++ b/x11/dtx11session/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.8 2009/04/09 00:48:18 joerg Exp $ +# $NetBSD: Makefile,v 1.9 2009/07/07 18:28:48 joerg Exp $ DISTNAME= dtxsession-1.0 CATEGORIES= x11 @@ -9,6 +9,8 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.sun.com/software/solaris/cde/ COMMENT= Launch a X11 session from CDE login service +PKG_DESTDIR_SUPPORT= user-destdir + ONLY_FOR_PLATFORM= SunOS-*-* .include "../../mk/bsd.prefs.mk" @@ -20,11 +22,11 @@ NO_BUILD= YES CONFIG_DIR= ${PREFIX}/config +INSTALLATION_DIRS= ${CONFIG_DIR}/C/Xresources.d appconfig/icons/C + do-install: - ${INSTALL_DATA_DIR} ${CONFIG_DIR}/C/Xresources.d - ${INSTALL_DATA} ${FILESDIR}/Xresources.X11 ${CONFIG_DIR}/C/Xresources.d - ${INSTALL_SCRIPT} ${FILESDIR}/Xsession.X11 ${CONFIG_DIR} - ${INSTALL_DATA_DIR} ${PREFIX}/appconfig/icons/C - ${INSTALL_DATA} ${FILESDIR}/X11.?m ${PREFIX}/appconfig/icons/C + ${INSTALL_DATA} ${FILESDIR}/Xresources.X11 ${DESTDIR}${CONFIG_DIR}/C/Xresources.d + ${INSTALL_SCRIPT} ${FILESDIR}/Xsession.X11 ${DESTDIR}${CONFIG_DIR} + ${INSTALL_DATA} ${FILESDIR}/X11.?m ${DESTDIR}${PREFIX}/appconfig/icons/C .include "../../mk/bsd.pkg.mk" diff --git a/x11/dxpc/Makefile b/x11/dxpc/Makefile index 02e7f6509df..cbe862b6fcb 100644 --- a/x11/dxpc/Makefile +++ b/x11/dxpc/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.28 2007/09/20 08:04:17 rillig Exp $ +# $NetBSD: Makefile,v 1.29 2009/07/07 18:30:27 joerg Exp $ DISTNAME= dxpc-3.8.2 PKGREVISION= 1 @@ -9,13 +9,13 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.vigor.nu/dxpc/ COMMENT= Differential X Protocol Compressor +PKG_DESTDIR_SUPPORT= user-destdir + GNU_CONFIGURE= yes USE_LANGUAGES= c c++ -.include "../../mk/bsd.prefs.mk" - -post-install: - strip ${PREFIX}/bin/dxpc +INSTALL_MAKE_FLAGS+= bindir=${DESTDIR}${PREFIX}/bin \ + man1dir=${DESTDIR}${PREFIX}/${PKGMANDIR}/man1 .include "../../archivers/liblzo/buildlink3.mk" .include "../../x11/xproto/buildlink3.mk" diff --git a/x11/fbdesk/Makefile b/x11/fbdesk/Makefile index 81f15019e8c..5f47fff0624 100644 --- a/x11/fbdesk/Makefile +++ b/x11/fbdesk/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.23 2008/05/10 16:19:16 obache Exp $ +# $NetBSD: Makefile,v 1.24 2009/07/07 18:29:04 joerg Exp $ # DISTNAME= fbdesk-1.4.1 @@ -9,14 +9,17 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://fluxbox.sourceforge.net/fbdesk/ COMMENT= Application that creates and manage icons on your desktop +PKG_DESTDIR_SUPPORT= user-destdir + USE_LANGUAGES= c c++ USE_TOOLS+= pkg-config USE_LIBTOOL= YES GNU_CONFIGURE= YES +INSTALLATION_DIRS= share/doc/fbdesk + post-install: - ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/fbdesk - ${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/fbdesk/ + ${INSTALL_DATA} ${WRKSRC}/README ${DESTDIR}${PREFIX}/share/doc/fbdesk/ BUILDLINK_DEPMETHOD.libXt?= build diff --git a/x11/filerunner/Makefile b/x11/filerunner/Makefile index 8dedb4e33a1..7f52cce2e26 100644 --- a/x11/filerunner/Makefile +++ b/x11/filerunner/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.27 2006/03/04 21:31:08 jlam Exp $ +# $NetBSD: Makefile,v 1.28 2009/07/07 18:25:56 joerg Exp $ DISTNAME= FileRunner-2.5.1 PKGNAME= ${DISTNAME:S/FileRunner/filerunner/} @@ -10,26 +10,27 @@ MAINTAINER= pkgsrc-users@NetBSD.org HOMEPAGE= http://www.cd.chalmers.se/~hch/filerunner.html COMMENT= Filemanager with FTP capabilities. Uses Tcl/Tk +PKG_DESTDIR_SUPPORT= user-destdir + USE_X11BASE= yes -INSTALLATION_DIRS= bin +INSTALLATION_DIRS= bin lib/FileRunner/bitmaps post-extract: ${RM} ${WRKSRC}/ext.so ${CP} ${WRKSRC}/Makefiles/Makefile.netbsd_gcc ${WRKSRC}/Makefile do-install: - ${INSTALL_DATA_DIR} ${PREFIX}/lib/FileRunner/bitmaps - ${INSTALL_SCRIPT} ${WRKSRC}/fr ${PREFIX}/lib/FileRunner - ${LN} -sf ${PREFIX}/lib/FileRunner/fr ${PREFIX}/bin + ${INSTALL_SCRIPT} ${WRKSRC}/fr ${DESTDIR}${PREFIX}/lib/FileRunner + ${LN} -sf ${PREFIX}/lib/FileRunner/fr ${DESTDIR}${PREFIX}/bin .for FILE in FAQ HISTORY QuickStart.txt Tips.txt Users_Guide.txt chmod.tcl cmd.tcl config.tcl dialog.tcl ext.so font.tcl ftp.tcl http.tcl tclIndex - ${INSTALL_DATA} ${WRKSRC}/${FILE} ${PREFIX}/lib/FileRunner + ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DESTDIR}${PREFIX}/lib/FileRunner .endfor .for FILE in frcolor frftp - ${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${PREFIX}/lib/FileRunner + ${INSTALL_SCRIPT} ${WRKSRC}/${FILE} ${DESTDIR}${PREFIX}/lib/FileRunner .endfor .for map in cross.bit frterm.bit larger.bit left.bit max.bit pgdown.bit pgup.bit right.bit smaller.bit toggle.bit tree.bit up.bit update.bit xterm.bit - ${INSTALL_DATA} ${WRKSRC}/bitmaps/${map} ${PREFIX}/lib/FileRunner/bitmaps + ${INSTALL_DATA} ${WRKSRC}/bitmaps/${map} ${DESTDIR}${PREFIX}/lib/FileRunner/bitmaps .endfor .include "../../x11/tk/buildlink3.mk" |