diff options
Diffstat (limited to 'sysutils/vifm/Makefile')
-rw-r--r-- | sysutils/vifm/Makefile | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/sysutils/vifm/Makefile b/sysutils/vifm/Makefile new file mode 100644 index 00000000000..410f527ba1c --- /dev/null +++ b/sysutils/vifm/Makefile @@ -0,0 +1,28 @@ +# $NetBSD: Makefile,v 1.1.1.1 2002/12/11 21:09:25 jmmv Exp $ +# + +DISTNAME= vifm-0.1 +CATEGORIES= sysutils +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/} + +MAINTAINER= swalter@lettermax.de +HOMEPAGE= http://vifm.sourceforge.net/ +COMMENT= Ncurses based file manager with vi like keybindings + +GNU_CONFIGURE= yes +USE_BUILDLINK2= yes +USE_GMAKE= yes +# Required ncurses function: redrawwin(3n) +USE_NCURSES= yes + +pre-configure: + @${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \ + ${WRKSRC}/src/config.c > ${WRKSRC}/src/config.c.new && \ + ${MV} ${WRKSRC}/src/config.c.new ${WRKSRC}/src/config.c + @${SED} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \ + ${WRKSRC}/src/vifmrc0.1 > ${WRKSRC}/src/vifmrc0.1.new && \ + ${MV} ${WRKSRC}/src/vifmrc0.1.new ${WRKSRC}/src/vifmrc0.1 + +.include "../../devel/ncurses/buildlink2.mk" +.include "../../mk/pthread.buildlink2.mk" +.include "../../mk/bsd.pkg.mk" |