Fixup fromcvs/togit conversion
[minix-pkgsrc.git] / sysutils / vifm / Makefile
blobed84f2a00062cf2619fb5975e8ef2d281ee1119f
1 # $NetBSD: Makefile,v 1.19 2008/06/20 01:09:36 joerg Exp $
4 DISTNAME= vifm-0.1
5 PKGREVISION= 4
6 CATEGORIES= sysutils
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
13 GNU_CONFIGURE= yes
14 USE_TOOLS+= gmake
16 INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-*
17 INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*-*
19 pre-configure:
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"