freebsd-ports/math/hfst/Makefile
Mathieu Arnold 60d1a83c2a MASTER_SITES cleanup.
- Replace ${MASTER_SITE_FOO} with FOO.
- Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9%
  of the time.)
- Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and
  no hint of what it should be was present.
- Fix some logic.
- And generally, make things more simple and easy to understand.

While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and
SAMBA macros.

Also, replace some EXTRACT_SUFX occurences with USES=tar:*.

Checked by:	make fetch-urlall-list
With hat:	portmgr
Sponsored by:	Absolight
2015-05-14 10:15:04 +00:00

31 lines
1002 B
Makefile

# Created by: Dmitry Sivachenko <mitya@yandex-team.ru>
# $FreeBSD$
PORTNAME= hfst
PORTVERSION= 3.8.2
CATEGORIES= math
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/source
MAINTAINER= demon@FreeBSD.org
COMMENT= A toolkit for for processing natural language morphologies
USES= libtool pkgconfig python:2 readline shebangfix
USE_GNOME= glib20 libxml2
USE_GCC= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-readline --with-unicode-handler=glib --enable-calculate --enable-edit-metadata --enable-lexc-wrapper --enable-proc --enable-tagger --enable-xfst --enable-shuffle --enable-traverse
CPPFLAGS+= -I${LOCALBASE}/include -I${LOCALBASE}/include/libxml2
LDFLAGS+= -L${LOCALBASE}/lib
SHEBANG_FILES= tools/src/hfst-tagger/src/hfst_tagger_compute_data_statistics.py
USE_LDCONFIG= yes
.include <bsd.port.pre.mk>
.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000033
BUILD_DEPENDS+= flex>2.5.33:${PORTSDIR}/textproc/flex
CONFIGURE_ENV+= LEX="${FLEX}"
FLEX= ${LOCALBASE}/bin/flex
.endif
.include <bsd.port.post.mk>