blob: 59f9c35b91b8fe548a045c4cd6f2a7f0c2609cdd (
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
28
|
# Created by: Dima Panov <fluffy@FreeBSD.org>
# $FreeBSD$
PORTNAME= libkipi
PORTVERSION= ${KDE4_VERSION}
PORTREVISION= 3
CATEGORIES= graphics kde kde-kde4
MAINTAINER= kde@FreeBSD.org
COMMENT= KDE Image Plugin Interface
DEPRECATED= Qt4 has been EOL since december 2015
EXPIRATION_DATE= 2018-12-31
USES= cmake kde:4 qt:4 tar:xz
USE_KDE= automoc4 kdelibs
USE_QT= 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>
|