1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-21 20:38:45 +00:00
freebsd-ports/deskutils/libstreams/Makefile
Tijl Coosemans d8dbc9f703 Always use iconv from libc when available even when libiconv is installed.
PR:		ports/186704
Approved by:	kde (makc)
2014-02-13 19:44:33 +00:00

28 lines
571 B
Makefile

# $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>