aboutsummaryrefslogtreecommitdiffstats
path: root/net-p2p/transmission-gtk2/Makefile
blob: 9dea67d481821df3145fb1029e4acbcf06482137 (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
# New ports collection makefile for:    transmission-gtk2
# Date created:             11 February 2006
# Whom:                 Mezz <mezz@FreeBSD.org>
#
# $FreeBSD$
#

PORTREVISION=   0
PKGNAMESUFFIX=  -gtk2

COMMENT=    A free BitTorrent client written from scratch in C with GTK+2

LIB_DEPENDS=    notify.1:${PORTSDIR}/devel/libnotify \
        dbus-glib-1.2:${PORTSDIR}/devel/dbus-glib
RUN_DEPENDS=    xdg-open:${PORTSDIR}/devel/xdg-utils

MASTERDIR=  ${.CURDIR}/../transmission
PLIST=      ${.CURDIR}/pkg-plist

USE_GNOME=  gnometarget gnomehack gtk20 desktopfileutils intlhack
INSTALLS_ICONS= yes
CONFIGURE_ARGS= ${GCONFIGURE} \
        --disable-cli \
        --disable-daemon \
        --enable-gtk

DOCSDIR=    ${PREFIX}/share/doc/${PORTNAME}${PKGNAMESUFFIX}
MAN1=       transmission.1

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

post-install: general-install
    @-update-desktop-database

.include "${MASTERDIR}/Makefile"