aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kdeadmin3/Makefile
blob: 32c981541e86c473f6d566ecb998093e63f9b543 (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
# -*-mode: makefile-*-
# New ports collection makefile for:    kdeadmin
# Date created:             2 November 2001
# Whom:                 will@cvs.kde.org
#
# $FreeBSD$
#

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

MAINTAINER= kde@FreeBSD.org
COMMENT=    KDE applications related to system administration

USE_KDELIBS_VER=3
PREFIX=     ${KDE_PREFIX}

USE_BZIP2=  yes
USE_GMAKE=  yes
USE_AUTOTOOLS=  libtool:15

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

post-patch:
    ${REINPLACE_CMD} -e \
    's|pkgconfigdir =.*|pkgconfigdir = ${LOCALBASE}/libdata/pkgconfig|g' \
        ${WRKSRC}/knetworkconf/backends/Makefile.in
    ${REINPLACE_CMD} -e 's|INDEX-5|${INDEXFILE}|g' \
        ${WRKSRC}/kpackage/fbsdInterface.cpp

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