aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils/q4wine/Makefile
blob: 4abf1b42c4383ff0498c68a4bee86fda4265f4fb (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
# New ports collection makefile for:    q4wine
# Date created:     05 Feb 2009
# Whom:         Sergey V. Dyatko <sergey.dyatko@gmail.com>
#
# $FreeBSD$

PORTNAME=   q4wine
PORTVERSION=    0.120
PORTREVISION=   1
CATEGORIES= deskutils emulators
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}%20${PORTVERSION}

MAINTAINER= sergey.dyatko@gmail.com
COMMENT=    QT4 front-end for WINE

BUILD_DEPENDS=  icotool:${PORTSDIR}/graphics/icoutils
RUN_DEPENDS=    sudo:${PORTSDIR}/security/sudo \
        wine:${PORTSDIR}/emulators/wine \
        wget:${PORTSDIR}/ftp/wget \
        cabextract:${PORTSDIR}/archivers/cabextract \
        icotool:${PORTSDIR}/graphics/icoutils

USE_QT4=    qmake_build rcc_build moc_build uic_build \
        linguist_build corelib gui sql network

ONLY_FOR_ARCHS= i386
ONLY_FOR_ARCHS_REASON=  depends on wine which is only available for i386

MAN1=       q4wine-cli.1 q4wine-helper.1 q4wine.1

USES=       cmake
CMAKE_ARGS+=    -DMANPAGE_ENTRY_PATH=${MANPREFIX}/man/

OPTIONS=    DBUS "Enable DBus notification support" on

.include <bsd.port.options.mk>

.if defined(WITHOUT_DBUS)
CMAKE_ARGS+=    -DWITH_DBUS:BOOL=OFF
.else
USE_QT4+=   dbus
.endif

post-install:
    @-update-desktop-database

.include <bsd.port.mk>