summaryrefslogtreecommitdiffstats
path: root/math/foma/Makefile
blob: 7d4b025d1cedc6b16c4fc46fb80ea9e03402f4b1 (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
# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
# $FreeBSD$

PORTNAME=	foma
PORTVERSION=	0.9.17
PORTREVISION=	1
CATEGORIES=	math
MASTER_SITES=	GOOGLE_CODE

MAINTAINER=	demon@FreeBSD.org
COMMENT=	Toolkit for constructing finite-state automata and transducers

LICENSE=	GPLv2

BROKEN=		Unfetchable (google code has gone away)

USES=		bison gmake readline
USE_LDCONFIG=	yes

do-install:
	(cd ${WRKSRC} && ${INSTALL_DATA} fomalib.h fomalibconf.h ${STAGEDIR}${PREFIX}/include/)
	(cd ${WRKSRC} && ${INSTALL_PROGRAM} foma flookup cgflookup ${STAGEDIR}${PREFIX}/bin/)
	${INSTALL_DATA} ${WRKSRC}/libfoma.a ${STAGEDIR}${PREFIX}/lib/
	${INSTALL_LIB} ${WRKSRC}/libfoma.so.${PORTVERSION} ${STAGEDIR}${PREFIX}/lib/libfoma.so.0
	(cd ${STAGEDIR}${PREFIX}/lib && ${LN} -s libfoma.so.0 libfoma.so)

.include <bsd.port.mk>
OpenPOWER on IntegriCloud