- Update to 6.08.p1 [1]

- Convert to OptionsNG [1]
- Trim Makefile header [1]
- Remove leading article from COMMENT
- Do not use bsd.port.pre.mk and bsd.port.post.mk
- Do not install LICENSE file

Changes: http://pauillac.inria.fr/~ddr/camlp5/CHANGES

PR:		ports/177112 [1]
Submitted by:	Hirohisa Yamaguchi <umq@ueo.co.jp> (maintainer)
Approved by:	jpaetzel (mentor)
This commit is contained in:
William Grzybowski 2013-05-26 20:06:20 +00:00
parent 842162bd39
commit cbfd4bd46c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=319133
2 changed files with 23 additions and 20 deletions

View file

@ -1,13 +1,8 @@
# ex:ts=8
# Ports collection makefile for: camlp5
# Date created: Mar 23 2008
# Whom: Hirohisa Yamaguchi <umq@ueo.co.jp>
#
# Created by: Hirohisa Yamaguchi <umq@ueo.co.jp>
# $FreeBSD$
#
PORTNAME= camlp5
PORTVERSION= 6.07.p${PATCHLEVEL}
PORTVERSION= 6.08.p${PATCHLEVEL}
CATEGORIES= devel
MASTER_SITES= http://cristal.inria.fr/~ddr/camlp5/distrib/src/ \
http://pauillac.inria.fr/~ddr/camlp5/distrib/src/
@ -19,23 +14,32 @@ DIST_SUBDIR= ${UNIQUENAME}
PATCH_SITES= ${MASTER_SITES}
MAINTAINER= umq@ueo.co.jp
COMMENT= A preprocessor-pretty-printer of OCaml
COMMENT= preprocessor-pretty-printer of OCaml
LICENSE= BSD
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
.include <bsd.port.options.mk>
PATCHLEVEL= 1
PATCHFILES!= /usr/bin/jot -s " " -w \
PATCHFILES!= ${JOT} -s " " -w \
patch-${PORTVERSION:R}-%d \
${PATCHLEVEL} 1 ${PATCHLEVEL}
USE_OCAML= yes
HAS_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
CONFIGURE_ARGS= --prefix ${PREFIX}
.if defined(WITH_TRANSITIONAL) || !defined(WITH_STRICT)
CONFIGURE_ARGS= --transitional --prefix ${PREFIX}
.else
CONFIGURE_ARGS= --strict --prefix ${PREFIX}
.if ${PORT_OPTIONS:MTRANSITIONAL}
CONFIGURE_ARGS+= --transitional
.elif ${PORT_OPTIONS:MSTRICT}
CONFIGURE_ARGS+= --strict
.endif
ALL_TARGET= world.opt
@ -44,9 +48,8 @@ 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
PORTDOCS= CHANGES DEVEL ICHANGES INSTALL MODE README UPGRADING
.include <bsd.port.pre.mk>
post-install:
.if ${PORT_OPTIONS:MDOCS}
@${MKDIR} ${DOCSDIR}
@ -56,4 +59,4 @@ post-install:
.endif
${INSTALL_DATA} ${WRKSRC}/etc/META ${PREFIX}/lib/ocaml/${PORTNAME}
.include <bsd.port.post.mk>
.include <bsd.port.mk>

View file

@ -1,4 +1,4 @@
SHA256 (ocaml-camlp5/camlp5-6.07.tgz) = be8282958acd8af8cc7c8c1065bfee12e1dac27b5eef76f54376d795fb16b689
SIZE (ocaml-camlp5/camlp5-6.07.tgz) = 682883
SHA256 (ocaml-camlp5/patch-6.07-1) = a2c77cb617bf5f212bcd344b7e4e3c55cc9ae2a44af82dd86359a209184f4d57
SIZE (ocaml-camlp5/patch-6.07-1) = 1008
SHA256 (ocaml-camlp5/camlp5-6.08.tgz) = ebc39e2aa193ce76f967cae30d5c6682f3274be11c68d36224d55d94d172d375
SIZE (ocaml-camlp5/camlp5-6.08.tgz) = 683400
SHA256 (ocaml-camlp5/patch-6.08-1) = 9c53bb21404632897ec17e188661417705e5543b38ecc624bf4f604a6c1265b8
SIZE (ocaml-camlp5/patch-6.08-1) = 10719