1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-25 09:34:11 +00:00

Stage devel/ocaml-equeue and assign maintainship to submitter

PR:		192841
Submitted by:	Michael Gruenewald
This commit is contained in:
John Marino 2014-08-23 16:14:19 +00:00
parent 3ff535146f
commit 897fe207a9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=365750

View File

@ -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
ALL_TARGET= all opt
OCAML_LDLIBS= ${OCAML_SITELIBDIR}/${PORTNAME}
OCAML_LDLIBS+= ${OCAML_SITELIBDIR}/shell
ALL_TARGET= all opt
MAKE_JOBS_UNSAFE= yes
PKGDEINSTALL= ${PKGINSTALL}
OPTIONS_DEFINE= DOCS EQUEUE_TCL
.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}"
EQUEUE_TCL_DESC= Integration with the labltk event system
.include <bsd.port.options.mk>
.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>