60d1a83c2a
- Replace ${MASTER_SITE_FOO} with FOO. - Merge MASTER_SITE_SUBDIR into MASTER_SITES when possible. (This means 99.9% of the time.) - Remove occurrences of MASTER_SITE_LOCAL when no subdirectory was present and no hint of what it should be was present. - Fix some logic. - And generally, make things more simple and easy to understand. While there, add magic values to the FESTIVAL, GENTOO, GIMP, GNUPG, QT and SAMBA macros. Also, replace some EXTRACT_SUFX occurences with USES=tar:*. Checked by: make fetch-urlall-list With hat: portmgr Sponsored by: Absolight
37 lines
1.2 KiB
Makefile
37 lines
1.2 KiB
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= telepathy-logger-qt4
|
|
PORTVERSION= ${KTP_VERSION}
|
|
CATEGORIES= net-im
|
|
MASTER_SITES= KDE/stable/${PORTNAME:C/4$//}/${PORTVERSION}/src
|
|
DISTNAME= ${PORTNAME:C/4$//}-${PORTVERSION}
|
|
|
|
MAINTAINER= kde@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>
|