diff options
-rw-r--r-- | sysutils/vcp/Makefile | 10 | ||||
-rw-r--r-- | sysutils/vcp/distinfo | 2 | ||||
-rw-r--r-- | sysutils/vcp/pkg-plist | 2 |
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%% |