aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia/abby/Makefile
blob: 55345bbc180be7cc746cdc740dbb05f81162511a (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
# Created by: Toni Gundogdu <legatvs@gmail.com>
# $FreeBSD$

PORTNAME=   abby
PORTVERSION=    0.4.8
PORTREVISION=   3
CATEGORIES= multimedia net
MASTER_SITES=   GOOGLE_CODE

MAINTAINER= ports@FreeBSD.org
COMMENT=    Front-end for c/clive

OPTIONS_DEFINE= CCLIVE
OPTIONS_DEFAULT=    CCLIVE
CCLIVE_DESC=    Use cclive backend (instead of clive)

USE_BZIP2=  yes
USE_QT4=    gui network xml moc_build qmake_build rcc_build uic_build
HAS_CONFIGURE=  yes
QMAKE_ARGS= -unix -recursive PREFIX=${PREFIX} ${QMAKE_PRO}
QMAKE_PRO=  abby.pro

PLIST_FILES=    bin/abby

NO_STAGE=   yes
.include <bsd.port.options.mk>

.if ${PORT_OPTIONS:MCCLIVE}
RUN_DEPENDS+=   cclive>=0.5.6:${PORTSDIR}/multimedia/cclive
.else
RUN_DEPENDS+=   clive>=2.2.5:${PORTSDIR}/multimedia/clive
.endif

do-configure:
    cd ${WRKSRC} && ${SETENV} ${CONFIGURE_ENV} ${QMAKE} ${QMAKEFLAGS} ${QMAKE_ARGS}

do-install:
    ${INSTALL_PROGRAM} ${WRKSRC}/abby ${PREFIX}/bin/abby

.include <bsd.port.mk>