- Update to 0.4.0.

- Do not build examples when NOPORTEXAMPLES is set.

Approved by:	tabthorpe (mentor, implicit)
This commit is contained in:
Alberto Villa 2010-12-08 11:51:39 +00:00
parent 69858e5b6f
commit 93a1035539
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=265842
3 changed files with 11 additions and 6 deletions

View file

@ -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}

View file

@ -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

View file

@ -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