mirror of
https://git.FreeBSD.org/ports.git
synced 2025-02-01 10:59:55 +00:00
5026c2e181
- Strip object files - Convert to new options helper - Convert to new options target helper - Cosmetic change Changes: http://camlp5.gforge.inria.fr/CHANGES
53 lines
1.4 KiB
Makefile
53 lines
1.4 KiB
Makefile
# Created by: Hirohisa Yamaguchi <umq@ueo.co.jp>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= camlp5
|
|
PORTVERSION= 6.14
|
|
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 <bsd.port.mk>
|