1 # $NetBSD: Makefile,v 1.19 2008/06/20 01:09:36 joerg Exp $
7 MASTER_SITES
= ${MASTER_SITE_SOURCEFORGE
:=vifm
/}
9 MAINTAINER
= pkgsrc-users@NetBSD.org
10 HOMEPAGE
= http
://vifm.sourceforge.net
/
11 COMMENT
= Ncurses based file manager with vi like keybindings
16 INCOMPAT_CURSES
= NetBSD-1.5
*-* NetBSD-1.6
[-_.
]*-*
17 INCOMPAT_CURSES
+= NetBSD-1.6
[A-Z
]-* NetBSD-1.6Z
[A-C
]*-*
20 @
${SED} -e
"s/cfg.use_screen = 0/cfg.use_screen = 1/" \
21 -e
"s,/usr/local,${PREFIX},g" \
22 ${WRKSRC}/src
/config.c
> ${WRKSRC}/src
/config.c.new
&& \
23 ${MV} ${WRKSRC}/src
/config.c.new
${WRKSRC}/src
/config.c
24 @
${SED} -e
"s/USE_SCREEN=0/USE_SCREEN=1/" \
25 ${WRKSRC}/src
/vifmrc0.1
> ${WRKSRC}/src
/vifmrc0.1.new
&& \
26 ${MV} ${WRKSRC}/src
/vifmrc0.1.new
${WRKSRC}/src
/vifmrc0.1
28 .
include "../../devel/ncurses/buildlink3.mk"
29 .
include "../../mk/pthread.buildlink3.mk"
30 .
include "../../mk/bsd.pkg.mk"