# Created by: Hirohisa Yamaguchi # $FreeBSD: head/devel/ocaml-camlp5/Makefile 409182 2016-02-19 14:29:43Z vanilla $ PORTNAME= camlp5 PORTVERSION= 6.15 CATEGORIES= devel MASTER_SITES= http://camlp5.gforge.inria.fr/distrib/src/ \ http://cristal.inria.fr/~ddr/camlp5/distrib/src/ \ http://pauillac.inria.fr/~ddr/camlp5/distrib/src/ PKGNAMEPREFIX= ocaml- DIST_SUBDIR= ${PKGBASE} PATCH_SITES= ${MASTER_SITES} MAINTAINER= ports@FreeBSD.org COMMENT= Preprocessor-pretty-printer of OCaml LICENSE= INRIA LICENSE_NAME= INRIA permissive license with copyright notice requirements LICENSE_FILE= ${WRKSRC}/LICENSE LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept ALL_TARGET= world.opt MAKE_JOBS_UNSAFE= yes USES= tar:tgz USE_OCAML= yes HAS_CONFIGURE= yes CONFIGURE_ARGS= --prefix ${PREFIX} OPTIONS_SINGLE= MODE OPTIONS_SINGLE_MODE= TRANSITIONAL STRICT OPTIONS_DEFAULT= STRICT TRANSITIONAL_DESC= Compatible syntax tree with old versions STRICT_DESC= New syntax tree quotations kit OPTIONS_DEFINE= DOCS DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME} PORTDOCS= CHANGES DEVEL ICHANGES INSTALL MODE README UPGRADING STRICT_CONFIGURE_ON= --strict TRANSITIONAL_CONFIGURE_ON= --transitional post-install: ${INSTALL_DATA} ${WRKSRC}/etc/META ${STAGEDIR}${PREFIX}/lib/ocaml/camlp5 ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/camlp5*.opt ${STAGEDIR}${PREFIX}/${OCAML_LIBDIR}/camlp5/*.o post-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} .include