From 52a310cff773c6cd31f3768ebddd5be904dc9030 Mon Sep 17 00:00:00 2001 From: Max Brazhnikov Date: Sat, 10 Jul 2010 11:16:49 +0000 Subject: Update to 0.9.5 PR: ports/148375 Submitted by: Troels Kofoed Jacobsen (maintainer) --- deskutils/libgcal/Makefile | 10 ++++++---- deskutils/libgcal/distinfo | 6 +++--- deskutils/libgcal/files/patch-CMakeLists-txt | 11 +++++++++++ deskutils/libgcal/pkg-plist | 7 +++++-- 4 files changed, 25 insertions(+), 9 deletions(-) create mode 100644 deskutils/libgcal/files/patch-CMakeLists-txt (limited to 'deskutils') diff --git a/deskutils/libgcal/Makefile b/deskutils/libgcal/Makefile index 9e812344b52b..bc59467da066 100644 --- a/deskutils/libgcal/Makefile +++ b/deskutils/libgcal/Makefile @@ -6,8 +6,7 @@ # PORTNAME= libgcal -PORTVERSION= 0.9.3 -PORTREVISION= 1 +PORTVERSION= 0.9.5 CATEGORIES= deskutils MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} @@ -19,12 +18,15 @@ LIB_DEPENDS= curl:${PORTSDIR}/ftp/curl \ xml2:${PORTSDIR}/textproc/libxml2 USE_BZIP2= yes -GNU_CONFIGURE= yes +USE_CMAKE= yes +CMAKE_ARGS= -DCMAKE_INSTALL_PREFIX="${PREFIX}" \ + -DLIB_INSTALL_DIR="${LOCALBASE}/lib" \ + -DENABLE_TESTS=OFF USE_LDCONFIG= yes USE_GCC= 4.2+ post-patch: @${REINPLACE_CMD} -e 's,(libdir)/pkgconfig,(prefix)/libdata/pkgconfig,' \ - ${WRKSRC}/Makefile.in + ${WRKSRC}/Makefile.am .include diff --git a/deskutils/libgcal/distinfo b/deskutils/libgcal/distinfo index f3f2577e20c2..ac7d9539c35a 100644 --- a/deskutils/libgcal/distinfo +++ b/deskutils/libgcal/distinfo @@ -1,3 +1,3 @@ -MD5 (libgcal-0.9.3.tar.bz2) = da5f842905111b0b88ee79049282dac3 -SHA256 (libgcal-0.9.3.tar.bz2) = 9fdd52ea8f98ba3ac06f9d42adeccab3e96dce64bd200469003329094c43fc4c -SIZE (libgcal-0.9.3.tar.bz2) = 646659 +MD5 (libgcal-0.9.5.tar.bz2) = dc6dfabc7c955bd096e7c888a6a18349 +SHA256 (libgcal-0.9.5.tar.bz2) = d371139b40f498590f078aaafa82dfab565cd5ded967e6b5e80e74c0d1153a76 +SIZE (libgcal-0.9.5.tar.bz2) = 142360 diff --git a/deskutils/libgcal/files/patch-CMakeLists-txt b/deskutils/libgcal/files/patch-CMakeLists-txt new file mode 100644 index 000000000000..9b71bd67eaa2 --- /dev/null +++ b/deskutils/libgcal/files/patch-CMakeLists-txt @@ -0,0 +1,11 @@ +--- CMakeLists.txt.orig 2010-06-29 18:21:22.000000000 +0200 ++++ CMakeLists.txt 2010-06-29 18:21:35.000000000 +0200 +@@ -69,7 +69,7 @@ + configure_file(${CMAKE_SOURCE_DIR}/libgcal.pc.in ${CMAKE_BINARY_DIR}/libgcal.pc @ONLY) + install( + FILES "${CMAKE_BINARY_DIR}/libgcal.pc" +- DESTINATION "${GCAL_LIBRARY_INSTALL_DIR}/pkgconfig" ++ DESTINATION "libdata/pkgconfig" + ) + + diff --git a/deskutils/libgcal/pkg-plist b/deskutils/libgcal/pkg-plist index 7c638676ee17..53417a82fbda 100644 --- a/deskutils/libgcal/pkg-plist +++ b/deskutils/libgcal/pkg-plist @@ -1,4 +1,5 @@ include/atom_parser.h +include/curl_debug_gcal.h include/gcal.h include/gcal_parser.h include/gcal_status.h @@ -7,8 +8,10 @@ include/gcont.h include/gcontact.h include/internal_gcal.h include/xml_aux.h -lib/libgcal.a -lib/libgcal.la lib/libgcal.so lib/libgcal.so.0 +lib/libgcal.so.0.9.5 +lib/LibGCal/cmake/LibGCalConfig.cmake libdata/pkgconfig/libgcal.pc +@dirrm lib/LibGCal/cmake +@dirrm lib/LibGCal -- cgit v1.2.3