0081341c9f
Let all ocaml ports RUN_DEPEND on the version of ocaml they were built with.
37 lines
823 B
Makefile
37 lines
823 B
Makefile
# $OpenBSD: Makefile,v 1.24 2012/11/30 19:38:09 chrisz Exp $
|
|
|
|
COMMENT= OCaml package manager
|
|
CATEGORIES= sysutils
|
|
DISTNAME= findlib-1.3.3
|
|
REVISION= 0
|
|
MASTER_SITES= http://download.camlcity.org/download/
|
|
|
|
MAINTAINER= Anil Madhavapeddy <avsm@openbsd.org>
|
|
HOMEPAGE= http://projects.camlcity.org/projects/findlib.html
|
|
|
|
# MIT/X11
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
WANTLIB = c curses m pthread
|
|
MODULES+= lang/ocaml x11/tk
|
|
NO_REGRESS= Yes
|
|
|
|
CONFIGURE_STYLE=simple
|
|
CONFIGURE_ARGS= -with-toolbox \
|
|
-sitelib "/usr/local/lib/ocaml" \
|
|
-config ${PREFIX}/share/examples/findlib/findlib.conf
|
|
|
|
USE_GMAKE= Yes
|
|
FAKE_FLAGS= prefix=${DESTDIR}
|
|
|
|
ALL_TARGET= all
|
|
.include <bsd.port.arch.mk>
|
|
.if ${PROPERTIES:Mocaml_native}
|
|
ALL_TARGET += opt
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|