1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-05 06:27:37 +00:00

- Update to 6.14

- Strip object files
- Convert to new options helper
- Convert to new options target helper
- Cosmetic change

Changes:	http://camlp5.gforge.inria.fr/CHANGES
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2015-11-20 09:17:16 +00:00
parent 94018096a5
commit 5026c2e181
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=402061
2 changed files with 12 additions and 21 deletions

View File

@ -2,7 +2,7 @@
# $FreeBSD$
PORTNAME= camlp5
PORTVERSION= 6.13
PORTVERSION= 6.14
CATEGORIES= devel
MASTER_SITES= http://camlp5.gforge.inria.fr/distrib/src/ \
http://cristal.inria.fr/~ddr/camlp5/distrib/src/ \
@ -20,6 +20,8 @@ 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
@ -36,26 +38,15 @@ OPTIONS_DEFINE= DOCS
DOCSDIR= ${OCAML_DOCSDIR}/${PORTNAME}
PORTDOCS= CHANGES DEVEL ICHANGES INSTALL MODE README UPGRADING
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MTRANSITIONAL}
CONFIGURE_ARGS+= --transitional
.elif ${PORT_OPTIONS:MSTRICT}
CONFIGURE_ARGS+= --strict
.endif
ALL_TARGET= world.opt
STRICT_CONFIGURE_ON= --strict
TRANSITIONAL_CONFIGURE_ON= --transitional
post-install:
.if ${PORT_OPTIONS:MDOCS}
${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}
.for f in ${PORTDOCS}
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
.endfor
.endif
${INSTALL_DATA} ${WRKSRC}/etc/META \
${STAGEDIR}${PREFIX}/lib/ocaml/camlp5
${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/camlp5*.opt
cd ${WRKSRC}/ && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (ocaml-camlp5/camlp5-6.13.tgz) = d1e948c04079e417d2b616f03f57cda9b6111c563d7ce59a8956ac93772e4aa9
SIZE (ocaml-camlp5/camlp5-6.13.tgz) = 719912
SHA256 (ocaml-camlp5/camlp5-6.14.tgz) = 09f9ed12893d2ec39c88106af2306865c966096bedce0250f2fe52b67d2480e2
SIZE (ocaml-camlp5/camlp5-6.14.tgz) = 748674