aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-23 22:59:01 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2015-09-23 22:59:01 +0000
commit43eff73c3efd9f79c4b87b5f4da5596589484869 (patch)
treeb0ea0d65b7084b8ff3f4ceb8264dcf04d47864a1
parent11951e2ae9f39b9a07f2f13fcd2e1ff5e83efb32 (diff)
downloadports-43eff73c3efd9f79c4b87b5f4da5596589484869.tar.gz
ports-43eff73c3efd9f79c4b87b5f4da5596589484869.zip
Notes
-rw-r--r--shells/zsh/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/shells/zsh/Makefile b/shells/zsh/Makefile
index 74a6148cc890..1dbe0cd8dba7 100644
--- a/shells/zsh/Makefile
+++ b/shells/zsh/Makefile
@@ -115,14 +115,6 @@ post-build:
post-install:
${LN} -f ${STAGEDIR}${PREFIX}/bin/zsh ${STAGEDIR}${PREFIX}/bin/rzsh
-.if ${PORT_OPTIONS:MEXAMPLES}
- @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
- cd ${WRKSRC}/StartupFiles && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
-.endif
-.if ${PORT_OPTIONS:MDOCS}
- @${MKDIR} ${STAGEDIR}${DOCSDIR}
- cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
-.endif
${STAGEDIR}${PREFIX}/bin/zsh -fc ' \
setopt extendedglob nomark_dirs; \
cd ${STAGEDIR}/${DATADIR}/${ZSH_VER} ; \
@@ -131,6 +123,14 @@ post-install:
${CHMOD} 644 $$i.zwc ; \
done'
+post-install-EXAMPLES-on:
+ @${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
+ cd ${WRKSRC}/StartupFiles && ${INSTALL_DATA} ${PORTEXAMPLES} ${STAGEDIR}${EXAMPLESDIR}
+
+post-install-DOCS-on:
+ @${MKDIR} ${STAGEDIR}${DOCSDIR}
+ cd ${WRKSRC} && ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${DOCSDIR}
+
regression-test:
@cd ${WRKSRC}; ${SETENV} -i ${MAKE} check