2000-05-22 11:41:35 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.11 2000/05/22 15:41:35 espie Exp $
|
1998-02-12 21:09:02 -05:00
|
|
|
|
2000-05-20 02:22:06 -04:00
|
|
|
DISTNAME= ocaml-3.00
|
1998-02-12 21:09:02 -05:00
|
|
|
CATEGORIES= lang
|
2000-03-07 12:47:09 -05:00
|
|
|
NEED_VERSION= 1.223
|
1999-12-03 22:35:53 -05:00
|
|
|
MASTER_SITES= ftp://ftp.inria.fr/lang/caml-light/
|
1998-02-12 21:09:02 -05:00
|
|
|
DISTFILES= ${DISTNAME}.tar.gz ${DOCFILES}
|
|
|
|
|
1999-11-22 17:08:32 -05:00
|
|
|
MAINTAINER= angelos@openbsd.org
|
1998-02-12 21:09:02 -05:00
|
|
|
|
2000-03-07 12:16:30 -05:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
|
2000-03-07 12:47:09 -05:00
|
|
|
FAKE= Yes
|
2000-03-07 12:16:30 -05:00
|
|
|
HAS_CONFIGURE= Yes
|
2000-05-22 11:41:35 -04:00
|
|
|
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
|
2000-03-07 12:47:09 -05:00
|
|
|
|
|
|
|
# ocaml's configure script is too smart for its own good
|
|
|
|
|
|
|
|
FAKE_FLAGS= PREFIX=${WRKINST}${PREFIX}
|
2000-03-07 12:16:30 -05:00
|
|
|
USE_GMAKE= Yes
|
1998-02-12 21:09:02 -05:00
|
|
|
ALL_TARGET= world bootstrap opt
|
|
|
|
|
|
|
|
DOCFILES= ${DISTNAME}-refman.html.tar.gz
|
|
|
|
|
|
|
|
post-install:
|
2000-02-10 05:03:19 -05:00
|
|
|
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml/html
|
1999-07-08 22:51:11 -04:00
|
|
|
@${INSTALL_DATA} ${WRKDIR}/htmlman/* ${PREFIX}/share/doc/ocaml/html
|
1998-02-12 21:09:02 -05:00
|
|
|
@strip ${PREFIX}/bin/ocamlrun ${PREFIX}/bin/ocamlyacc
|
2000-03-07 12:47:09 -05:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/ocaml
|
1998-02-12 21:09:02 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|