Date: Sat, 23 Aug 2014 16:14:20 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365750 - head/devel/ocaml-equeue Message-ID: <201408231614.s7NGEKo6098179@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Sat Aug 23 16:14:19 2014 New Revision: 365750 URL: http://svnweb.freebsd.org/changeset/ports/365750 QAT: https://qat.redports.org/buildarchive/r365750/ Log: Stage devel/ocaml-equeue and assign maintainship to submitter PR: 192841 Submitted by: Michael Gruenewald Modified: head/devel/ocaml-equeue/Makefile Modified: head/devel/ocaml-equeue/Makefile ============================================================================== --- head/devel/ocaml-equeue/Makefile Sat Aug 23 16:12:55 2014 (r365749) +++ head/devel/ocaml-equeue/Makefile Sat Aug 23 16:14:19 2014 (r365750) @@ -3,46 +3,67 @@ PORTNAME= equeue PORTVERSION= 2.1.4 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= devel MASTER_SITES= http://www.ocaml-programming.de/packages/ PKGNAMEPREFIX= ocaml- -MAINTAINER= ports@FreeBSD.org +MAINTAINER= michipili@gmail.com COMMENT= The Equeue library for OCaml +LICENSE= EULA +LICENSE_NAME= End User License Agreement +LICENSE_FILE= ${WRKSRC}/LICENSE +LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} + BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \ ocamlfind:${PORTSDIR}/devel/ocaml-findlib RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \ ocamlfind:${PORTSDIR}/devel/ocaml-findlib +DEPRECATED= Superseded by www/ocaml-net +EXPIRATION_DATE=2015-08-20 + WRKSRC= ${WRKDIR}/${DISTNAME} -USES= gmake -MAKE_FLAGS= PACKAGES= # If defined, would be used by ocamlfind -HAS_CONFIGURE= yes +USES= gmake +USE_OCAML= YES +USE_OCAML_FINDLIB= YES +USE_OCAML_LDCONFIG= YES +MAKE_FLAGS= PACKAGES= # If defined, would be used by ocamlfind +HAS_CONFIGURE= YES + +OCAML_LDLIBS= ${OCAML_SITELIBDIR}/${PORTNAME} +OCAML_LDLIBS+= ${OCAML_SITELIBDIR}/shell -ALL_TARGET= all opt +ALL_TARGET= all opt MAKE_JOBS_UNSAFE= yes -PKGDEINSTALL= ${PKGINSTALL} +OPTIONS_DEFINE= DOCS EQUEUE_TCL + +EQUEUE_TCL_DESC= Integration with the labltk event system + +.include <bsd.port.options.mk> -.if defined(WITH_EQUEUE_TCL) -USES+= tcl -CONFIGURE_ARGS+= -with-equeue-tcl -equeue-tcl-defs "-I${TCL_INCLUDEDIR}" -equeue-tcl-libs "-L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER}" +.if ${PORT_OPTIONS:MEQUEUE_TCL} +USES+= tcl +CONFIGURE_ARGS+= -with-equeue-tcl +CONFIGURE_ARGS+= -equeue-tcl-defs +CONFIGURE_ARGS+= "-I${TCL_INCLUDEDIR}" +CONFIGURE_ARGS+= -equeue-tcl-libs +CONFIGURE_ARGS+= "-L${LOCALBASE}/lib -ltcl${TCL_SHLIB_VER}" PLIST_SUB+= TCL="" +OCAML_LDLIBS+= ${OCAML_SITELIBDIR}/${PORTNAME}-tcl .else PLIST_SUB+= TCL="@comment " .endif -NO_STAGE= yes post-install: - PKG_PREFIX=${PREFIX} ${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL -.if !defined(NOPORTDOCS) - @${MKDIR} ${DOCSDIR} - ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR} - @${MKDIR} ${EXAMPLESDIR} - ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR} +.if ${PORT_OPTIONS:MDOCS} + @${MKDIR} ${STAGEDIR}${DOCSDIR} ${STAGEDIR}${EXAMPLESDIR} + (cd ${WRKSRC}/doc/ && ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR}) + (cd ${WRKSRC}/examples/ && \ + ${COPYTREE_SHARE} . ${STAGEDIR}${EXAMPLESDIR}) .endif .include <bsd.port.mk>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201408231614.s7NGEKo6098179>