aboutsummaryrefslogtreecommitdiffstats
path: root/lang/twelf/Makefile
blob: eb864a89daf695dae2c82e4b8127368ede530e70 (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
44
45
# Ports collection makefile for:    twelf
# Date created:     7/8/5
# Whom:         andrewb@cs.cmu.edu
#
# $FreeBSD$
#

PORTNAME=   twelf
PORTVERSION=    1.5R1
PORTREVISION=   5
CATEGORIES= lang
MASTER_SITES=   http://www-2.cs.cmu.edu/~twelf/dist/ http://www.cs.cmu.edu/~twelf/dist/
DISTNAME=   twelf-1-5R1

MAINTAINER= andrewb@cs.cmu.edu
COMMENT=    A meta-logical framework for deductive systems

.if defined(WITH_MLTON)
RUN_DEPENDS=    mlton:${PORTSDIR}/lang/mlton
BUILD_DEPENDS=  mlton:${PORTSDIR}/lang/mlton
.elif defined(WITH_SML_NJ_DEVEL)
RUN_DEPENDS=    sml:${PORTSDIR}/lang/sml-nj-devel
BUILD_DEPENDS=  sml:${PORTSDIR}/lang/sml-nj-devel
.else
RUN_DEPENDS=    sml:${PORTSDIR}/lang/sml-nj
BUILD_DEPENDS=  sml:${PORTSDIR}/lang/sml-nj
.endif

BUILD_DEPENDS+= tex:${PORTSDIR}/print/teTeX

.if defined(WITH_MLTON)
MAKEFILE=   mlton/Makefile
.elif defined(WITH_SML_NJ_DEVEL)
MAKEFILE=   smlnj/Makefile
.endif

WRKSRC=     ${WRKDIR}/twelf
INFO=       twelf

RESTRICTED= License is currently indeterminate (expected to be GPL)

post-patch:
    @${REINPLACE_CMD} -e "s|%%PREFIX%%|${PREFIX}|g" ${WRKSRC}/Makefile

.include <bsd.port.mk>