Date: Tue, 9 Feb 2016 01:58:22 +0000 (UTC) From: Dmitry Marakasov <amdmi3@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408529 - head/devel/ocaml-lacaml Message-ID: <201602090158.u191wMQu023353@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Tue Feb 9 01:58:22 2016 New Revision: 408529 URL: https://svnweb.freebsd.org/changeset/ports/408529 Log: - Add LICENSE_FILE - Switch to options helpers Modified: head/devel/ocaml-lacaml/Makefile Modified: head/devel/ocaml-lacaml/Makefile ============================================================================== --- head/devel/ocaml-lacaml/Makefile Tue Feb 9 01:58:06 2016 (r408528) +++ head/devel/ocaml-lacaml/Makefile Tue Feb 9 01:58:22 2016 (r408529) @@ -11,6 +11,7 @@ MAINTAINER= ports@FreeBSD.org COMMENT= OCaml interface to BLAS and LAPACK libraries LICENSE= LGPL21 +LICENSE_FILE= ${WRKSRC}/COPYING.txt USE_GITHUB= yes GH_ACCOUNT= mmottl @@ -47,15 +48,17 @@ post-patch: s|%%LOCALBASE%%|${LOCALBASE}|' ${WRKSRC}/myocamlbuild.ml post-install: + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/lacaml/*.cmxs + @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/lacaml/*.so + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS.txt CHANGES.txt README.md TODO.md - (cd ${WRKSRC} && ${INSTALL_DATA} ${i} \ - ${STAGEDIR}${DOCSDIR}) + ${INSTALL_DATA} ${WRKSRC}/${i} ${STAGEDIR}${DOCSDIR} .endfor - @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} + +post-install-EXAMPLES-on: @(cd ${WRKSRC}/examples && ${COPYTREE_SHARE} . \ ${STAGEDIR}${EXAMPLESDIR}) - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/lacaml/*.cmxs - @${STRIP_CMD} ${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/lacaml/*.so .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201602090158.u191wMQu023353>