aboutsummaryrefslogtreecommitdiffstats
path: root/www/aria2fe/Makefile
blob: ae39a7cfaab374e961bec507aef3f29230940bb2 (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
# Created by: Andrew Pantyukhin <infofarmer@FreeBSD.org>
# $FreeBSD$

PORTNAME=   aria2fe
DISTVERSION=    0.0.5
PORTREVISION=   5
CATEGORIES= www
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
COMMENT=    Aria2 Qt front-end

LICENSE=    GPLv3 # (or later)

RUN_DEPENDS=    aria2c:${PORTSDIR}/www/aria2 \
        xterm:${PORTSDIR}/x11/xterm

BUILD_WRKSRC=   ${WRKSRC}/src
INSTALL_WRKSRC= ${WRKSRC}/bin

USE_BZIP2=  yes
USE_QT4=    gui moc_build qmake_build rcc_build uic_build
MAKE_JOBS_SAFE= yes

PLIST_FILES=    bin/${PORTNAME}

do-configure:
    @(cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS})

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

.include <bsd.port.mk>