summaryrefslogtreecommitdiffstats
path: root/deskutils/libstreams/Makefile
blob: d5096edd6192d4b740977f347672a2e7b8c4b128 (plain)
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
# $FreeBSD$

PORTNAME=	libstreams
PORTVERSION=	${STRIGI_VERSION}
PORTREVISION=	1
CATEGORIES=	deskutils
MASTER_SITES=	${STRIGI_MASTER_SITES}

MAINTAINER=	kde@FreeBSD.org
COMMENT=	Strigi desktop search: streams library

USES=		iconv
USE_LDCONFIG=	yes

post-patch:
	${REINPLACE_CMD} -e \
		's,$${LIB_DESTINATION}/pkgconfig,libdata/pkgconfig,' \
		${WRKSRC}/libstreams/CMakeLists.txt

.include <${.CURDIR}/../strigi/Makefile.common>
.include <bsd.port.pre.mk>

.if empty(ICONV_LIB)
CMAKE_ARGS+=	-DICONV_LIBRARIES:STRING="/usr/lib/libc.so"
.endif

.include <bsd.port.post.mk>
OpenPOWER on IntegriCloud