summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Landin <mich@FreeBSD.org>2003-09-29 08:30:00 +0000
committerMichael Landin <mich@FreeBSD.org>2003-09-29 08:30:00 +0000
commit5d82d1919c7ce51da633bbcb4a7a941f59da2e8d (patch)
tree8d9c38f56b1b8b6d76b0c59927df95043eff6b9d
parentUpdate to 1.3.1. (diff)
Update to -> 1.6.2
- update man page - bugfixes - support for user-specific configuration file Approved by: roberto (mentor)
Notes
Notes: svn path=/head/; revision=89765
-rw-r--r--sysutils/vcp/Makefile10
-rw-r--r--sysutils/vcp/distinfo2
-rw-r--r--sysutils/vcp/pkg-plist2
3 files changed, 10 insertions, 4 deletions
diff --git a/sysutils/vcp/Makefile b/sysutils/vcp/Makefile
index 0ccae992c280..2429dcf75515 100644
--- a/sysutils/vcp/Makefile
+++ b/sysutils/vcp/Makefile
@@ -7,17 +7,23 @@
#
PORTNAME= vcp
-PORTVERSION= 1.6.1
+PORTVERSION= 1.6.2
CATEGORIES= sysutils
MASTER_SITES= http://members.optusnet.com.au/~dbbryan/vcp/
MAINTAINER= mich@FreeBSD.org
COMMENT= Copy files in curses interface
+USE_REINPLACE= yes
+
MAN1= ${PORTNAME}.1
LDFLAGS+= -lncurses
+pre-build:
+ @${REINPLACE_CMD} -e 's|/etc/vcp.conf|${PREFIX}/etc/vcp.conf|' ${WRKSRC}/misc.c
+ @${REINPLACE_CMD} -e 's|/etc/vcp.conf|${PREFIX}/etc/vcp.conf|g' ${WRKSRC}/vcp.1
+
do-build:
cd ${WRKSRC} && \
${CC} ${CFLAGS} -c main.c && \
@@ -32,7 +38,7 @@ do-build:
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin
- ${INSTALL_DATA} ${WRKSRC}/.vcp.sample ${PREFIX}/etc/vcp.sample
+ ${INSTALL_DATA} ${WRKSRC}/vcp.conf.sample ${PREFIX}/etc/vcp.conf.sample
${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/
.if !defined(NOPORTDOCS)
diff --git a/sysutils/vcp/distinfo b/sysutils/vcp/distinfo
index 30657762744b..20b0c74e2571 100644
--- a/sysutils/vcp/distinfo
+++ b/sysutils/vcp/distinfo
@@ -1 +1 @@
-MD5 (vcp-1.6.1.tar.gz) = 727a7c4de9ba53ea9dca9e4fbf20fcdf
+MD5 (vcp-1.6.2.tar.gz) = 8798a5ae760952627b8b45d01ae6bc6a
diff --git a/sysutils/vcp/pkg-plist b/sysutils/vcp/pkg-plist
index 97d647674f5f..126302c5c38e 100644
--- a/sysutils/vcp/pkg-plist
+++ b/sysutils/vcp/pkg-plist
@@ -1,4 +1,4 @@
bin/vcp
-etc/vcp.sample
+etc/vcp.conf.sample
%%PORTDOCS%%%%DOCSDIR%%/README
%%PORTDOCS%%@dirrm %%DOCSDIR%%