Lines 6-12
Link Here
|
6 |
# |
6 |
# |
7 |
|
7 |
|
8 |
PORTNAME= vifm |
8 |
PORTNAME= vifm |
9 |
PORTVERSION= 0.1 |
9 |
PORTVERSION= 0.2 |
10 |
CATEGORIES= misc |
10 |
CATEGORIES= misc |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
11 |
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} |
12 |
MASTER_SITE_SUBDIR= vifm |
12 |
MASTER_SITE_SUBDIR= vifm |
Lines 14-19
Link Here
|
14 |
MAINTAINER= swalter@lettermax.de |
14 |
MAINTAINER= swalter@lettermax.de |
15 |
COMMENT= Ncurses based file manager with vi like keybindings |
15 |
COMMENT= Ncurses based file manager with vi like keybindings |
16 |
|
16 |
|
|
|
17 |
WRKSRC= ${WRKDIR}/${PORTNAME} |
18 |
|
17 |
.if defined(WITH_VIFM_SCREEN) |
19 |
.if defined(WITH_VIFM_SCREEN) |
18 |
RUN_DEPENDS= screen:${PORTSDIR}/misc/screen |
20 |
RUN_DEPENDS= screen:${PORTSDIR}/misc/screen |
19 |
.else |
21 |
.else |
Lines 25-36
Link Here
|
25 |
USE_GMAKE= yes |
27 |
USE_GMAKE= yes |
26 |
USE_REINPLACE= yes |
28 |
USE_REINPLACE= yes |
27 |
|
29 |
|
|
|
30 |
post-patch: |
31 |
@${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure |
32 |
|
28 |
.if defined(WITH_VIFM_SCREEN) |
33 |
.if defined(WITH_VIFM_SCREEN) |
29 |
pre-build: |
34 |
pre-build: |
30 |
@${REINPLACE_CMD} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \ |
35 |
@${REINPLACE_CMD} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \ |
31 |
${BUILD_WRKSRC}/src/config.c |
36 |
${WRKSRC}/src/config.c |
32 |
@${REINPLACE_CMD} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \ |
37 |
@${REINPLACE_CMD} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \ |
33 |
${BUILD_WRKSRC}/src/vifmrc0.1 |
38 |
${WRKSRC}/src/vifmrc0.2 |
34 |
.endif |
39 |
.endif |
35 |
|
40 |
|
36 |
.include <bsd.port.mk> |
41 |
.include <bsd.port.mk> |