Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Dec 2013 23:15:53 +0000 (UTC)
From:      Matthias Andree <mandree@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r336380 - head/net/cvsupchk
Message-ID:  <201312132315.rBDNFrT2070929@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: mandree
Date: Fri Dec 13 23:15:53 2013
New Revision: 336380
URL: http://svnweb.freebsd.org/changeset/ports/336380

Log:
  Convert to staging.
  While here, defang a var!= assignment and move it into the do-whatever: targets.

Modified:
  head/net/cvsupchk/Makefile

Modified: head/net/cvsupchk/Makefile
==============================================================================
--- head/net/cvsupchk/Makefile	Fri Dec 13 23:13:46 2013	(r336379)
+++ head/net/cvsupchk/Makefile	Fri Dec 13 23:15:53 2013	(r336380)
@@ -19,21 +19,20 @@ PORTDOCS=	*
 USE_PYTHON=	yes
 NO_BUILD=	yes
 
-NO_STAGE=	yes
 .include <bsd.port.pre.mk>
 
-src!=		${MAKE} -C ${PORTSDIR}/net/cvsup-without-gui -V WRKSRC
+get_src=	${MAKE} -C ${PORTSDIR}/net/cvsup-without-gui -V WRKSRC
 
 do-extract:
 	${MKDIR} ${WRKSRC}
-	${SED} 's:^#!/usr/local/bin/python:#!${PYTHON_CMD}:' <${src}/contrib/cvsupchk/cvsupchk >${WRKSRC}/cvsupchk
+	${SED} 's:^#!/usr/local/bin/python:#!${PYTHON_CMD}:' <$$(${get_src})/contrib/cvsupchk/cvsupchk >${WRKSRC}/cvsupchk
 
 do-install:
-	${MKDIR} ${PREFIX}/bin
-	${INSTALL_SCRIPT} ${WRKSRC}/cvsupchk ${PREFIX}/bin/
+	${MKDIR} ${STAGEDIR}${PREFIX}/bin
+	${INSTALL_SCRIPT} ${WRKSRC}/cvsupchk ${STAGEDIR}${PREFIX}/bin/
 .if ${PORT_OPTIONS:MDOCS}
-	${MKDIR} ${DOCSDIR}
-	${INSTALL_DATA} ${src}/contrib/cvsupchk/README ${DOCSDIR}/
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_DATA} $$(${get_src})/contrib/cvsupchk/README ${STAGEDIR}${DOCSDIR}/
 .endif
 
 .include <bsd.port.post.mk>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312132315.rBDNFrT2070929>