where needed. The next step towards Ocaml 4.3.0. Bulk build by sthen@ identified several laggards which are included here. ok anil@ sthen@ so final 4.3.0 polishing can be done in-tree.
42 lines
942 B
Makefile
42 lines
942 B
Makefile
# $OpenBSD: Makefile,v 1.25 2016/06/23 19:23:54 krw Exp $
|
|
|
|
COMMENT= LaTeX to html translator
|
|
|
|
CATEGORIES= textproc print
|
|
|
|
# Q Licence 1.0 + LGPL for parts of the runtime
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
WANTLIB= c m
|
|
|
|
DISTNAME = hevea-2.23
|
|
REVISION = 0
|
|
MASTER_SITES = http://para.inria.fr/~maranget/hevea/distri/
|
|
|
|
DISTFILES= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-manual${EXTRACT_SUFX}
|
|
|
|
MAINTAINER= Marc Espie <espie@openbsd.org>
|
|
HOMEPAGE= http://para.inria.fr/%7Emaranget/hevea/
|
|
|
|
NO_TEST = Yes
|
|
|
|
MODULES += lang/ocaml
|
|
|
|
BUILD_DEPENDS = devel/ocaml-ocamlbuild
|
|
|
|
.include <bsd.port.arch.mk>
|
|
.if ${PROPERTIES:Mocaml_native}
|
|
MAKE_FLAGS += TARGET=opt
|
|
FAKE_FLAGS += TARGET=opt
|
|
.else
|
|
MAKE_FLAGS += TARGET=byte
|
|
FAKE_FLAGS += TARGET=byte
|
|
.endif
|
|
|
|
# Beware! this works only because the manual is flat
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/hevea
|
|
${INSTALL_DATA} ${WRKDIR}/${DISTNAME}-manual/* ${PREFIX}/share/doc/hevea
|
|
|
|
|
|
.include <bsd.port.mk>
|