aboutsummaryrefslogtreecommitdiffstats
path: root/math/spar/Makefile
blob: 966314e3c05d32212d1c85c54039cc607ee013bf (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
# Created by: ijliao
# $FreeBSD$

PORTNAME=   spar
PORTVERSION=    0.5.10
PORTREVISION=   1
CATEGORIES= math devel
MASTER_SITES=   SF/${PORTNAME}/Spar/${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    A modular math parser

USE_AUTOTOOLS=  libtool
GNU_CONFIGURE=  yes
USE_CSTD=   gnu89
USE_LDCONFIG=   yes

post-patch:
    @${REINPLACE_CMD} -e 's|$${CONFIG_SHELL-/bin/sh} $$ac_aux_dir|$$ac_aux_dir|' \
        ${WRKSRC}/configure
    @${REINPLACE_CMD} -e "s,-ldl,,g" \
        ${WRKSRC}/lib/Makefile.in ${WRKSRC}/lib/module/Makefile.in

.include <bsd.port.mk>