openbsd-ports/math/foma/Makefile
bentley 7fb44f7e59 Import foma-0.9.16.
Foma is a compiler, programming language, and C library for constructing
finite-state automata and transducers for various uses. It has specific
support for many natural language processing applications such as
producing morphological analyzers. Although NLP applications are
probably the main use of foma, it is sufficiently generic to use for a
large number of purposes.

ok jeremy@ pirofti@
2012-10-20 04:34:32 +00:00

36 lines
724 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2012/10/20 04:34:32 bentley Exp $
COMMENT = finite-state compiler and C library
DISTNAME = foma-0.9.16alpha
PKGNAME = ${DISTNAME:S/alpha//}
SHARED_LIBS += foma 0.0 # 0.9.16
CATEGORIES = math devel
HOMEPAGE = https://code.google.com/p/foma/
# GPLv2
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
WANTLIB += c readline termcap z
MASTER_SITES = https://foma.googlecode.com/files/
MAKE_FLAGS = CC="${CC}" \
CFLAGS="${CFLAGS}" \
VERSION="${LIBfoma_VERSION}"
FAKE_FLAGS = prefix="${WRKINST}${PREFIX}"
USE_GMAKE = Yes
NO_REGRESS = Yes
WRKDIST = ${WRKDIR}/foma
.include <bsd.port.mk>