aboutsummaryrefslogtreecommitdiffstats
path: root/lang/polyml/Makefile
blob: 41fb96ead96ac800b74ef82e8c9fc58c180a2d4f (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
# Created by: Timothy Bourke <timbob@bigpond.com>
# $FreeBSD$

PORTNAME=   polyml
PORTVERSION=    5.7.1
DISTVERSIONPREFIX=  v
CATEGORIES= lang
DIST_SUBDIR=    ${PORTNAME}

MAINTAINER= beyert@cs.ucr.edu
COMMENT=    Fast open-source implementation of Standard ML

LICENSE=    LGPL21

ONLY_FOR_ARCHS= amd64 i386

LIB_DEPENDS=    libffi.so:devel/libffi

USES=       libtool pathfix pkgconfig

USE_GITHUB= yes

GNU_CONFIGURE=  yes
CONFIGURE_ARGS= --with-system-libffi --enable-shared
USE_LDCONFIG=   yes

INSTALL_TARGET= install-strip

OPTIONS_DEFINE= MOTIF

MOTIF_CONFIGURE_WITH=   x
MOTIF_USE=      motif

post-patch:
    @${REINPLACE_CMD} -e 's|-lstdc++ ||' ${WRKSRC}/configure
    @${REINPLACE_CMD} -e 's| modules||' ${WRKSRC}/Makefile.in

.include <bsd.port.mk>