openbsd-ports/devel/ocaml-camomile/Makefile
2013-03-11 10:50:00 +00:00

44 lines
921 B
Makefile

# $OpenBSD: Makefile,v 1.4 2013/03/11 10:50:12 espie Exp $
COMMENT = unicode library for objective caml
CATEGORIES = devel
V = 0.8.3
REVISION = 1
DISTNAME = camomile-${V}
PKGNAME = ocaml-camomile-${V}
EXTRACT_SUFX = .tar.bz2
MASTER_SITES = ${MASTER_SITE_SOURCEFORGE:=camomile/}
HOMEPAGE = http://camomile.sourceforge.net/
MAINTAINER = Christopher Zimmermann <madroach@gmerlin.de>
# LGPL >= 2
PERMIT_PACKAGE_CDROM = Yes
MODULES = lang/ocaml
BUILD_DEPENDS = sysutils/findlib
CONFIGURE_STYLE = gnu dest
NO_TEST = Yes
USE_GMAKE = Yes
ALL_TARGET = all dochtml
pre-fake:
${INSTALL_DATA_DIR} ${PREFIX}/lib/ocaml
post-install:
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/camomile/html/
${INSTALL_DATA} ${WRKSRC}/Changes ${PREFIX}/share/doc/camomile/
${INSTALL_DATA} ${WRKSRC}/README ${PREFIX}/share/doc/camomile/
${INSTALL_DATA} ${WRKSRC}/dochtml/* \
${PREFIX}/share/doc/camomile/html/
.include <bsd.port.mk>