aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormakc <makc@FreeBSD.org>2010-07-10 19:16:49 +0800
committermakc <makc@FreeBSD.org>2010-07-10 19:16:49 +0800
commitf208e28c5d8500e89934eb5812c69b808b14c408 (patch)
tree68586dd23ab70f80000321511f1b8c88a8f49b12 /deskutils
parentf527431d0c6f27254f239712f29c60fb2d9c5214 (diff)
downloadfreebsd-ports-gnome-f208e28c5d8500e89934eb5812c69b808b14c408.tar.gz
freebsd-ports-gnome-f208e28c5d8500e89934eb5812c69b808b14c408.tar.zst
freebsd-ports-gnome-f208e28c5d8500e89934eb5812c69b808b14c408.zip
Update to 0.9.5
PR: ports/148375 Submitted by: Troels Kofoed Jacobsen (maintainer)
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/libgcal/Makefile10
-rw-r--r--deskutils/libgcal/distinfo6
-rw-r--r--deskutils/libgcal/files/patch-CMakeLists-txt11
-rw-r--r--deskutils/libgcal/pkg-plist7
4 files changed, 25 insertions, 9 deletions
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 <bsd.port.mk>
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