aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils/kdeadmin4/Makefile
blob: 092b4af14f9ab5a6a055e69ec64aac9c148ed752 (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
# New ports collection makefile for:    kdeadmin
# Date created:             5 March 2001
# Whom:                 Dmitry Sivachenko <demon@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=   kdeadmin
PORTVERSION=    2.1
CATEGORIES= sysutils kde
MASTER_SITES=   ${MASTER_SITE_KDE}
MASTER_SITE_SUBDIR= stable/${PORTVERSION}/distribution/tar/generic/src

MAINTAINER= demon@FreeBSD.org

LIB_DEPENDS=    kdecore.4:${PORTSDIR}/x11/kdelibs2

USE_QT2=    yes
MOC?=       ${X11BASE}/bin/moc2
USE_BZIP2=  yes
USE_GMAKE=  yes
INSTALLS_SHLIB= yes
GNU_CONFIGURE=  yes
CONFIGURE_ARGS+=--with-qt-includes=${X11BASE}/include/qt2 \
        --with-qt-libraries=${X11BASE}/lib \
        --with-extra-libs=${LOCALBASE}/lib
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include -I${PREFIX}/include" \
        MOC="${MOC}" LIBQT="-lqt2" LIBQTFILE="libqt2" \
        LIBS="-Wl,-export-dynamic -L${LOCALBASE}/lib -ljpeg -lgcc -lstdc++"

.include <bsd.port.mk>