freebsd-ports/devel/ocaml-equeue/Makefile
Stanislav Sedov 422bce3414 - Return my ports back to the pool. I was unable to make any fixes to
my ports in the past 3 weeks while ports were broken on any 10.x
  machines, which means I'm unable to maintain them.  So let people know
  that there's no available support for them until things are back to
  normal (which also means that anyone with spare time will be able
  to fix them without getting approval).
2011-10-24 03:33:20 +00:00

51 lines
1.2 KiB
Makefile

# New ports collection makefile for: ocaml-equeue
# Date created: 21 July 2004
# Whom: David JULIEN
#
# $FreeBSD$
#
PORTNAME= equeue
PORTVERSION= 2.1.4
PORTREVISION= 3
CATEGORIES= devel
MASTER_SITES= http://www.ocaml-programming.de/packages/
PKGNAMEPREFIX= ocaml-
MAINTAINER= ports@FreeBSD.org
COMMENT= The Equeue library for OCaml
BUILD_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
RUN_DEPENDS= ocamlc:${PORTSDIR}/lang/ocaml \
ocamlfind:${PORTSDIR}/devel/ocaml-findlib
WRKSRC= ${WRKDIR}/${DISTNAME}
USE_GMAKE= yes
MAKE_FLAGS= PACKAGES= # If defined, would be used by ocamlfind
HAS_CONFIGURE= yes
ALL_TARGET= all opt
MAKE_JOBS_UNSAFE= yes
PKGDEINSTALL= ${PKGINSTALL}
.if defined(WITH_EQUEUE_TCL)
USE_TCL= 84+
CONFIGURE_ARGS+= -with-equeue-tcl -equeue-tcl-defs "-I${TCL_INCLUDEDIR}" -equeue-tcl-libs "-L${LOCALBASE}/lib -ltcl${TCL_VER:S/.//}"
PLIST_SUB+= TCL=""
.else
PLIST_SUB+= TCL="@comment "
.endif
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}
.endif
.include <bsd.port.mk>