summaryrefslogtreecommitdiff
path: root/math/foma/Makefile
blob: 006ae895efac7d6bfce0a5812356f490a8b2ab3f (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
# 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)
DEPRECATED=	Unfetchable for more than six months (google code has gone away)
EXPIRATION_DATE=	2017-04-30

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>