mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-19 03:52:17 +00:00
08fc6a1973
The Open Text Summarizer is an open source tool for summarizing texts. The program reads a text and decides which sentences are important and which are not. WWW: http://libots.sourceforge.net/ Inspired by: Debian Package of the Day Based on: OpenBSD port
36 lines
823 B
Makefile
36 lines
823 B
Makefile
# New ports collection makefile for: ots
|
|
# Date created: 9 June 2007
|
|
# Whom: Andrew Pantyukhin <infofarmer@FreeBSD.org>
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= ots
|
|
PORTVERSION= 0.5.0
|
|
CATEGORIES= textproc
|
|
MASTER_SITES= SF/libots
|
|
|
|
MAINTAINER= infofarmer@FreeBSD.org
|
|
COMMENT= Open Text Summarizer
|
|
|
|
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
|
|
|
|
USE_GNOME= glib20 libxml2
|
|
USE_LDCONFIG= yes
|
|
USE_GETTEXT= yes
|
|
USE_AUTOTOOLS= libtool:15
|
|
GNU_CONFIGURE= yes
|
|
CPPFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
|
|
CONFIGURE_ARGS= --disable-shared
|
|
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e '/^SUBDIRS/s|doc||' ${WRKSRC}/Makefile.in
|
|
|
|
post-build:
|
|
@${REINPLACE_CMD} -e '/old_library/d' ${WRKSRC}/src/libots-1.la
|
|
|
|
.include <bsd.port.mk>
|