chrisz 2dd0fda6b6 Update OCaml to 4.09
reviewed ports wise and help with @pkgpath, ok by sthen@
reviewed and help with bytecode-only plists, minor nits and ok by jca@
tested on sparc 64 by @jca
tested on aarch64 by Kurt Miller
tested on amd64 by me

Thanks for reviews and testing!
2019-09-26 09:46:09 +00:00

38 lines
896 B
Makefile

# $OpenBSD: Makefile,v 1.5 2019/09/26 09:46:10 chrisz Exp $
COMMENT = binding to cairo, a 2D vector graphics library
CATEGORIES = graphics
GH_ACCOUNT = Chris00
GH_PROJECT = ocaml-cairo
GH_TAGNAME = 0.6.1
REVISION = 1
# LGPL 3.0
PERMIT_PACKAGE = Yes
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes Xi Xinerama
WANTLIB += Xrandr Xrender atk-1.0 cairo fontconfig freetype gdk-x11-2.0
WANTLIB += gdk_pixbuf-2.0 gio-2.0 glib-2.0 gobject-2.0 gtk-x11-2.0
WANTLIB += intl pango-1.0 pangocairo-1.0 pangoft2-1.0 c m z
MODULES = lang/ocaml
BUILD_DEPENDS = devel/dune \
sysutils/findlib \
graphics/ocaml-graphics \
x11/lablgtk2
LIB_DEPENDS = devel/pango \
graphics/gdk-pixbuf2 \
x11/gtk+2
ALL_TARGET =
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml-${GH_PROJECT}
mv ${PREFIX}/doc/* ${PREFIX}/share/doc/ocaml-${GH_PROJECT}/
rmdir ${PREFIX}/doc
.include <bsd.port.mk>