openbsd-ports/lang/ocaml/Makefile
espie 46b5f232b5 Kill
FAKE=Yes
HAS_CONFIGURE, GNU_CONFIGURE, USE_IMAKE, NO_INSTALL_MANPAGES, USE_AUTOCONF
and bump NEED_VERSION accordingly.
2000-10-22 15:41:23 +00:00

37 lines
1004 B
Makefile

# $OpenBSD: Makefile,v 1.13 2000/10/22 15:42:29 espie Exp $
DISTNAME= ocaml-3.00
CATEGORIES= lang
NEED_VERSION= 1.305
MASTER_SITES= ftp://ftp.inria.fr/lang/caml-light/
DISTFILES= ${DISTNAME}.tar.gz ${DOCFILES}
MAINTAINER= Angelos D. Keromytis <angelos@openbsd.org>
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= simple
CONFIGURE_ARGS=--tkdefs '-I${PREFIX}/include/tk8.3 -I${PREFIX}/include/tcl8.3'
LIB_DEPENDS= tcl83.1.3::lang/tcl/8.3 \
tk83.1.3::x11/tk/8.3
# ocaml's configure script is too smart for its own good
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
USE_GMAKE= Yes
ALL_TARGET= world bootstrap opt
DOCFILES= ${DISTNAME}-refman.html.tar.gz
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml/html
@${INSTALL_DATA} ${WRKDIR}/htmlman/* ${PREFIX}/share/doc/ocaml/html
@strip ${PREFIX}/bin/ocamlrun ${PREFIX}/bin/ocamlyacc
@${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/ocaml
.include <bsd.port.mk>