aboutsummaryrefslogtreecommitdiffstats
path: root/math/jacal/Makefile
blob: 3d54ee97708b5541c7801e0fc487b38f963a85a1 (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
# Created by: Mark R V Murray <markm@FreeBSD.org>
# $FreeBSD$

PORTNAME=   jacal
PORTVERSION=    1c3
CATEGORIES= math
MASTER_SITES=   http://groups.csail.mit.edu/mac/ftpdir/scm/

MAINTAINER= bofh@FreeBSD.org
COMMENT=    Symbolic mathematics program written in Scheme

LICENSE=    GPLv3

RUN_DEPENDS=    scm:${PORTSDIR}/lang/scm \
        ${LOCALBASE}/share/slib/require.scm:${PORTSDIR}/lang/slib

WRKSRC=     ${WRKDIR}/jacal

USES=       gmake perl5 zip
NO_BUILD=   yes

INFO=       jacal

do-configure:
    cd ${WRKSRC}; \
    ${FIND} . -type f -exec ${PERL} -spi -e 's|%%PREFIX%%|${PREFIX}|' {} ';'
    cd ${WRKSRC}; \
    ./configure

post-install:
    ${SED} -i '' -e 's|${STAGEDIR}${PREFIX}|${PREFIX}|g' ${STAGEDIR}${PREFIX}/bin/jacal

.include <bsd.port.mk>