aboutsummaryrefslogtreecommitdiffstats
path: root/math/kcalc/Makefile
blob: a49e3ac6ad9a9b0f283f8634d63d8721db1a94c3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
# New ports collection makefile for:    kdeutils3
# Date created:             3 November 2001
# Whom:                 will@cvs.kde.org
#
# $FreeBSD$
#

PORTNAME=   kdeutils
PORTVERSION=    ${KDE_VERSION}
CATEGORIES?=    misc kde
MASTER_SITES=       ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION:S/.0//}/src
DIST_SUBDIR=    KDE

MAINTAINER?=    kde@FreeBSD.org
COMMENT=    Utilities for the KDE integrated X11 desktop

LIB_DEPENDS=    gmp.6:${PORTSDIR}/math/libgmp4 \
        netsnmp:${PORTSDIR}/net-mgmt/net-snmp
RUN_DEPENDS=    gpg:${PORTSDIR}/security/gnupg

CONFLICTS=  kgpg-[0-9]* superkaramba-[0-9]*

USE_KDELIBS_VER=3
USE_KDEBASE_VER=3
PREFIX=     ${KDE_PREFIX}

USE_PYTHON= yes
USE_BZIP2=  yes
USE_GMAKE=  yes
USE_GETOPT_LONG=yes
USE_AUTOTOOLS=  libtool:15
USE_REINPLACE=  yes
DO_NOT_COMPILE+=klaptopdaemon kmilo
CONFIGURE_ENV+= DO_NOT_COMPILE="${DO_NOT_COMPILE}"
CONFIGURE_ARGS+=--with-pythondir=${LOCALBASE}

INSTALLS_SHLIB= yes
LDCONFIG_DIRS+= %%PREFIX%%/lib %%PREFIX%%/lib/kde3

.include "${.CURDIR}/../../x11/kde3/Makefile.kde"
.include <bsd.port.pre.mk>

.if ${OSVERSION} > 501102
.   if ${OSVERSION} > 600021
RUN_DEPENDS+=   gtar:${PORTSDIR}/archivers/gtar
.   endif
post-patch:
    ${REINPLACE_CMD} -e 's|>tar<|>gtar<|g' ${WRKSRC}/ark/ark.kcfg
.endif

.include <bsd.port.post.mk>