Date: Tue, 25 Feb 2014 15:47:48 +0000 (UTC) From: Emanuel Haupt <ehaupt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r346036 - head/sysutils/vcp Message-ID: <201402251547.s1PFlmph080706@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: ehaupt Date: Tue Feb 25 15:47:47 2014 New Revision: 346036 URL: http://svnweb.freebsd.org/changeset/ports/346036 QAT: https://qat.redports.org/buildarchive/r346036/ Log: Support staging Modified: head/sysutils/vcp/Makefile head/sysutils/vcp/pkg-plist Modified: head/sysutils/vcp/Makefile ============================================================================== --- head/sysutils/vcp/Makefile Tue Feb 25 15:45:57 2014 (r346035) +++ head/sysutils/vcp/Makefile Tue Feb 25 15:47:47 2014 (r346036) @@ -9,13 +9,13 @@ MASTER_SITES= http://freebsdcluster.org/ MAINTAINER= mich@FreeBSD.org COMMENT= Copy files in curses interface -MAN1= ${PORTNAME}.1 CONFLICTS= p5-VCP-[0-9]* \ p5-VCP-autrijus-[0-9]* LDFLAGS+= -lncurses -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + 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 @@ -33,13 +33,10 @@ do-build: ${CC} ${CFLAGS} -o ${PORTNAME} main.o copyall.o copy.o screen.o log.o path.o misc.o color.o ${LDFLAGS} do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${PREFIX}/bin/ - ${INSTALL_DATA} ${WRKSRC}/vcp.conf.sample ${PREFIX}/etc/ - ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${PREFIX}/man/man1/ - -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR} - ${INSTALL_DATA} ${WRKSRC}/README ${DOCSDIR}/ -.endif + ${INSTALL_PROGRAM} ${WRKSRC}/${PORTNAME} ${STAGEDIR}${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/vcp.conf.sample ${STAGEDIR}${PREFIX}/etc + ${INSTALL_MAN} ${WRKSRC}/${PORTNAME}.1 ${STAGEDIR}${MANPREFIX}/man/man1 + ${MKDIR} ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/sysutils/vcp/pkg-plist ============================================================================== --- head/sysutils/vcp/pkg-plist Tue Feb 25 15:45:57 2014 (r346035) +++ head/sysutils/vcp/pkg-plist Tue Feb 25 15:47:47 2014 (r346036) @@ -1,4 +1,5 @@ bin/vcp etc/vcp.conf.sample +man/man1/vcp.1.gz %%PORTDOCS%%%%DOCSDIR%%/README %%PORTDOCS%%@dirrm %%DOCSDIR%%
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201402251547.s1PFlmph080706>