svn commit: r345181 - head/editors/teco
Emanuel Haupt
ehaupt at FreeBSD.org
Thu Feb 20 08:14:17 UTC 2014
Author: ehaupt
Date: Thu Feb 20 08:14:16 2014
New Revision: 345181
URL: http://svnweb.freebsd.org/changeset/ports/345181
QAT: https://qat.redports.org/buildarchive/r345181/
Log:
Support staging
Modified:
head/editors/teco/Makefile
Modified: head/editors/teco/Makefile
==============================================================================
--- head/editors/teco/Makefile Thu Feb 20 08:13:05 2014 (r345180)
+++ head/editors/teco/Makefile Thu Feb 20 08:14:16 2014 (r345181)
@@ -18,19 +18,17 @@ ALL_TARGET= #
DOCSFILES= src/readme.1st src/readme.lnx src/changes.txt src/aaout.txt \
src/problems.txt src/video.txt doc/teco.doc doc/wchart.txt
-NO_STAGE= yes
+OPTIONS_DEFINE= DOCS
+
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/src/tecoc ${PREFIX}/bin
- ${MKDIR} ${DATADIR}
- ${INSTALL_DATA} ${WRKSRC}/lib/* ${DATADIR}
+ ${INSTALL_PROGRAM} ${WRKSRC}/src/tecoc ${STAGEDIR}${PREFIX}/bin
+ ${MKDIR} ${STAGEDIR}${DATADIR}
+ ${INSTALL_DATA} ${WRKSRC}/lib/* ${STAGEDIR}${DATADIR}
post-install:
-.if !defined(NOPORTDOCS)
- ${MKDIR} ${DOCSDIR}
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
.for FILE in ${DOCSFILES}
- ${INSTALL_DATA} ${WRKSRC}/${FILE} ${DOCSDIR}
+ ${INSTALL_DATA} ${WRKSRC}/${FILE} ${STAGEDIR}${DOCSDIR}
.endfor
-.endif
- @${CAT} ${PKGMESSAGE}
.include <bsd.port.mk>
More information about the svn-ports-all
mailing list