31efef2187
Fake, a bit more fun than usual, since Bob has this notion is the best programmer in the world, and he's going to rewrite configure from scratch as a better tool, which doesn't want to be coerced into prefix=${DESTDIR}/usr/local. Well, **ck him.
35 lines
845 B
Makefile
35 lines
845 B
Makefile
# $OpenBSD: Makefile,v 1.9 2000/03/07 17:47:09 espie Exp $
|
|
|
|
DISTNAME= ocaml-2.04
|
|
CATEGORIES= lang
|
|
NEED_VERSION= 1.223
|
|
MASTER_SITES= ftp://ftp.inria.fr/lang/caml-light/
|
|
DISTFILES= ${DISTNAME}.tar.gz ${DOCFILES}
|
|
|
|
MAINTAINER= angelos@openbsd.org
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
FAKE= Yes
|
|
HAS_CONFIGURE= Yes
|
|
|
|
# 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>
|