# Created by: Stanislav Sedov # $FreeBSD: head/devel/ocaml-pomap/Makefile 386371 2015-05-15 00:43:57Z amdmi3 $ PORTNAME= pomap PORTVERSION= 3.0.5 DISTVERSIONPREFIX= v CATEGORIES= devel PKGNAMEPREFIX= ocaml- MAINTAINER= ports@FreeBSD.org COMMENT= OCaml library to maintain a list of partially ordered elements LICENSE= LGPL21 USE_GITHUB= yes GH_ACCOUNT= mmottl USE_OCAML= yes USE_OCAML_FINDLIB=yes USE_OCAMLFIND_PLIST=yes USE_OCAML_WASH= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix ${PREFIX} --disable-docs --disable-examples MAKE_JOBS_UNSAFE=yes DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} EXAMPLESDIR= ${OCAML_EXAMPLESDIR}/${PORTNAME} PORTDOCS= * PORTEXAMPLES= * OPTIONS_DEFINE= DOCS EXAMPLES post-install: @${MKDIR} ${STAGEDIR}${DOCSDIR} .for i in AUTHORS.txt CHANGES.txt README.md (cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${STAGEDIR}${DOCSDIR}) .endfor @${MKDIR} ${STAGEDIR}${EXAMPLESDIR} @(cd ${WRKSRC}/examples && \ ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .include