aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-12-01 10:36:38 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-12-01 10:36:38 +0000
commit408de7ca129048f8180ae53d30fa69f9c0725c88 (patch)
treed5fe2bfee308be1c6dc74915adf951dffc9f2269
parentaec740135ac72a1053d1a0c45bf1fcead1e89cb0 (diff)
- Add LICENSE
- Switch to options helpers Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=427486
-rw-r--r--lang/yorick/Makefile11
1 files changed, 8 insertions, 3 deletions
diff --git a/lang/yorick/Makefile b/lang/yorick/Makefile
index 5cb91e9f75dd..0408202ddaa9 100644
--- a/lang/yorick/Makefile
+++ b/lang/yorick/Makefile
@@ -10,7 +10,10 @@ CATEGORIES= lang math
MAINTAINER= johans@FreeBSD.org
COMMENT= Interpreted language for scientific simulations
-USES= makeinfo tar:tgz
+LICENSE= BSD3CLAUSE
+LICENSE_FILE= ${WRKSRC}/LICENSE.md
+
+USES= makeinfo
USE_XORG= x11
MAKE_ARGS= Y_HOME=relocatable Y_DOCDIR=/dev/null
@@ -49,10 +52,12 @@ post-install:
${LN} -sf ../lib/${PORTNAME}/bin/${f} ${STAGEDIR}${PREFIX}/bin/${f}
.endfor
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/lib/codger
+ ${INSTALL_DATA} ${WRKSRC}/doc/yorick.info* \
+ ${STAGEDIR}${PREFIX}/${INFO_PATH}
+
+post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/doc/|} ${STAGEDIR}${DOCSDIR}
${LN} -sf ../../${DOCSDIR_REL} ${STAGEDIR}${PREFIX}/lib/${PORTNAME}/doc
- ${INSTALL_DATA} ${WRKSRC}/doc/yorick.info* \
- ${STAGEDIR}${PREFIX}/${INFO_PATH}
.include <bsd.port.mk>