aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormarkus <markus@FreeBSD.org>2008-04-07 07:00:31 +0800
committermarkus <markus@FreeBSD.org>2008-04-07 07:00:31 +0800
commit807913474f2b2b501a8b8e0c69a39e70a66ad281 (patch)
treec19789fa44e36fb7ba8ce26a64f14c0a9a8444b0
parent6d12e4c5704aec254d4782c66d984a7ee9b44f16 (diff)
downloadfreebsd-ports-gnome-807913474f2b2b501a8b8e0c69a39e70a66ad281.tar.gz
freebsd-ports-gnome-807913474f2b2b501a8b8e0c69a39e70a66ad281.tar.zst
freebsd-ports-gnome-807913474f2b2b501a8b8e0c69a39e70a66ad281.zip
- Update to version 1.0.2 [1][2][3]
- Make GPG support optional and mark it as experimental (default: off) as the current implementation is not very usable (inspired by [1]) - Make OPTIONS handling more readable [2] PR: ports/114126 [1] ports/120678 [2] ports/121044 [3] Submitted by: Shane Bell <decept0@gmail.com> [1] Pawel Pekala <c0rn@o2.pl> [2] Yarodin <yarodin@gmail.com> [3]
-rw-r--r--deskutils/basket/Makefile20
-rw-r--r--deskutils/basket/distinfo6
2 files changed, 16 insertions, 10 deletions
diff --git a/deskutils/basket/Makefile b/deskutils/basket/Makefile
index 4c4e0a156b60..7e2a4eaa568e 100644
--- a/deskutils/basket/Makefile
+++ b/deskutils/basket/Makefile
@@ -5,24 +5,22 @@
# $FreeBSD$
PORTNAME= basket
-PORTVERSION= 1.0.1
-PORTREVISION= 1
+PORTVERSION= 1.0.2
CATEGORIES= deskutils kde
MASTER_SITES= http://basket.kde.org/downloads/
MAINTAINER= markus@FreeBSD.org
COMMENT= Desktop organization tool
-LIB_DEPENDS+= gpgme.17:${PORTSDIR}/security/gpgme \
- gpg-error.0:${PORTSDIR}/security/libgpg-error
-
USE_KDELIBS_VER= 3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
+USE_LDCONFIG= yes
-OPTIONS= KONTACT "Kontact plugin" on
+OPTIONS= KONTACT "Kontact plugin" on \
+ GPGME "GPG support (experimental)" off
-.if !defined(WITHOUT_KONTACT)
+.if defined(WITH_KONTACT)
LIB_DEPENDS+= kontact.1:${PORTSDIR}/deskutils/kdepim3
PLIST_SUB= KONTACT=""
.else
@@ -30,6 +28,14 @@ PLIST_SUB= KONTACT="@comment "
CONFIGURE_ENV+= DO_NOT_COMPILE="kontact_plugin"
.endif
+.if defined(WITH_GPGME)
+RUN_DEPENDS+= pinentry-qt:${PORTSDIR}/security/pinentry-qt
+LIB_DEPENDS+= gpgme.17:${PORTSDIR}/security/gpgme \
+ gpg-error.0:${PORTSDIR}/security/libgpg-error
+.else
+CONFIGURE_ARGS+= --with-encryption=no
+.endif
+
post-patch:
@${REINPLACE_CMD} -e 's/-O2//g' ${WRKSRC}/${CONFIGURE_SCRIPT}
diff --git a/deskutils/basket/distinfo b/deskutils/basket/distinfo
index 8c712c9f9c58..a7a28ea5a0cf 100644
--- a/deskutils/basket/distinfo
+++ b/deskutils/basket/distinfo
@@ -1,3 +1,3 @@
-MD5 (basket-1.0.1.tar.gz) = 387ee0249185a2a6d6e9a3a3a358d9d2
-SHA256 (basket-1.0.1.tar.gz) = dbc2342c3a7a1e771f3a85a38016a0a41ccf57a0f3f22e836e8f5c19e11b73eb
-SIZE (basket-1.0.1.tar.gz) = 6041339
+MD5 (basket-1.0.2.tar.gz) = d71c62a56de9cc32ba2633e63e99071f
+SHA256 (basket-1.0.2.tar.gz) = 8c5715f700724b274d162074b601947136d8b71caa36bc3fa36a7b95836b997e
+SIZE (basket-1.0.2.tar.gz) = 6046068