1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/net-im/telepathy-logger-qt4/Makefile
Alonso Schaich c05e144deb Replace USE_PYTHON* by USES=python.
This commit consists of area51's r10314 and r10356 patchsets.

Approved by:	rakuco (mentor)
2014-10-05 18:25:00 +00:00

40 lines
1.3 KiB
Makefile

# $FreeBSD$
PORTNAME= telepathy-logger-qt4
PORTVERSION= 0.6.0
PORTREVISION= 2
CATEGORIES= net-im
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/kde-telepathy/${PORTVERSION}/src
DISTNAME= ${PORTNAME:C/4$//}-${PORTVERSION}
MAINTAINER= avilla@FreeBSD.org
COMMENT= Qt binding for Telepathy Logger
LICENSE= LGPL21
LIB_DEPENDS= libdbus-1.so:${PORTSDIR}/devel/dbus \
libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib \
libtelepathy-glib.so:${PORTSDIR}/net-im/telepathy-glib \
libtelepathy-logger.so:${PORTSDIR}/net-im/telepathy-logger \
libtelepathy-qt4.so:${PORTSDIR}/net-im/telepathy-qt4
USE_GNOME= glib20 libxml2
USE_GSTREAMER= qt4
USE_KDE4= # empty
USE_QT4= corelib dbus moc_build qmake_build rcc_build uic_build
USES= bison:build cmake pkgconfig python:build tar:bzip2
CMAKE_ARGS= -DUSE_COMMON_CMAKE_PACKAGE_CONFIG_DIR:BOOL=True
USE_LDCONFIG= yes
post-patch:
@${REINPLACE_CMD} -e '/FIND_PROGRAM/ s,qmake ,,' \
${WRKSRC}/cmake/modules/FindQt.cmake
@${REINPLACE_CMD} -e '/$${QTGLIB_INCLUDE_DIR}/ s,)$$, ${LOCALBASE}/include),' \
${WRKSRC}/CMakeLists.txt
@${REINPLACE_CMD} -e '/$${GOBJECT_LIBRARIES}/ s,$$, -L${LOCALBASE}/lib,' \
-e 's,$${LIB_INSTALL_DIR}/pkgconfig,libdata/pkgconfig,' \
${WRKSRC}/TelepathyLoggerQt4/CMakeLists.txt
.include <bsd.port.mk>