diff options
Diffstat (limited to 'net-im/telepathy-qt4/Makefile')
-rw-r--r-- | net-im/telepathy-qt4/Makefile | 65 |
1 files changed, 65 insertions, 0 deletions
diff --git a/net-im/telepathy-qt4/Makefile b/net-im/telepathy-qt4/Makefile new file mode 100644 index 000000000000..0c08ef79c58e --- /dev/null +++ b/net-im/telepathy-qt4/Makefile @@ -0,0 +1,65 @@ +# New ports collection Makefile for: telepathy-qt4 +# Date created: 14 January 2010 +# Whom: Alberto Villa <villa.alberto@gmail.com> +# +# $FreeBSD$ + +PORTNAME= telepathy-qt4 +PORTVERSION= 0.2.1 +CATEGORIES= net-im +MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ + +MAINTAINER= villa.alberto@gmail.com +COMMENT= High-level Qt 4 binding for Telepathy + +LIB_DEPENDS= telepathy-farsight.0:${PORTSDIR}/net-im/telepathy-farsight \ + telepathy-glib.0:${PORTSDIR}/net-im/telepathy-glib +BUILD_DEPENDS= xsltproc:${PORTSDIR}/textproc/libxslt + +USE_GNOME= pkgconfig +USE_PYTHON_BUILD= 2.5+ +USE_QT_VER= 4 +QT_COMPONENTS= corelib dbus network xml qtestlib \ + moc_build qmake_build rcc_build uic_build +MAKE_JOBS_SAFE= yes +GNU_CONFIGURE= yes +USE_GMAKE= yes +USE_LDCONFIG= yes + +PORTDOCS= AUTHORS ChangeLog INSTALL NEWS README html + +PORTEXAMPLES= Makefile Makefile.am Makefile.in \ + accounts call extensions file-transfer roster + +OPTIONS= TESTS "Run regression tests" off + +.include <bsd.port.pre.mk> + +.ifdef(WITH_TESTS) +QT_COMPONENTS+= qtestlib_build +.endif + +pre-configure: + @${REINPLACE_CMD} -E -e 's:(^pkgconfigdir =).*:\1 ${PREFIX}/libdata/pkgconfig:' \ + ${WRKSRC}/TelepathyQt4/Makefile.in + +pre-install: +.ifndef(NOPORTDOCS) + cd ${WRKSRC} && ${CP} -R doc/html . +.endif + +post-install: +.ifndef(NOPORTDOCS) + ${MKDIR} ${DOCSDIR} +.for f in ${PORTDOCS} + cd ${WRKSRC} && ${COPYTREE_SHARE} ${f} ${DOCSDIR} +.endfor +.endif +.ifndef(NOPORTEXAMPLES) + ${MKDIR} ${EXAMPLESDIR} +.for f in ${PORTEXAMPLES} + cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${f} ${EXAMPLESDIR} +.endfor +.endif + +.include <bsd.port.post.mk> |