2002-08-10 22:37:27 -04:00
|
|
|
# New ports collection makefile for: vifm
|
|
|
|
# Date created: 09 August 2002
|
|
|
|
# Whom: Stefan Walter <swalter@lettermax.de>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= vifm
|
2005-08-29 06:16:29 -04:00
|
|
|
PORTVERSION= 0.3a
|
2002-08-10 22:37:27 -04:00
|
|
|
CATEGORIES= misc
|
2004-03-11 05:46:58 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE_EXTENDED}
|
2005-08-29 06:16:29 -04:00
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2002-08-10 22:37:27 -04:00
|
|
|
|
2006-05-07 09:32:13 -04:00
|
|
|
MAINTAINER= stefan@FreeBSD.org
|
2003-02-21 07:51:06 -05:00
|
|
|
COMMENT= Ncurses based file manager with vi like keybindings
|
2002-08-10 22:37:27 -04:00
|
|
|
|
|
|
|
.if defined(WITH_VIFM_SCREEN)
|
2005-11-06 16:43:09 -05:00
|
|
|
RUN_DEPENDS= screen:${PORTSDIR}/sysutils/screen
|
2002-08-10 22:37:27 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
USE_GMAKE= yes
|
|
|
|
|
2004-01-25 12:24:31 -05:00
|
|
|
PLIST_FILES= bin/pauseme \
|
2005-08-29 06:16:29 -04:00
|
|
|
bin/screen-open-region-with-program \
|
|
|
|
bin/screen-run-program-in-region \
|
2004-01-25 12:24:31 -05:00
|
|
|
bin/vifm \
|
|
|
|
share/vifm/vifm-0.2.help.txt \
|
|
|
|
share/vifm/vifm.txt \
|
2005-08-29 06:16:29 -04:00
|
|
|
share/vifm/vifm.vim
|
2004-01-25 12:24:31 -05:00
|
|
|
PLIST_DIRS= share/vifm
|
|
|
|
|
2003-06-04 18:21:13 -04:00
|
|
|
post-patch:
|
2005-08-29 06:16:29 -04:00
|
|
|
@${REINPLACE_CMD} -e 's/resize_term/resizeterm/g' \
|
|
|
|
${WRKSRC}/src/ui.c
|
2003-06-04 18:21:13 -04:00
|
|
|
|
2002-08-10 22:37:27 -04:00
|
|
|
.if defined(WITH_VIFM_SCREEN)
|
|
|
|
pre-build:
|
|
|
|
@${REINPLACE_CMD} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
|
2003-06-04 18:21:13 -04:00
|
|
|
${WRKSRC}/src/config.c
|
2002-08-10 22:37:27 -04:00
|
|
|
@${REINPLACE_CMD} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \
|
2003-06-04 18:21:13 -04:00
|
|
|
${WRKSRC}/src/vifmrc0.2
|
2005-08-29 06:16:29 -04:00
|
|
|
.else
|
|
|
|
pre-everything::
|
|
|
|
@${ECHO_CMD} "You can define WITH_VIFM_SCREEN to add screen as a dependency."
|
2002-08-10 22:37:27 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|