aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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