aboutsummaryrefslogtreecommitdiffstats
path: root/misc/otter/Makefile
blob: d0327233c7d87e2e0b16d256fb35d4dad73a257c (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:    otter
# Date created:         2006-02-04
# Whom:                 wollman
#
# $FreeBSD$
#

PORTNAME=   otter
PORTVERSION=    3.3f
CATEGORIES= misc
MASTER_SITES=   http://www-unix.mcs.anl.gov/AR/otter/dist33/

MAINTAINER= wollman@FreeBSD.org
COMMENT=    A theorem prover and finite model searcher

PROGRAMS=   anldp mace2 otter
PORTDOCS=   README anldp.pdf mace2.pdf otter33.pdf

post-patch:
    @${REINPLACE_CMD} -e 's|CC=gcc|CC=$$(CC) CFLAGS="$$(CFLAGS)"|g' \
        ${WRKSRC}/Makefile

do-install:
.for prog in ${PROGRAMS}
    ${INSTALL_PROGRAM} ${WRKSRC}/bin/${prog} ${PREFIX}/bin
.endfor
.if !defined{NOPORTDOCS}
    ${MKDIR} ${DOCSDIR}
.for doc in ${PORTDOCS}
    ${INSTALL_DATA} ${WRKSRC}/documents/${doc} ${DOCSDIR}
.endfor
.endif
    ${MKDIR} ${EXAMPLESDIR}
    ${MKDIR} ${PREFIX}/share/examples/mace2
    (cd ${WRKSRC}/examples; ${PAX} -rw . ${EXAMPLESDIR})
    (cd ${WRKSRC}/examples-mace2; ${PAX} -rw . ${PREFIX}/share/examples/mace2)

.include <bsd.port.mk>