2004-10-03 02:12:51 +02:00
|
|
|
# $NetBSD: Makefile,v 1.13 2004/10/03 00:18:16 tv Exp $
|
2002-12-11 22:09:25 +01:00
|
|
|
#
|
|
|
|
|
|
|
|
DISTNAME= vifm-0.1
|
2004-10-03 02:12:51 +02:00
|
|
|
PKGREVISION= 3
|
2002-12-11 22:09:25 +01:00
|
|
|
CATEGORIES= sysutils
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/}
|
|
|
|
|
2004-09-19 16:31:36 +02:00
|
|
|
MAINTAINER= tech-pkg@NetBSD.org
|
2002-12-11 22:09:25 +01:00
|
|
|
HOMEPAGE= http://vifm.sourceforge.net/
|
|
|
|
COMMENT= Ncurses based file manager with vi like keybindings
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
2004-04-19 00:51:02 +02:00
|
|
|
USE_BUILDLINK3= yes
|
2004-01-24 16:06:57 +01:00
|
|
|
USE_GNU_TOOLS+= make
|
2003-12-28 01:11:45 +01:00
|
|
|
|
2003-12-28 01:16:11 +01:00
|
|
|
INCOMPAT_CURSES= NetBSD-1.5* NetBSD-1.6[-_.]*
|
2003-12-29 19:22:47 +01:00
|
|
|
INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*
|
2002-12-11 22:09:25 +01:00
|
|
|
|
|
|
|
pre-configure:
|
|
|
|
@${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
|
2003-12-28 01:11:45 +01:00
|
|
|
-e "s,/usr/local,${PREFIX},g" \
|
2002-12-11 22:09:25 +01:00
|
|
|
${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
|
|
|
|
|
2004-04-19 00:51:02 +02:00
|
|
|
.include "../../devel/ncurses/buildlink3.mk"
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
2002-12-11 22:09:25 +01:00
|
|
|
.include "../../mk/bsd.pkg.mk"
|