aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2016-12-01 18:36:38 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2016-12-01 18:36:38 +0800
commit6a154a6e5ecd259f96e1ec57c7ec6df49698ee93 (patch)
treed5fe2bfee308be1c6dc74915adf951dffc9f2269 /lang
parent2bfef415e8cfab4c7d7e4c33ba958b7dbba2f0a6 (diff)
downloadfreebsd-ports-gnome-6a154a6e5ecd259f96e1ec57c7ec6df49698ee93.tar.gz
freebsd-ports-gnome-6a154a6e5ecd259f96e1ec57c7ec6df49698ee93.tar.zst
freebsd-ports-gnome-6a154a6e5ecd259f96e1ec57c7ec6df49698ee93.zip
- Add LICENSE
- Switch to options helpers Approved by: portmgr blanket
Diffstat (limited to 'lang')
-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>