summaryrefslogtreecommitdiff
path: root/misc/vifm
diff options
context:
space:
mode:
authorAdam Weinberger <adamw@FreeBSD.org>2003-06-04 22:21:13 +0000
committerAdam Weinberger <adamw@FreeBSD.org>2003-06-04 22:21:13 +0000
commit9e4cea3d72eaced469c3a56e082fab1d21befaa3 (patch)
treee0cd14ca93e69cb9875cd634774a5599ea0b36c0 /misc/vifm
parentAdd Cantus, an mp3/ogg tagger. (diff)
Update to 0.2.
PR: ports/51944 Submitted by: Kirill Ponomarew <ponomarew@oberon.net>
Notes
Notes: svn path=/head/; revision=82297
Diffstat (limited to 'misc/vifm')
-rw-r--r--misc/vifm/Makefile12
-rw-r--r--misc/vifm/distinfo2
-rw-r--r--misc/vifm/pkg-plist4
3 files changed, 12 insertions, 6 deletions
diff --git a/misc/vifm/Makefile b/misc/vifm/Makefile
index 69dc17a74fdc..a4cf52b2077f 100644
--- a/misc/vifm/Makefile
+++ b/misc/vifm/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= vifm
-PORTVERSION= 0.1
+PORTVERSION= 0.2
CATEGORIES= misc
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= vifm
@@ -14,6 +14,8 @@ MASTER_SITE_SUBDIR= vifm
MAINTAINER= swalter@lettermax.de
COMMENT= Ncurses based file manager with vi like keybindings
+WRKSRC= ${WRKDIR}/${PORTNAME}
+
.if defined(WITH_VIFM_SCREEN)
RUN_DEPENDS= screen:${PORTSDIR}/misc/screen
.else
@@ -25,12 +27,16 @@ GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_REINPLACE= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g' \
+ ${WRKSRC}/configure
+
.if defined(WITH_VIFM_SCREEN)
pre-build:
@${REINPLACE_CMD} -e "s/cfg.use_screen = 0/cfg.use_screen = 1/" \
- ${BUILD_WRKSRC}/src/config.c
+ ${WRKSRC}/src/config.c
@${REINPLACE_CMD} -e "s/USE_SCREEN=0/USE_SCREEN=1/" \
- ${BUILD_WRKSRC}/src/vifmrc0.1
+ ${WRKSRC}/src/vifmrc0.2
.endif
.include <bsd.port.mk>
diff --git a/misc/vifm/distinfo b/misc/vifm/distinfo
index d216376cd230..8d67396168d9 100644
--- a/misc/vifm/distinfo
+++ b/misc/vifm/distinfo
@@ -1 +1 @@
-MD5 (vifm-0.1.tar.gz) = ce8d8c8a1f94d3735c4a3bdef45520ce
+MD5 (vifm-0.2.tar.gz) = 1bcf2d89eb37d945b3c84f4f572e0e37
diff --git a/misc/vifm/pkg-plist b/misc/vifm/pkg-plist
index b4831235ff4b..c7a5ca3e7a9b 100644
--- a/misc/vifm/pkg-plist
+++ b/misc/vifm/pkg-plist
@@ -1,7 +1,7 @@
bin/pauseme
bin/vifm
-share/vifm/vifm-0.1.help.txt
+share/vifm/vifm-0.2.help.txt
share/vifm/vifm.txt
share/vifm/vifm.vim
-share/vifm/vifmrc0.1
+share/vifm/vifmrc0.2
@dirrm share/vifm