freebsd-ports/textproc/lemmatizer/Makefile
Martin Wilke 3e4ed01146 - Remove unneeded dependency from gtk12/gtk20 [1]
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG
- Remove X11BASE support in favor of LOCALBASE or PREFIX
- Use USE_LDCONFIG instead of INSTALLS_SHLIB
- Remove unneeded USE_GCC 3.4+

Thanks to all Helpers:
	Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr,
	ehaupt, nox, itetcu, flz, pav

PR:		116263
Tested on:	pointyhat
Approved by:	portmgr (pav)
2008-04-19 17:56:05 +00:00

55 lines
1.2 KiB
Makefile

# New ports collection makefile for: lemmatizer
# Date created: 26 May 2005
# Whom: Andrei V. Shetuhin
#
# $FreeBSD$
#
PORTNAME= lemmatizer
PORTVERSION= 1.0
CATEGORIES= textproc
MASTER_SITES= http://reki.ru/products/lemmatizer/
DISTFILES= lemmatizer-1.0.tar.gz \
rus-src-morph.tar.gz \
eng-src-morph.tar.gz \
ger-src-morph.tar.gz
MAINTAINER= ports@FreeBSD.org
COMMENT= Russian / German / English lemmatizer library
LIB_DEPENDS= pcre:${PORTSDIR}/devel/pcre
DB_DIR?= /var/db/lemmatizer
DIST_SUBDIR= ${PORTNAME}
USE_GMAKE= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS= --with-datadir=${DB_DIR}
USE_LDCONFIG= yes
LDCONFIG_DIRS= %%PREFIX%%/lib
pre-fetch:
@${ECHO} ""
@${ECHO} "You may use the following build options:"
@${ECHO} ""
@${ECHO} " DB_DIR=directory Set alternate directory for database files"
@${ECHO} " (default is /var/db/lemmatizer)"
@${ECHO} ""
post-extract:
@cd ${WRKDIR} && ${CP} -r Dicts ${WRKSRC}
generatemorph:
@cd ${WRKSRC} \
&& ${ECHO_MSG} "===> Creating dictionaries" \
&& ${GMAKE} generatemorph
installmorph:
@cd ${WRKSRC} \
&& ${ECHO_MSG} "===> Installing dictionaries" \
&& ${GMAKE} installmorph
.include <bsd.port.mk>