freebsd-ports/deskutils/basket/Makefile
Markus Brueffer a4022b305e - 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]
2008-04-06 23:00:31 +00:00

42 lines
1 KiB
Makefile

# New ports collection makefile for: basket
# Date created: Mon Sep 8 19:32:42 CEST 2003
# Whom: Markus Brueffer <brueffer@phoenix-systems.de>
#
# $FreeBSD$
PORTNAME= basket
PORTVERSION= 1.0.2
CATEGORIES= deskutils kde
MASTER_SITES= http://basket.kde.org/downloads/
MAINTAINER= markus@FreeBSD.org
COMMENT= Desktop organization tool
USE_KDELIBS_VER= 3
USE_GMAKE= yes
USE_AUTOTOOLS= libtool:15
USE_LDCONFIG= yes
OPTIONS= KONTACT "Kontact plugin" on \
GPGME "GPG support (experimental)" off
.if defined(WITH_KONTACT)
LIB_DEPENDS+= kontact.1:${PORTSDIR}/deskutils/kdepim3
PLIST_SUB= KONTACT=""
.else
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}
.include <bsd.port.mk>