From owner-svn-ports-all@FreeBSD.ORG Sat Aug 23 16:14:20 2014 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 4D028675; Sat, 23 Aug 2014 16:14:20 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 2CD743279; Sat, 23 Aug 2014 16:14:20 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.9/8.14.9) with ESMTP id s7NGEKko098180; Sat, 23 Aug 2014 16:14:20 GMT (envelope-from marino@FreeBSD.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.9/8.14.9/Submit) id s7NGEKo6098179; Sat, 23 Aug 2014 16:14:20 GMT (envelope-from marino@FreeBSD.org) Message-Id: <201408231614.s7NGEKo6098179@svn.freebsd.org> X-Authentication-Warning: svn.freebsd.org: marino set sender to marino@FreeBSD.org using -f From: John Marino Date: Sat, 23 Aug 2014 16:14:20 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r365750 - head/devel/ocaml-equeue X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 23 Aug 2014 16:14:20 -0000 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 -.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