1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/lang/ocaml/Makefile
Michael Haro 235481b52a awk -> ${AWK}
basename -> ${BASENAME}
cat -> ${CAT}
cp -> ${CP}
ldconfig -> ${LDCONFIG}
mkdir -> ${MKDIR}
1999-08-22 23:33:47 +00:00

46 lines
1.3 KiB
Makefile

# New ports collection makefile for: Objective Caml
# Version required: 1.07
# Date created: 24 December 1996
# Whom: Kiriyama Kazuhiko <kiri@kiri.toba-cmt.ac.jp>
#
# $Id: Makefile,v 1.8 1999/05/31 05:14:39 steve Exp $
#
DISTNAME= ocaml-2.02
CATEGORIES= lang
MASTER_SITES= ftp://ftp.inria.fr/lang/caml-light/ \
ftp://ftp.kurims.kyoto-u.ac.jp/pub/lang/caml-light/
DISTFILES= ${DISTNAME}.tar.gz ${DOCFILES}
MAINTAINER= ortmann@isl.net
EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} ${DISTNAME}-refman.html${EXTRACT_SUFX}
USE_XLIB= yes
HAS_CONFIGURE= yes
#USE_GMAKE= yes
ALL_TARGET= world bootstrap opt ocamlc.opt ocamlopt.opt
.if ${MACHINE_ARCH} != "i386"
PLIST= ${PKGDIR}/PLIST.noprof
.endif
MAN1= ocaml.1 ocamlc.1 ocamlcp.1 ocamldep.1 ocamllex.1 \
ocamlopt.1 ocamlprof.1 ocamlrun.1 ocamlyacc.1 ocamlmktop.1 \
ocamlc.opt.1 ocamlopt.opt.1
CONFIGURE_ENV= PREFIX=${PREFIX} X11BASE=${X11BASE} BATCH=${BATCH}
.if !defined(NOPORTDOCS)
DOCFILES= ${DISTNAME}-refman.html.tar.gz ${DISTNAME}-refman.ps.gz
.endif
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${PREFIX}/share/doc/ocaml/html
@cd ${WRKDIR}/htmlman; ${INSTALL_DATA} * ${PREFIX}/share/doc/ocaml/html
@${CP} ${DISTDIR}/${DISTNAME}-refman.ps.gz ${PREFIX}/share/doc/ocaml
.endif
@strip ${PREFIX}/bin/ocamlrun ${PREFIX}/bin/ocamlyacc
.include <bsd.port.mk>