blob: 0a6890cbf682ce20ea3fab18539c34861c53ed64 (
plain)
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
|
# Created by: stephen@math.missouri.edu
# $FreeBSD$
PORTNAME= fricas
PORTVERSION= 1.1.8
DISTVERSIONSUFFIX= -full
PORTREVISION= 6
CATEGORIES= math
MASTER_SITES= SF
MAINTAINER= stephen@FreeBSD.org
COMMENT= A computer algebra system, forked from axiom
LICENSE= BSD
BUILD_DEPENDS= noweb:${PORTSDIR}/devel/noweb \
sbcl:${PORTSDIR}/lang/sbcl
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
USE_BZIP2= yes
USE_XORG= x11 ice sm xpm
USES= gettext iconv
USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-lisp=sbcl
USE_LDCONFIG= ${PREFIX}/lib/fricas/target/${CONFIGURE_TARGET}/lib
STRIP= #nothing, these binaries fail if stripped
PLIST_SUB= GNU_HOST="${CONFIGURE_TARGET}"
NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e \
'/CCF=/s|-O2 -pipe|$$CFLAGS| ; \
/CCF=/s|/usr/local/include|${LOCALBASE}/include| ; \
/LDF=/s|/usr/local/lib|${LOCALBASE}/lib|' ${WRKSRC}/configure
.include <bsd.port.mk>
|