pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/tmux Use BSD_INSTALL_* so that a non-root user ca...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/47a340623127
branches:  trunk
changeset: 394021:47a340623127
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Wed Jun 03 06:09:11 2009 +0000

description:
Use BSD_INSTALL_* so that a non-root user can install misc/tmux.

diffstat:

 misc/tmux/Makefile         |   8 +-------
 misc/tmux/distinfo         |   4 ++--
 misc/tmux/patches/patch-aa |  14 +++++++++++++-
 3 files changed, 16 insertions(+), 10 deletions(-)

diffs (58 lines):

diff -r 90ba6de6724b -r 47a340623127 misc/tmux/Makefile
--- a/misc/tmux/Makefile        Wed Jun 03 06:03:50 2009 +0000
+++ b/misc/tmux/Makefile        Wed Jun 03 06:09:11 2009 +0000
@@ -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 @@
 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 -r 90ba6de6724b -r 47a340623127 misc/tmux/distinfo
--- a/misc/tmux/distinfo        Wed Jun 03 06:03:50 2009 +0000
+++ b/misc/tmux/distinfo        Wed Jun 03 06:09:11 2009 +0000
@@ -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 -r 90ba6de6724b -r 47a340623127 misc/tmux/patches/patch-aa
--- a/misc/tmux/patches/patch-aa        Wed Jun 03 06:03:50 2009 +0000
+++ b/misc/tmux/patches/patch-aa        Wed Jun 03 06:09:11 2009 +0000
@@ -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 @@
  .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/



Home | Main Index | Thread Index | Old Index