From 93a1035539ba0f85d3816564faff089368569868 Mon Sep 17 00:00:00 2001 From: Alberto Villa Date: Wed, 8 Dec 2010 11:51:39 +0000 Subject: [PATCH] - Update to 0.4.0. - Do not build examples when NOPORTEXAMPLES is set. Approved by: tabthorpe (mentor, implicit) --- net-im/telepathy-qt4/Makefile | 9 +++++++-- net-im/telepathy-qt4/distinfo | 4 ++-- net-im/telepathy-qt4/pkg-plist | 4 ++-- 3 files changed, 11 insertions(+), 6 deletions(-) diff --git a/net-im/telepathy-qt4/Makefile b/net-im/telepathy-qt4/Makefile index 2a237dbaf47c..8f54e2016f39 100644 --- a/net-im/telepathy-qt4/Makefile +++ b/net-im/telepathy-qt4/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= telepathy-qt4 -PORTVERSION= 0.3.14 +PORTVERSION= 0.4.0 CATEGORIES= net-im MASTER_SITES= http://telepathy.freedesktop.org/releases/${PORTNAME}/ @@ -28,7 +28,7 @@ MAKE_JOBS_SAFE= yes USE_CMAKE= yes USE_LDCONFIG= yes -PORTDOCS= AUTHORS ChangeLog HACKING NEWS README html +PORTDOCS= AUTHORS ChangeLog HACKING NEWS README TODO html PORTEXAMPLES= Makefile accounts extensions \ file-transfer protocols roster @@ -42,6 +42,10 @@ BROKEN= does not build on 6.X pre-configure: ${REINPLACE_CMD} -e '/add_subdirectory(tests)/ d' \ ${WRKSRC}/CMakeLists.txt +.ifdef(NOPORTEXAMPLES) + ${REINPLACE_CMD} -e '/add_subdirectory(examples)/ d' \ + ${WRKSRC}/CMakeLists.txt +.endif ${REINPLACE_CMD} -e '/TelepathyQt4.*\.pc/ s|pkgconfig|../libdata/pkgconfig|' \ ${WRKSRC}/TelepathyQt4/CMakeLists.txt ${REINPLACE_CMD} -e '/$${LIBXML2_INCLUDE_DIR}/ s|$$| ${LOCALBASE}/include|' \ @@ -60,6 +64,7 @@ post-install: .endfor .endif .ifndef(NOPORTEXAMPLES) + cd ${WRKSRC}/examples && ${RM} -rf */CMakeFiles */*.cmake */Makefile ${MKDIR} ${EXAMPLESDIR} .for f in ${PORTEXAMPLES} cd ${WRKSRC}/examples && ${COPYTREE_SHARE} ${f} ${EXAMPLESDIR} diff --git a/net-im/telepathy-qt4/distinfo b/net-im/telepathy-qt4/distinfo index 49808b9866c2..c1f4a0c103bf 100644 --- a/net-im/telepathy-qt4/distinfo +++ b/net-im/telepathy-qt4/distinfo @@ -1,2 +1,2 @@ -SHA256 (telepathy-qt4-0.3.14.tar.gz) = 79aee942a07191d45a21f280d213acc42ba2b85a392c107a05b2bbd3cbffc806 -SIZE (telepathy-qt4-0.3.14.tar.gz) = 1893325 +SHA256 (telepathy-qt4-0.4.0.tar.gz) = 0f7ac5de737e1296994891b776ed4e951130fd6668c10469a7453132cf8117e4 +SIZE (telepathy-qt4-0.4.0.tar.gz) = 2913738 diff --git a/net-im/telepathy-qt4/pkg-plist b/net-im/telepathy-qt4/pkg-plist index 7329f8e1bd6b..d47895a638b7 100644 --- a/net-im/telepathy-qt4/pkg-plist +++ b/net-im/telepathy-qt4/pkg-plist @@ -244,10 +244,10 @@ include/telepathy-1.0/TelepathyQt4/types.h include/telepathy-1.0/TelepathyQt4/utils.h lib/libtelepathy-qt4-farsight.so lib/libtelepathy-qt4-farsight.so.0 -lib/libtelepathy-qt4-farsight.so.0.99.0.3.14 +lib/libtelepathy-qt4-farsight.so.0.99.0.3.9999.1 lib/libtelepathy-qt4.so lib/libtelepathy-qt4.so.0 -lib/libtelepathy-qt4.so.0.99.0.3.14 +lib/libtelepathy-qt4.so.0.99.0.3.9999.1 libdata/pkgconfig/TelepathyQt4.pc libdata/pkgconfig/TelepathyQt4Farsight.pc @dirrm include/telepathy-1.0/TelepathyQt4/_gen