openbsd-ports/lang/ocaml/Makefile

51 lines
1.4 KiB
Makefile
Raw Normal View History

# $OpenBSD: Makefile,v 1.22 2002/09/14 03:21:29 pvalchev Exp $
COMMENT= "ML language based on complete class-based objective system"
1998-02-12 21:09:02 -05:00
# for the time being
2002-09-12 13:01:16 -04:00
NOT_FOR_ARCHS= sparc64 macppc
DISTNAME= ocaml-3.06
1998-02-12 21:09:02 -05:00
CATEGORIES= lang
MASTER_SITES= http://caml.inria.fr/distrib/${DISTNAME}/
1998-02-12 21:09:02 -05:00
DISTFILES= ${DISTNAME}.tar.gz ${DOCFILES}
2001-08-21 20:32:00 -04:00
HOMEPAGE= http://www.ocaml.org/
MAINTAINER= Nikolay Sturm <sturm@sec.informatik.tu-darmstadt.de>
1998-02-12 21:09:02 -05:00
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
CONFIGURE_STYLE= simple
CONFIGURE_ARGS+=-tkdefs '-I${LOCALBASE}/include/tk8.3 -I${LOCALBASE}/include/tcl8.3'
CONFIGURE_ARGS+=-tklibs -L${LOCALBASE}/lib
CONFIGURE_ARGS+=-prefix ${PREFIX}
CONFIGURE_ARGS+=-cc '${CC} ${CFLAGS}'
CONFIGURE_ARGS+=-x11include ${X11BASE}/include -x11lib ${X11BASE}/lib
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 opt.opt
NO_REGRESS= Yes
1998-02-12 21:09:02 -05:00
DOCFILES= ${DISTNAME}-refman.html.tar.gz
post-install:
@${INSTALL_DATA_DIR} ${PREFIX}/share/doc/ocaml/html/libref
@${INSTALL_DATA} ${WRKDIR}/htmlman/*.{html,gif} ${PREFIX}/share/doc/ocaml/html
@${INSTALL_DATA} ${WRKDIR}/htmlman/libref/* ${PREFIX}/share/doc/ocaml/html/libref
1998-02-12 21:09:02 -05:00
@strip ${PREFIX}/bin/ocamlrun ${PREFIX}/bin/ocamlyacc
@${INSTALL_DATA} ${WRKSRC}/LICENSE ${PREFIX}/share/doc/ocaml
1998-02-12 21:09:02 -05:00
.include <bsd.port.mk>