aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/transmission-remote-gui/Makefile
blob: 7a90a07245f7ba52b0582cbaf816da165bf37451 (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
# $FreeBSD$

PORTNAME=   transmission-remote-gui
PORTVERSION=    5.14.0
DISTVERSIONPREFIX=  v
CATEGORIES= net-p2p
PKGNAMESUFFIX=  ${LAZARUS_PKGNAMESUFFIX}

USE_GITHUB= yes
GH_ACCOUNT= transmission-remote-gui
GH_PROJECT= transgui

MAINTAINER= acm@FreeBSD.org
COMMENT=    Remote GUI for transmission daemon

LICENSE=    GPLv2+
LICENSE_FILE=   ${WRKSRC}/COPYING.txt

USES=       fpc iconv lazarus:flavors
USE_FPC=    cairo chm fcl-base fcl-image fcl-json fcl-net pasjpeg rtl-objpas \
        rtl-extra x11

WRKSRC=     ${WRKDIR}/transgui-${PORTVERSION}
PLIST_FILES=    bin/transgui
SUB_FILES=  pkg-message

LAZARUS_PROJECT_FILES=  transgui.lpi
LAZBUILD_ARGS=      -d
PROJECT_NAME=       transgui

gtk2_CONFLICTS_INSTALL= ${PORTNAME}-qt4 ${PORTNAME}-qt5
qt4_CONFLICTS_INSTALL=  ${PORTNAME}-gtk2 ${PORTNAME}-qt5
qt5_CONFLICTS_INSTALL=  ${PORTNAME}-gtk2 ${PORTNAME}-qt4

do-install:
    @cd ${WRKSRC}/units && \
        ${INSTALL_PROGRAM} transgui ${STAGEDIR}${PREFIX}/bin

.include <bsd.port.mk>