aboutsummaryrefslogtreecommitdiffstats
path: root/science/libctl/Makefile
blob: a44a4066174c931a7c6901a25d9b4e6cd4b254b7 (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
# ex:ts=8
# Ports collection Makefile for:    libctl
# Date created:         Apr 4, 2003
# Whom:             ijliao
#
# $FreeBSD$
#

PORTNAME=   libctl
PORTVERSION=    3.0.3
PORTREVISION=   4
CATEGORIES= science math
MASTER_SITES=   http://ab-initio.mit.edu/libctl/

MAINTAINER= ports@FreeBSD.org
COMMENT=    Control Language Library

LIB_DEPENDS=    guile.20:${PORTSDIR}/lang/guile

USE_AUTOTOOLS=  libtool:22
USE_FORTRAN=    yes
USE_LDCONFIG=   yes

MAN1=       gen-ctl-io.1

.include <bsd.port.pre.mk>

.if ${OSVERSION} < 700000
BROKEN=     does not compile on FreeBSD 6.X
.endif

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${DOCSDIR}
    ${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
.if !defined(NOPORTEXAMPLES)
    @${MKDIR} ${EXAMPLESDIR}
    ${CP} -R ${WRKSRC}/examples/ ${EXAMPLESDIR}
.endif

.include <bsd.port.post.mk>