aboutsummaryrefslogtreecommitdiffstats
path: root/editors
diff options
context:
space:
mode:
authorehaupt <ehaupt@FreeBSD.org>2014-02-20 16:14:16 +0800
committerehaupt <ehaupt@FreeBSD.org>2014-02-20 16:14:16 +0800
commit2bdd55cc5f94964103bfc1e21a1631540d637bf7 (patch)
tree18437132f1edb0825eb44037c5f9511c40a7b738 /editors
parentc02db69429bb8ea54812b85afdd95d1b5da1246b (diff)
downloadfreebsd-ports-graphics-2bdd55cc5f94964103bfc1e21a1631540d637bf7.tar.gz
freebsd-ports-graphics-2bdd55cc5f94964103bfc1e21a1631540d637bf7.tar.zst
freebsd-ports-graphics-2bdd55cc5f94964103bfc1e21a1631540d637bf7.zip
Support staging
Diffstat (limited to 'editors')
-rw-r--r--editors/teco/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/editors/teco/Makefile b/editors/teco/Makefile
index d380130aafb..13f8cfd94d8 100644
--- a/editors/teco/Makefile
+++ b/editors/teco/Makefile
@@ -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>