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

PKGNAMESUFFIX=  -gtk

MAINTAINER= crees@FreeBSD.org
COMMENT=    Fast and lightweight GTK+2 BitTorrent client

LIB_DEPENDS=    ${GEN_LIB_DEPENDS} \
        libnotify.so:${PORTSDIR}/devel/libnotify \
        libdbus-glib-1.so:${PORTSDIR}/devel/dbus-glib

RUN_DEPENDS=    ${GEN_RUN_DEPENDS} \
        xdg-open:${PORTSDIR}/devel/xdg-utils

DESCR=      ${.CURDIR}/pkg-descr
MASTERDIR=  ${.CURDIR}/../transmission-cli
PLIST=      ${.CURDIR}/pkg-plist
SLAVEPORT=  gtk

USE_GNOME=  gtk30 intlhack
USES=       gettext pathfix desktop-file-utils
INSTALLS_ICONS= yes

EXTRA_CONF_ARGS=--disable-cli \
        --disable-daemon \
        --with-gtk \
        --enable-inotify \
        --disable-mac \
        --enable-nls

post-patch: general-patch
    @${REINPLACE_CMD} -e 's|TryExec=.*||g ; /^$$/d' \
        ${WRKSRC}/gtk/transmission-gtk.desktop.in

.include "${MASTERDIR}/Makefile"