aboutsummaryrefslogtreecommitdiff
path: root/devel/ocaml-extlib/Makefile
blob: 46fea3fbf0b920b64f7e93bdf6a50a3ed9b93c45 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
# Ports collection makefile for:	extlib
# Date created:			Nov 2, 2004
# Whom:				mukai
#
# $FreeBSD$
#

PORTNAME=	extlib
PORTVERSION=	1.3
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	ocaml-lib
PKGNAMEPREFIX=	ocaml-
EXTRACT_SUFX=	.tgz

MAINTAINER=	mukai@jmuk.org
COMMENT=	A complete - yet small - standard library for OCaml

BUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml \
		ocamlfind:${PORTSDIR}/devel/ocaml-findlib

BROKEN=		Incomplete pkg-plist
DEPRECATED=	${BROKEN}
EXPIRATION_DATE=2005-09-22

USE_GMAKE=	yes
ALL_TARGET=	all opt
ALL_TARGET=    all opt
.if !defined(NOPORTDOCS)
ALL_TARGET+=	doc
PLIST_SUB+=	PORTDOCS=""
.else
PLIST_SUB+=	PORTDOCS="@comment "
.endif
DOCSDIR=	${PREFIX}/share/doc/ocaml/${PORTNAME}

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${DOCSDIR}
	${INSTALL_DATA} ${WRKSRC}/doc/* ${DOCSDIR}
.endif

.include <bsd.port.mk>