1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-29 01:13:08 +00:00
freebsd-ports/math/foma/Makefile
2014-05-16 10:44:03 +00:00

26 lines
759 B
Makefile

# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
# $FreeBSD$
PORTNAME= foma
PORTVERSION= 0.9.17
CATEGORIES= math
MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE}
MAINTAINER= demon@FreeBSD.org
COMMENT= A toolkit for constructing finite-state automata and transducers
LICENSE= GPLv2
USES= bison gmake
USE_GCC= yes
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_LIB} ${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>