freebsd-ports/graphics/libkipi-kde4/Makefile
Thomas Zander b50a4186ce Chase ffmpeg 3.3 update (ABI changes)
PR:		218658
Submitted by:	riggs
2017-04-25 08:20:30 +00:00

25 lines
643 B
Makefile

# Created by: Dima Panov <fluffy@FreeBSD.org>
# $FreeBSD$
PORTNAME= libkipi
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 2
CATEGORIES= graphics kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Image Plugin Interface
USES= cmake:outsource kde:4 tar:xz
USE_KDE= automoc4 kdelibs
USE_QT4= gui moc_build qmake_build rcc_build uic_build
USE_LDCONFIG= yes
pre-configure:
${REINPLACE_CMD} -e '/pkgconfig/ s/$${LIB_INSTALL_DIR}/libdata/' \
-e 's/${PORTNAME}.pc\([^.]\)/${PORTNAME}-kde4.pc\1/g' \
${WRKSRC}/CMakeLists.txt
# remove BOM:
${REINPLACE_CMD} -e '1 s|^.*/|/|g' \
${WRKSRC}/tests/kipitestmainwindow.cpp
.include <bsd.port.mk>