View | Details | Raw Unified | Return to bug 172234
Collapse All | Expand All

(-)devel/ocaml-typeconv/Makefile (-20 / +25 lines)
Lines 1-39 Link Here
1
# New ports collection makefile for:	ocaml-type-conv
1
# Created by: Stanislav Sedov <stas@FreeBSD.org>
2
# Date created:		2008-04-08
3
# Whom:			Stanislav Sedov <stas@FreeBSD.org>
4
#
5
# $FreeBSD: ports/devel/ocaml-typeconv/Makefile,v 1.4 2012/09/21 06:52:44 bapt Exp $
2
# $FreeBSD: ports/devel/ocaml-typeconv/Makefile,v 1.4 2012/09/21 06:52:44 bapt Exp $
6
#
7
3
8
PORTNAME=	type-conv
4
PORTNAME=	type-conv
9
PORTVERSION=	1.0.0
5
PORTVERSION=	108.07.00
10
PORTREVISION=	1
11
CATEGORIES=	devel
6
CATEGORIES=	devel
12
MASTER_SITES=	http://janestcapital.com/ocaml/
7
MASTER_SITES=	https://ocaml.janestreet.com/ocaml-core/%SUBDIR%/
8
MASTER_SITE_SUBDIR=	${PORTVERSION}/individual
9
DISTNAME=	${PORTNAME:S,-,_,}-${PORTVERSION}
13
PKGNAMEPREFIX=	ocaml-
10
PKGNAMEPREFIX=	ocaml-
14
11
15
MAINTAINER=	ports@FreeBSD.org
12
MAINTAINER=	ports@FreeBSD.org
16
COMMENT=	Type conversion routines for OCaml
13
COMMENT=	Type conversion routines for OCaml
17
14
18
DEPRECATED=	No more public distfiles
15
LICENSE=	BSD
19
EXPIRATION_DATE=	2012-10-20
20
16
21
USE_GMAKE=	yes
22
USE_OCAML=	yes
17
USE_OCAML=	yes
23
USE_OCAML_FINDLIB=yes
18
USE_OCAML_FINDLIB=yes
19
USE_OCAMLFIND_PLIST=yes
20
OCAML_PKGDIRS=	${PORTNAME:S,-,_,}
24
21
25
SA_DIR=		${LOCALBASE}/${OCAML_SITELIBDIR}
22
HAS_CONFIGURE=	yes
23
CONFIGURE_ARGS=	--prefix ${PREFIX} --disable-docs
24
MAKE_JOBS_UNSAFE=yes
26
25
27
.include <bsd.port.pre.mk>
26
DOCSDIR=	${OCAML_DOCSDIR}/${PORTNAME:S,-,_,}
28
27
29
post-extract:
28
PORTDOCS=	*
30
# For nonstandard prefixes
29
31
.if !exists(${OCAMLFIND_DESTDIR})
30
.include <bsd.port.options.mk>
32
	${MKDIR} ${OCAMLFIND_DESTDIR}
31
32
.if ${PORT_OPTIONS:MDOCS}
33
PLIST_DIRSTRY=	${OCAML_DOCSDIR:S,^${PREFIX}/,,}
33
.endif
34
.endif
34
35
35
post-install:
36
post-install:
36
	@${FIND} ${OCAMLFIND_DESTDIR}/${PORTNAME} -type f | \
37
.if ${PORT_OPTIONS:MDOCS}
37
		${SED} "s,^${PREFIX}/,," >> ${TMPPLIST}
38
	@${MKDIR} ${DOCSDIR}
39
.for i in CHANGES.txt README.md
40
	(cd ${WRKSRC} && ${INSTALL_DATA} ${i} ${DOCSDIR})
41
.endfor
42
.endif
38
43
39
.include <bsd.port.post.mk>
44
.include <bsd.port.mk>
(-)devel/ocaml-typeconv/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (type-conv-1.0.0.tar.gz) = 3435f00c1c56c9a4ba7a4281fd9f7eec5ee2cda75806498a11974a379e3f1870
1
SHA256 (type_conv-108.07.00.tar.gz) = a8f0f230633dbcb77bd8d5ee1c5f47c57385a6c09d5c3ac1fb02449077772c7d
2
SIZE (type-conv-1.0.0.tar.gz) = 22456
2
SIZE (type_conv-108.07.00.tar.gz) = 57195
(-)devel/ocaml-typeconv/pkg-descr (-1 / +1 lines)
Lines 4-7 Link Here
4
these preprocessors simultaneously.
4
these preprocessors simultaneously.
5
5
6
Author:	Markus Mottl <markus.mottl@gmail.com>
6
Author:	Markus Mottl <markus.mottl@gmail.com>
7
WWW:	http://www.janestcapital.com/ocaml/index.html
7
WWW:	http://ocaml.janestcapital.com/

Return to bug 172234