aboutsummaryrefslogtreecommitdiffstats
path: root/net/pcbsd-netmanager/Makefile
blob: edf2648fa98c3598f867be3409a934bea7657c87 (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
# New ports collection makefile for:    pcbsd-netmanager
# Date created:             Jul 14, 2009
# Whom:                 Kris Moore
#
# $FreeBSD$
#

PORTNAME=   pcbsd-netmanager
PORTVERSION=    8.0
PORTREVISION=   1
CATEGORIES= net kde
MASTER_SITES=   ftp://ftp.pcbsd.org/pub/software/ \
        http://www.pcbsd.org/~kris/software/

MAINTAINER= kris@pcbsd.org
COMMENT=    PC-BSD Networking Utilities for KDE4

LIB_DEPENDS=    pcbsd.0:${PORTSDIR}/sysutils/libpcbsd

WRKSRC=     ${WRKDIR}/pcbsd-netmanager

USE_GZIP=   yes
USE_QMAKE=  yes
USE_KDE4=   automoc4 kdehier kdeprefix kdelibs workspace
USE_QT_VER= 4
QT_COMPONENTS=  corelib qmake_build moc_build rcc_build uic_build linguist
HAS_CONFIGURE=  yes

QMAKE_ARGS=     -unix -recursive ${QMAKE_PRO}
QMAKE_PRO=      pcbsdnetmanager.pro

post-patch:
    @${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
                 ${WRKSRC}/pcbsdnetmanager.pro \
                 ${WRKSRC}/src/NetworkManager/NetworkManager.pro \
                 ${WRKSRC}/src/NetworkManagerAdmin/NetworkManagerAdmin.pro \
                 ${WRKSRC}/src/NetworkTray/NetworkTray.pro \
                 ${WRKSRC}/src/ethernetconfig/ethernetconfig.pro \
                 ${WRKSRC}/src/wificonfig/wificonfig.pro

do-configure:
    @cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} \
        ${QMAKE} -unix CONFIG+="configure" ${QMAKE_PRO}

.include <bsd.port.mk>