8009280a3c
- Add LICENSE PR: ports/152785 Submitted by: Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
52 lines
1.2 KiB
Makefile
52 lines
1.2 KiB
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: camlp5
|
|
# Date created: Mar 23 2008
|
|
# Whom: Hirohisa Yamaguchi <umq@ueo.co.jp>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= camlp5
|
|
PORTVERSION= 6.02.0
|
|
CATEGORIES= devel
|
|
MASTER_SITES= http://cristal.inria.fr/~ddr/camlp5/distrib/src/ \
|
|
http://pauillac.inria.fr/~ddr/camlp5/distrib/src/
|
|
PKGNAMEPREFIX= ocaml-
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= umq@ueo.co.jp
|
|
COMMENT= A preprocessor-pretty-printer of OCaml
|
|
|
|
LICENSE= BSD
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
USE_OCAML= yes
|
|
HAS_CONFIGURE= yes
|
|
MAKE_JOBS_UNSAFE= yes
|
|
|
|
.if defined(WITH_TRANSITIONAL) || !defined(WITH_STRICT)
|
|
CONFIGURE_ARGS= --transitional --prefix ${PREFIX}
|
|
.else
|
|
CONFIGURE_ARGS= --strict --prefix ${PREFIX}
|
|
.endif
|
|
ALL_TARGET= world.opt
|
|
|
|
MAN1= camlp5.1
|
|
MANCOMPRESSED= no
|
|
MLINKS= camlp5.1 camlp5o.1 camlp5.1 camlp5o.opt.1 camlp5.1 camlp5r.1 \
|
|
camlp5.1 camlp5r.opt.1 camlp5.1 camlp5sch.1 camlp5.1 mkcamlp5.1 \
|
|
camlp5.1 mkcamlp5.opt.1 camlp5.1 ocpp5.1
|
|
PORTDOCS= CHANGES DEVEL ICHANGES INSTALL LICENSE MODE README UPGRADING
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
post-install:
|
|
.if !defined(NOPORTDOCS)
|
|
@${MKDIR} ${DOCSDIR}
|
|
.for f in ${PORTDOCS}
|
|
${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
|
|
.endfor
|
|
.endif
|
|
${INSTALL_DATA} ${WRKSRC}/etc/META ${PREFIX}/lib/ocaml/${PORTNAME}
|
|
|
|
.include <bsd.port.post.mk>
|