diff options
author | ryoon <ryoon@pkgsrc.org> | 2015-02-15 12:50:53 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2015-02-15 12:50:53 +0000 |
commit | 074534076429a74f795e6aab7a9fe155ade0185d (patch) | |
tree | f2537b82f86affe0ba159224b6d2bed2e47670f6 /sysutils/vifm | |
parent | 1b103d6f5bae93bf56b1c863d9f9f75ea252d176 (diff) | |
download | pkgsrc-074534076429a74f795e6aab7a9fe155ade0185d.tar.gz |
Update to 0.7.8
* Depend on ncursesw.
* Update HOMEPAGE.
Changelog:
Completely changed in last 12 years.
Diffstat (limited to 'sysutils/vifm')
-rw-r--r-- | sysutils/vifm/Makefile | 14 | ||||
-rw-r--r-- | sysutils/vifm/PLIST | 30 | ||||
-rw-r--r-- | sysutils/vifm/distinfo | 9 | ||||
-rw-r--r-- | sysutils/vifm/patches/patch-src_utils_mntent.c | 56 |
4 files changed, 92 insertions, 17 deletions
diff --git a/sysutils/vifm/Makefile b/sysutils/vifm/Makefile index 43429928517..5c53b26e08b 100644 --- a/sysutils/vifm/Makefile +++ b/sysutils/vifm/Makefile @@ -1,22 +1,22 @@ -# $NetBSD: Makefile,v 1.20 2012/10/23 19:51:29 asau Exp $ +# $NetBSD: Makefile,v 1.21 2015/02/15 12:50:53 ryoon Exp $ # -DISTNAME= vifm-0.1 -PKGREVISION= 4 +DISTNAME= vifm-0.7.8 CATEGORIES= sysutils MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/} +EXTRACT_SUFX= .tar.bz2 MAINTAINER= pkgsrc-users@NetBSD.org -HOMEPAGE= http://vifm.sourceforge.net/ +HOMEPAGE= http://vifm.info/ COMMENT= Ncurses based file manager with vi like keybindings GNU_CONFIGURE= yes -USE_TOOLS+= gmake +USE_TOOLS+= gmake perl INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-* INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*-* -pre-configure: +ppre-configure: @${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \ -e "s,/usr/local,${PREFIX},g" \ ${WRKSRC}/src/config.c > ${WRKSRC}/src/config.c.new && \ @@ -25,6 +25,6 @@ pre-configure: ${WRKSRC}/src/vifmrc0.1 > ${WRKSRC}/src/vifmrc0.1.new && \ ${MV} ${WRKSRC}/src/vifmrc0.1.new ${WRKSRC}/src/vifmrc0.1 -.include "../../devel/ncurses/buildlink3.mk" +.include "../../devel/ncursesw/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .include "../../mk/bsd.pkg.mk" diff --git a/sysutils/vifm/PLIST b/sysutils/vifm/PLIST index ae11a22a898..0d09999ea8b 100644 --- a/sysutils/vifm/PLIST +++ b/sysutils/vifm/PLIST @@ -1,7 +1,25 @@ -@comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:16 joerg Exp $ -bin/pauseme +@comment $NetBSD: PLIST,v 1.3 2015/02/15 12:50:53 ryoon Exp $ bin/vifm -share/vifm/vifm-0.1.help.txt -share/vifm/vifm.txt -share/vifm/vifm.vim -share/vifm/vifmrc0.1 +bin/vifm-pause +bin/vifmrc-converter +man/man1/vifm-pause.1 +man/man1/vifm.1 +man/man1/vifmrc-converter.1 +share/applications/vifm.desktop +share/pixmaps/vifm.png +share/vifm/vifm-help.txt +share/vifm/vifmrc +share/vifm/vim-doc/doc/tags +share/vifm/vim-doc/doc/vifm-app.txt +share/vifm/vim/autoload/vifm/edit.vim +share/vifm/vim/doc/tags +share/vifm/vim/doc/vifm-plugin.txt +share/vifm/vim/ftdetect/vifm-rename.vim +share/vifm/vim/ftdetect/vifm.vim +share/vifm/vim/ftplugin/mail_vifm.vim +share/vifm/vim/ftplugin/vifm-cmdedit.vim +share/vifm/vim/ftplugin/vifm-edit.vim +share/vifm/vim/ftplugin/vifm-rename.vim +share/vifm/vim/ftplugin/vifm.vim +share/vifm/vim/plugin/vifm.vim +share/vifm/vim/syntax/vifm.vim diff --git a/sysutils/vifm/distinfo b/sysutils/vifm/distinfo index 50ddc689239..fa873dcf3c3 100644 --- a/sysutils/vifm/distinfo +++ b/sysutils/vifm/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.2 2005/02/24 13:40:58 agc Exp $ +$NetBSD: distinfo,v 1.3 2015/02/15 12:50:53 ryoon Exp $ -SHA1 (vifm-0.1.tar.gz) = 911e54a3cb78ea456dfe038ed997a349fcea6a5e -RMD160 (vifm-0.1.tar.gz) = 82977221c5fa08de24764e57a5b5e74fbdd70d99 -Size (vifm-0.1.tar.gz) = 80719 bytes +SHA1 (vifm-0.7.8.tar.bz2) = 644c49df27bb5b89dac93757152f99b65dee9363 +RMD160 (vifm-0.7.8.tar.bz2) = 46247edf337e5c0b383de4995fe10ea1e259a6da +Size (vifm-0.7.8.tar.bz2) = 623154 bytes +SHA1 (patch-src_utils_mntent.c) = 8fe977c3c7647cbb4cdeec6e64e8842fda3ee870 diff --git a/sysutils/vifm/patches/patch-src_utils_mntent.c b/sysutils/vifm/patches/patch-src_utils_mntent.c new file mode 100644 index 00000000000..f96f5f32c98 --- /dev/null +++ b/sysutils/vifm/patches/patch-src_utils_mntent.c @@ -0,0 +1,56 @@ +$NetBSD: patch-src_utils_mntent.c,v 1.1 2015/02/15 12:50:53 ryoon Exp $ + +* I have no idea how to test this... + +--- src/utils/mntent.c.orig 2014-10-25 15:09:35.000000000 +0000 ++++ src/utils/mntent.c +@@ -47,7 +47,7 @@ + #include <stdlib.h> + #include <string.h> + +-static struct mntent * statfs_to_mntent(struct statfs *mntbuf); ++static struct mntent * statvfs_to_mntent(struct statvfs *mntbuf); + static char * flags2opts(int flags); + static char * catopt(char s0[], const char s1[]); + +@@ -76,7 +76,7 @@ getmntent(FILE *fp) + static int pos = -1; + static int mntsize = -1; + +- static struct statfs *mntbuf; ++ static struct statvfs *mntbuf; + + if(pos == -1 || mntsize == -1) + { +@@ -90,11 +90,11 @@ getmntent(FILE *fp) + return NULL; + } + +- return statfs_to_mntent(&mntbuf[pos]); ++ return statvfs_to_mntent(&mntbuf[pos]); + } + + static struct mntent * +-statfs_to_mntent(struct statfs *mntbuf) ++statvfs_to_mntent(struct statvfs *mntbuf) + { + static struct mntent _mntent; + static char opts_buf[40], *tmp; +@@ -102,7 +102,7 @@ statfs_to_mntent(struct statfs *mntbuf) + _mntent.mnt_fsname = mntbuf->f_mntfromname; + _mntent.mnt_dir = mntbuf->f_mntonname; + _mntent.mnt_type = mntbuf->f_fstypename; +- tmp = flags2opts (mntbuf->f_flags); ++ tmp = flags2opts (mntbuf->f_flag); + if(tmp != NULL) + { + opts_buf[sizeof(opts_buf) - 1] = '\0'; +@@ -128,7 +128,7 @@ flags2opts(int flags) + if(flags & MNT_UNION) res = catopt(res, "union"); + if(flags & MNT_ASYNC) res = catopt(res, "async"); + if(flags & MNT_NOATIME) res = catopt(res, "noatime"); +-#ifndef __APPLE__ ++#if !(defined(__APPLE__) || defined(__NetBSD__)) + if(flags & MNT_NOCLUSTERR) res = catopt(res, "noclusterr"); + if(flags & MNT_NOCLUSTERW) res = catopt(res, "noclusterw"); + if(flags & MNT_NOSYMFOLLOW) res = catopt(res, "nosymfollow"); |