svn commit: r356563 - head/www/tclwebtest
Martin Wilke
miwi at FreeBSD.org
Thu Jun 5 01:13:24 UTC 2014
Author: miwi
Date: Thu Jun 5 01:13:23 2014
New Revision: 356563
URL: http://svnweb.freebsd.org/changeset/ports/356563
QAT: https://qat.redports.org/buildarchive/r356563/
Log:
- Stage support
PR: 190640
Modified:
head/www/tclwebtest/Makefile
Modified: head/www/tclwebtest/Makefile
==============================================================================
--- head/www/tclwebtest/Makefile Thu Jun 5 01:13:05 2014 (r356562)
+++ head/www/tclwebtest/Makefile Thu Jun 5 01:13:23 2014 (r356563)
@@ -19,7 +19,6 @@ NO_BUILD= YES
LIBDIR= lib/tclwebtest${PORTVERSION}
PLIST_SUB+= LIBDIR="${LIBDIR}"
-NO_STAGE= yes
.include <bsd.port.pre.mk>
post-extract:
@@ -27,21 +26,21 @@ post-extract:
@${SED} -i "" -e "s| tclsh | ${LOCALBASE}/bin/tclsh |g" ${WRKSRC}/tclwebtest
do-install:
- @${MKDIR} ${PREFIX}/${LIBDIR}
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${LIBDIR}
.for FILE in entities.tcl from_openacs.tcl pkgIndex.tcl tclwebtest.tcl
- ${INSTALL_DATA} ${WRKSRC}/lib/${FILE} ${PREFIX}/${LIBDIR}/${FILE}
+ ${INSTALL_DATA} ${WRKSRC}/lib/${FILE} ${STAGEDIR}${PREFIX}/${LIBDIR}/${FILE}
.endfor
- @${MKDIR} ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/selftest ${EXAMPLESDIR}
- ${CP} -R ${WRKSRC}/openacs4tests ${EXAMPLESDIR}
- ${INSTALL_SCRIPT} ${WRKSRC}/tclwebtest ${PREFIX}/bin/tclwebtest
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/selftest ${STAGEDIR}${EXAMPLESDIR}
+ ${CP} -R ${WRKSRC}/openacs4tests ${STAGEDIR}${EXAMPLESDIR}
+ ${INSTALL_SCRIPT} ${WRKSRC}/tclwebtest ${STAGEDIR}${PREFIX}/bin/tclwebtest
post-install:
.if !defined(NOPORTDOCS)
@${ECHO} "Installing docs"
- @${MKDIR} ${DOCSDIR}/doc
- @${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${DOCSDIR} -x -f -
- @${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${DOCSDIR}/doc -x -f -
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}/doc
+ @${TAR} -C ${WRKSRC} -c -f - ChangeLog README TODO index.html generate_docs.test | ${TAR} -C ${STAGEDIR}${DOCSDIR} -x -f -
+ @${TAR} -C ${WRKSRC}/doc -c -f - . | ${TAR} -C ${STAGEDIR}${DOCSDIR}/doc -x -f -
.endif
.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list