aboutsummaryrefslogtreecommitdiff
path: root/math/ocaml-ocamlgraph/Makefile
blob: 5c54b3afe64ab031a54037e8c5b2d20894ce88a2 (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
# New ports collection makefile for:   ocaml-ocamlgraph
# Date created:        25 May 2004
# Whom:                Joseph Koshy <jkoshy@freebsd.org>
#
# $FreeBSD$
#

PORTNAME=	ocamlgraph
PORTVERSION=	0.95
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	http://www.lri.fr/~filliatr/ftp/ocamlgraph/
PKGNAMEPREFIX=	ocaml-
DISTNAME=	${PORTNAME}-${PORTVERSION}

MAINTAINER=	jkoshy@freebsd.org
COMMENT=	Graph manipulation library for OCaml

BUILD_DEPENDS=	ocamlc:${PORTSDIR}/lang/ocaml
RUN_DEPENDS=	ocaml:${PORTSDIR}/lang/ocaml

USE_GMAKE=	yes

HAS_CONFIGURE=	yes
CONFIGURE_ARGS+= --prefix=${PREFIX}

ALL_TARGET=	all
.ifndef NOPORTDOCS
ALL_TARGET+=	doc
.endif

.ifndef NOPORTDOCS
post-install:
	${MKDIR} ${DOCSDIR}
	cd ${WRKSRC}/doc; ${INSTALL_DATA} * ${DOCSDIR}
.endif

.include <bsd.port.mk>