diff options
Diffstat (limited to 'net-im/tapioca-qt/Makefile')
-rw-r--r-- | net-im/tapioca-qt/Makefile | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/net-im/tapioca-qt/Makefile b/net-im/tapioca-qt/Makefile new file mode 100644 index 000000000000..448162a30d82 --- /dev/null +++ b/net-im/tapioca-qt/Makefile @@ -0,0 +1,41 @@ +# New ports collection Makefile for: tapioca-qt +# Date created: 2008-02-10 +# Whom: arved +# +# $FreeBSD$ + +PORTNAME= tapioca-qt +PORTVERSION= 0.14.1 +CATEGORIES= net-im +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= tapioca-voip + +MAINTAINER= arved@FreeBSD.org +COMMENT= Framework for VoIP and IP applications + +LIB_DEPENDS= QtTelepathyCore.0:${PORTSDIR}/net-im/telepathy-qt + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/build +CMAKE?= ${LOCALBASE}/bin/cmake +CMAKE_ARGS= -DCMAKE_BUILD_TYPE=DEBUG \ + -DCMAKE_INSTALL_PREFIX=${PREFIX} \ + -DCMAKE_C_COMPILER:STRING='${CC}' \ + -DCMAKE_C_FLAGS:STRING="${CFLAGS}" \ + -DCMAKE_CXX_COMPILER:STRING=${CXX} \ + -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS}" +USE_QT_VER= 4 +QT_COMPONENTS= corelib qmake uic moc rcc +USE_LDCONFIG= yes + +post-extract: + ${MKDIR} ${WRKSRC} + +post-patch: + ${REINPLACE_CMD} -e \ + "s,$${LIB_INSTALL_DIR}/pkgconfig,data/pkgconfig,g"\ + ${WRKSRC}/../CMakeLists.txt + +do-configure: + cd ${WRKSRC}; ${SETENV} ${CONFIGURE_ENV} ${CMAKE} ${CMAKE_ARGS} .. + +.include <bsd.port.mk> |