Update to 0.7.8 * Depend on ncursesw. * Update HOMEPAGE. Changelog: Completely changed in last 12 years.diff -r1.20 -r1.21 pkgsrc/sysutils/vifm/Makefile
(ryoon)
@@ -1,30 +1,30 @@ | @@ -1,30 +1,30 @@ | |||
1 | # $NetBSD: Makefile,v 1.20 2012/10/23 19:51:29 asau Exp $ | 1 | # $NetBSD: Makefile,v 1.21 2015/02/15 12:50:53 ryoon Exp $ | |
2 | # | 2 | # | |
3 | 3 | |||
4 | DISTNAME= vifm-0.1 | 4 | DISTNAME= vifm-0.7.8 | |
5 | PKGREVISION= 4 | |||
6 | CATEGORIES= sysutils | 5 | CATEGORIES= sysutils | |
7 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/} | |
7 | EXTRACT_SUFX= .tar.bz2 | |||
8 | 8 | |||
9 | MAINTAINER= pkgsrc-users@NetBSD.org | 9 | MAINTAINER= pkgsrc-users@NetBSD.org | |
10 | HOMEPAGE= http://vifm.sourceforge.net/ | 10 | HOMEPAGE= http://vifm.info/ | |
11 | COMMENT= Ncurses based file manager with vi like keybindings | 11 | COMMENT= Ncurses based file manager with vi like keybindings | |
12 | 12 | |||
13 | GNU_CONFIGURE= yes | 13 | GNU_CONFIGURE= yes | |
14 | USE_TOOLS+= gmake | 14 | USE_TOOLS+= gmake perl | |
15 | 15 | |||
16 | INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-* | 16 | INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-* | |
17 | INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*-* | 17 | INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*-* | |
18 | 18 | |||
19 | pre-configure: | 19 | ppre-configure: | |
20 | @${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \ | 20 | @${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \ | |
21 | -e "s,/usr/local,${PREFIX},g" \ | 21 | -e "s,/usr/local,${PREFIX},g" \ | |
22 | ${WRKSRC}/src/config.c > ${WRKSRC}/src/config.c.new && \ | 22 | ${WRKSRC}/src/config.c > ${WRKSRC}/src/config.c.new && \ | |
23 | ${MV} ${WRKSRC}/src/config.c.new ${WRKSRC}/src/config.c | 23 | ${MV} ${WRKSRC}/src/config.c.new ${WRKSRC}/src/config.c | |
24 | @${SED} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \ | 24 | @${SED} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \ | |
25 | ${WRKSRC}/src/vifmrc0.1 > ${WRKSRC}/src/vifmrc0.1.new && \ | 25 | ${WRKSRC}/src/vifmrc0.1 > ${WRKSRC}/src/vifmrc0.1.new && \ | |
26 | ${MV} ${WRKSRC}/src/vifmrc0.1.new ${WRKSRC}/src/vifmrc0.1 | 26 | ${MV} ${WRKSRC}/src/vifmrc0.1.new ${WRKSRC}/src/vifmrc0.1 | |
27 | 27 | |||
28 | .include "../../devel/ncurses/buildlink3.mk" | 28 | .include "../../devel/ncursesw/buildlink3.mk" | |
29 | .include "../../mk/pthread.buildlink3.mk" | 29 | .include "../../mk/pthread.buildlink3.mk" | |
30 | .include "../../mk/bsd.pkg.mk" | 30 | .include "../../mk/bsd.pkg.mk" |
@@ -1,7 +1,25 @@ | @@ -1,7 +1,25 @@ | |||
1 | @comment $NetBSD: PLIST,v 1.2 2009/06/14 18:16:16 joerg Exp $ | 1 | @comment $NetBSD: PLIST,v 1.3 2015/02/15 12:50:53 ryoon Exp $ | |
2 | bin/pauseme | |||
3 | bin/vifm | 2 | bin/vifm | |
4 | share/vifm/vifm-0.1.help.txt | 3 | bin/vifm-pause | |
5 | share/vifm/vifm.txt | 4 | bin/vifmrc-converter | |
6 | share/vifm/vifm.vim | 5 | man/man1/vifm-pause.1 | |
7 | share/vifm/vifmrc0.1 | 6 | man/man1/vifm.1 | |
7 | man/man1/vifmrc-converter.1 | |||
8 | share/applications/vifm.desktop | |||
9 | share/pixmaps/vifm.png | |||
10 | share/vifm/vifm-help.txt | |||
11 | share/vifm/vifmrc | |||
12 | share/vifm/vim-doc/doc/tags | |||
13 | share/vifm/vim-doc/doc/vifm-app.txt | |||
14 | share/vifm/vim/autoload/vifm/edit.vim | |||
15 | share/vifm/vim/doc/tags | |||
16 | share/vifm/vim/doc/vifm-plugin.txt | |||
17 | share/vifm/vim/ftdetect/vifm-rename.vim | |||
18 | share/vifm/vim/ftdetect/vifm.vim | |||
19 | share/vifm/vim/ftplugin/mail_vifm.vim | |||
20 | share/vifm/vim/ftplugin/vifm-cmdedit.vim | |||
21 | share/vifm/vim/ftplugin/vifm-edit.vim | |||
22 | share/vifm/vim/ftplugin/vifm-rename.vim | |||
23 | share/vifm/vim/ftplugin/vifm.vim | |||
24 | share/vifm/vim/plugin/vifm.vim | |||
25 | share/vifm/vim/syntax/vifm.vim |
@@ -1,5 +1,6 @@ | @@ -1,5 +1,6 @@ | |||
1 | $NetBSD: distinfo,v 1.2 2005/02/24 13:40:58 agc Exp $ | 1 | $NetBSD: distinfo,v 1.3 2015/02/15 12:50:53 ryoon Exp $ | |
2 | 2 | |||
3 | SHA1 (vifm-0.1.tar.gz) = 911e54a3cb78ea456dfe038ed997a349fcea6a5e | 3 | SHA1 (vifm-0.7.8.tar.bz2) = 644c49df27bb5b89dac93757152f99b65dee9363 | |
4 | RMD160 (vifm-0.1.tar.gz) = 82977221c5fa08de24764e57a5b5e74fbdd70d99 | 4 | RMD160 (vifm-0.7.8.tar.bz2) = 46247edf337e5c0b383de4995fe10ea1e259a6da | |
5 | Size (vifm-0.1.tar.gz) = 80719 bytes | 5 | Size (vifm-0.7.8.tar.bz2) = 623154 bytes | |
6 | SHA1 (patch-src_utils_mntent.c) = 8fe977c3c7647cbb4cdeec6e64e8842fda3ee870 |
$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");