View | Details | Raw Unified | Return to bug 85149
Collapse All | Expand All

(-)Makefile (-14 / +8 lines)
Lines 6-27 Link Here
6
#
6
#
7
7
8
PORTNAME=	vifm
8
PORTNAME=	vifm
9
PORTVERSION=	0.2a
9
PORTVERSION=	0.3a
10
PORTREVISION=	1
11
CATEGORIES=	misc
10
CATEGORIES=	misc
12
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
11
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE_EXTENDED}
13
MASTER_SITE_SUBDIR=	vifm
12
MASTER_SITE_SUBDIR=	${PORTNAME}
14
13
15
MAINTAINER=	sw@gegenunendlich.de
14
MAINTAINER=	sw@gegenunendlich.de
16
COMMENT=	Ncurses based file manager with vi like keybindings
15
COMMENT=	Ncurses based file manager with vi like keybindings
17
16
18
WRKSRC=		${WRKDIR}/${PORTNAME}
19
20
.if defined(WITH_VIFM_SCREEN)
17
.if defined(WITH_VIFM_SCREEN)
21
RUN_DEPENDS=	screen:${PORTSDIR}/misc/screen
18
RUN_DEPENDS=	screen:${PORTSDIR}/misc/screen
22
.else
23
pre-everything::
24
	@${ECHO_CMD} "You can define WITH_VIFM_SCREEN to add screen as a dependency."
25
.endif
19
.endif
26
20
27
GNU_CONFIGURE=	yes
21
GNU_CONFIGURE=	yes
Lines 29-51 Link Here
29
USE_REINPLACE=	yes
23
USE_REINPLACE=	yes
30
24
31
PLIST_FILES=	bin/pauseme \
25
PLIST_FILES=	bin/pauseme \
26
		bin/screen-open-region-with-program \
27
		bin/screen-run-program-in-region \
32
		bin/vifm \
28
		bin/vifm \
33
		share/vifm/vifm-0.2.help.txt \
29
		share/vifm/vifm-0.2.help.txt \
34
		share/vifm/vifm.txt \
30
		share/vifm/vifm.txt \
35
		share/vifm/vifm.vim \
31
		share/vifm/vifm.vim
36
		share/vifm/vifmrc0.2
37
PLIST_DIRS=	share/vifm
32
PLIST_DIRS=	share/vifm
38
33
39
post-patch:
40
	@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
41
		${WRKSRC}/configure
42
43
.if defined(WITH_VIFM_SCREEN)
34
.if defined(WITH_VIFM_SCREEN)
44
pre-build:
35
pre-build:
45
	@${REINPLACE_CMD} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
36
	@${REINPLACE_CMD} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
46
		${WRKSRC}/src/config.c
37
		${WRKSRC}/src/config.c
47
	@${REINPLACE_CMD} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \
38
	@${REINPLACE_CMD} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \
48
		${WRKSRC}/src/vifmrc0.2
39
		${WRKSRC}/src/vifmrc0.2
40
.else
41
pre-everything::
42
	@${ECHO_CMD} "You can define WITH_VIFM_SCREEN to add screen as a dependency."
49
.endif
43
.endif
50
44
51
.include <bsd.port.mk>
45
.include <bsd.port.mk>
(-)distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
MD5 (vifm-0.2a.tar.gz) = f51a3803d999bcf1c64b3f31983d6ae0
1
MD5 (vifm-0.3a.tar.gz) = 90003892070db029c8eaec910c4a5ced
2
SIZE (vifm-0.2a.tar.gz) = 93250
2
SIZE (vifm-0.3a.tar.gz) = 493981

Return to bug 85149