diff options
author | minskim <minskim> | 2009-06-03 06:09:11 +0000 |
---|---|---|
committer | minskim <minskim> | 2009-06-03 06:09:11 +0000 |
commit | 3b1211d9c390ef4aa90a92b50d648918dc034d57 (patch) | |
tree | deba1cfab517f7198c2d96f917003dcd652d131d /misc | |
parent | cea1fdd59d2db699bf08a5c56c0126b81e7cbfca (diff) | |
download | pkgsrc-3b1211d9c390ef4aa90a92b50d648918dc034d57.tar.gz |
Use BSD_INSTALL_* so that a non-root user can install misc/tmux.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/tmux/Makefile | 8 | ||||
-rw-r--r-- | misc/tmux/distinfo | 4 | ||||
-rw-r--r-- | misc/tmux/patches/patch-aa | 14 |
3 files changed, 16 insertions, 10 deletions
diff --git a/misc/tmux/Makefile b/misc/tmux/Makefile index 8cea39f9175..9c77ebe6e66 100644 --- a/misc/tmux/Makefile +++ b/misc/tmux/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2009/05/02 10:50:57 hasso Exp $ +# $NetBSD: Makefile,v 1.3 2009/06/03 06:09:11 minskim Exp $ DISTNAME= tmux-0.8 CATEGORIES= misc @@ -13,11 +13,5 @@ PKG_DESTDIR_SUPPORT= user-destdir NO_CONFIGURE= yes USE_NCURSES= yes -INSTALL_MAKE_FLAGS+= \ - INSTALL_MAN=${INSTALL_MAN:Q} \ - INSTALL_MAN_DIR=${INSTALL_PROGRAM_DIR:Q} \ - INSTALL_PROGRAM_DIR=${INSTALL_PROGRAM_DIR:Q} \ - INSTALL_PROGRAM=${INSTALL_PROGRAM:Q} - .include "../../devel/ncurses/buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/misc/tmux/distinfo b/misc/tmux/distinfo index 16372e4abf2..8acc99fc726 100644 --- a/misc/tmux/distinfo +++ b/misc/tmux/distinfo @@ -1,6 +1,6 @@ -$NetBSD: distinfo,v 1.3 2009/05/27 06:11:23 minskim Exp $ +$NetBSD: distinfo,v 1.4 2009/06/03 06:09:11 minskim Exp $ SHA1 (tmux-0.8.tar.gz) = 87a9db829ff36cc432114672f7354a74d673832b RMD160 (tmux-0.8.tar.gz) = 81f828e0af59a994e0b4ba86ab17421ffd7d7e98 Size (tmux-0.8.tar.gz) = 175515 bytes -SHA1 (patch-aa) = 75b6b54aff322f8aa4c76e6720067f2b69cfd474 +SHA1 (patch-aa) = 74bbf3eb3a70e54645d3d0eb31cbcdfa7e1f0781 diff --git a/misc/tmux/patches/patch-aa b/misc/tmux/patches/patch-aa index 37eaa9edd57..c722053199f 100644 --- a/misc/tmux/patches/patch-aa +++ b/misc/tmux/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.3 2009/05/27 06:11:23 minskim Exp $ +$NetBSD: patch-aa,v 1.4 2009/06/03 06:09:11 minskim Exp $ --- Makefile.orig 2009-04-27 17:38:18.000000000 +0200 +++ Makefile @@ -28,3 +28,15 @@ $NetBSD: patch-aa,v 1.3 2009/05/27 06:11:23 minskim Exp $ .endif OBJS= ${SRCS:S/.c/.o/:S/.y/.o/} +@@ -152,7 +158,7 @@ update-index.html: + sed "s/%%VERSION%%/${VERSION}/g" index.html.in >index.html + + install: all +- ${INSTALLDIR} ${DESTDIR}${PREFIX}/bin +- ${INSTALLBIN} ${PROG} ${DESTDIR}${PREFIX}/bin/ +- ${INSTALLDIR} ${DESTDIR}${PREFIX}/man/man1 +- ${INSTALLMAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1/ ++ ${BSD_INSTALL_PROGRAM_DIR} ${DESTDIR}${PREFIX}/bin ++ ${BSD_INSTALL_PROGRAM} ${PROG} ${DESTDIR}${PREFIX}/bin/ ++ ${BSD_INSTALL_MAN_DIR} ${DESTDIR}${PREFIX}/man/man1 ++ ${BSD_INSTALL_MAN} ${PROG}.1 ${DESTDIR}${PREFIX}/man/man1/ |