32 lines
991 B
Makefile
32 lines
991 B
Makefile
# $NetBSD: Makefile,v 1.19 2008/06/20 01:09:36 joerg Exp $
|
|
#
|
|
|
|
DISTNAME= vifm-0.1
|
|
PKGREVISION= 4
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=vifm/}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://vifm.sourceforge.net/
|
|
COMMENT= Ncurses based file manager with vi like keybindings
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_TOOLS+= gmake
|
|
|
|
INCOMPAT_CURSES= NetBSD-1.5*-* NetBSD-1.6[-_.]*-*
|
|
INCOMPAT_CURSES+= NetBSD-1.6[A-Z]-* NetBSD-1.6Z[A-C]*-*
|
|
|
|
pre-configure:
|
|
@${SED} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
|
|
-e "s,/usr/local,${PREFIX},g" \
|
|
${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/buildlink3.mk"
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|