blob: 8eacb73318f6dcba3e2a9933764535861ca66099 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$
PORTNAME= ots
PORTVERSION= 0.5.0
PORTREVISION= 2
CATEGORIES= textproc
MASTER_SITES= SF/lib${PORTNAME}/lib${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Open Text Summarizer
LIB_DEPENDS= popt.0:${PORTSDIR}/devel/popt
USE_GNOME= glib20 libxml2
USE_LDCONFIG= yes
USES= gettext pkgconfig
USE_AUTOTOOLS= libtool
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
CONFIGURE_ARGS= --disable-shared
MAKE_ARGS= pkgconfigdir="${PREFIX}/libdata/pkgconfig"
MAKE_JOBS_UNSAFE=yes
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>
|