Date: Thu, 2 Jun 2016 09:03:49 +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: r416274 - head/devel/ocaml-sem Message-ID: <201606020903.u5293neK099753@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: amdmi3 Date: Thu Jun 2 09:03:49 2016 New Revision: 416274 URL: https://svnweb.freebsd.org/changeset/ports/416274 Log: - Add LICENSE - Switch to options helpers - Add WWW: Modified: head/devel/ocaml-sem/Makefile head/devel/ocaml-sem/pkg-descr Modified: head/devel/ocaml-sem/Makefile ============================================================================== --- head/devel/ocaml-sem/Makefile Thu Jun 2 08:12:47 2016 (r416273) +++ head/devel/ocaml-sem/Makefile Thu Jun 2 09:03:49 2016 (r416274) @@ -12,6 +12,9 @@ PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= POSIX semaphores for OCaml +LICENSE= BSD3CLAUSE +LICENSE_FILE= ${WRKSRC}/LICENSE + USES= gmake tar:bzip2 USE_OCAML= yes USE_OCAML_LDCONFIG= yes @@ -21,15 +24,16 @@ MAKE_ENV= OCAML_LIB_INSTALL="${PREFIX}/l MAKE_JOBS_UNSAFE= yes ALL_TARGET= all DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -OPTIONS_DEFINE= DOCS .if !defined(WITH_CUSTOM) MAKE_ENV+= NO_CUSTOM=y .endif -post-install: +OPTIONS_DEFINE= DOCS + +post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ ${STAGEDIR}${DOCSDIR} - ${CP} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} + cd ${WRKSRC}/doc && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} .include <bsd.port.mk> Modified: head/devel/ocaml-sem/pkg-descr ============================================================================== --- head/devel/ocaml-sem/pkg-descr Thu Jun 2 08:12:47 2016 (r416273) +++ head/devel/ocaml-sem/pkg-descr Thu Jun 2 09:03:49 2016 (r416274) @@ -1,2 +1,4 @@ POSIX semaphores for OCaml. The library mimics things found under "man sem" and "man sem_open". + +WWW: http://ocaml-sem.sourceforge.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201606020903.u5293neK099753>