freebsd-ports/deskutils/kdepim3/Makefile
Baptiste Daroussin 9250d94365 Convert USE_BISON to USES= bison
It brings bison as a build dependency in case it is set the following way:
USES= bison or USES= bison:build

it brings bison as a run dependency in case it is set the following way:
USES= bison:run

it brings bison both as a run and build dependency in case it the set the following way:
USES= bison:both

While here trim some headers
Convert some USE_GNOME= gnomehack to USES= pathfix
2013-03-08 11:32:11 +00:00

80 lines
2.0 KiB
Makefile

# Created by: Dmitry Sivachenko <demon@FreeBSD.org>
# $FreeBSD$
PORTNAME= kdepim
PORTVERSION= ${KDE_VERSION}
PORTREVISION= 12
CATEGORIES= deskutils mail news palm kde
MASTER_SITES= ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
DIST_SUBDIR= KDE
MAINTAINER= ports@FreeBSD.org
COMMENT= Personal Information Management tools for KDE
LIB_DEPENDS= gpgme:${PORTSDIR}/security/gpgme \
pisock:${PORTSDIR}/palm/pilot-link \
sasl2:${PORTSDIR}/security/cyrus-sasl2
DEPRECATED= Depends on QT3; unmaintained
EXPIRATION_DATE= 2013-07-01
CONFLICTS= akregator-[0-9]* kdenetwork-3.1.* kdeaddons-kontact-plugins-[0-9]* kdepim-kpilot-3.2.3
USE_KDEBASE_VER=3
PREFIX= ${KDE_PREFIX}
_NO_KDE_FINAL= yes
USE_BZIP2= yes
USES= bison
USE_OPENSSL= yes
USE_AUTOTOOLS= libtool
USE_GMAKE= yes
USE_LDCONFIG= yes
CONFIGURE_ARGS= --with-gpg=${LOCALBASE}/bin/gpg \
--with-gpgsm=${LOCALBASE}/bin/gpgsm \
--with-ssl-dir=${OPENSSLBASE}
OPTIONS_DEFINE= GNOKII KITCHENSYNC
GNOKII_DESC= KAdressbook import/export for Nokia phones
KITCHENSYNC_DESC= PIM synchronization utility
.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MKITCHENSYNC}
LIB_DEPENDS+= opensync.0:${PORTSDIR}/devel/libopensync022
PLIST_SUB+= KITCHENSYNC=""
.else
PLIST_SUB+= KITCHENSYNC="@comment "
DO_NOT_COMPILE+=kitchensync
.endif
.if exists(${LOCALBASE}/bin/gnokii)
. if empty(PORT_OPTIONS:MGNOKII)
GNOKII_OVERRIDE=yes
PORT_OPTIONS+= GNOKII
. endif
.endif
.if ${PORT_OPTIONS:MGNOKII}
LIB_DEPENDS+= gnokii:${PORTSDIR}/comms/gnokii
.endif
.if defined(DO_NOT_COMPILE)
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
.endif # defined(DO_NOT_COMPILE)
pre-everything::
.if defined(GNOKII_OVERRIDE)
@${ECHO_MSG}
@${ECHO_MSG} "**********************************************************"
@${ECHO_MSG} "* gnokii is installed and support has been enabled *"
@${ECHO_MSG} "* automatically (no additional files will be installed). *"
@${ECHO_MSG} "**********************************************************"
@${ECHO_MSG}
.endif
.include <bsd.port.mk>