diff options
author | mandree <mandree@FreeBSD.org> | 2013-12-14 07:15:53 +0800 |
---|---|---|
committer | mandree <mandree@FreeBSD.org> | 2013-12-14 07:15:53 +0800 |
commit | c77f9482061537d69d6979799293ef6313decc12 (patch) | |
tree | a859cab6e5b85d1fae408fe60f3e068166fb42a9 /net/cvsupchk | |
parent | 86a1fd0d749c636a4d22a1cdd55b45e7da1f9888 (diff) | |
download | freebsd-ports-gnome-c77f9482061537d69d6979799293ef6313decc12.tar.gz freebsd-ports-gnome-c77f9482061537d69d6979799293ef6313decc12.tar.zst freebsd-ports-gnome-c77f9482061537d69d6979799293ef6313decc12.zip |
Convert to staging.
While here, defang a var!= assignment and move it into the do-whatever: targets.
Diffstat (limited to 'net/cvsupchk')
-rw-r--r-- | net/cvsupchk/Makefile | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/net/cvsupchk/Makefile b/net/cvsupchk/Makefile index d985b7df9a7e..9b54afad684e 100644 --- a/net/cvsupchk/Makefile +++ b/net/cvsupchk/Makefile @@ -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> |