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

PORTREVISION=   1
PKGNAMESUFFIX=  -gtk2

MAINTAINER= ports@FreeBSD.org
COMMENT=    A fast and lightweight GTK+2 BitTorrent client

LIB_DEPENDS=    ${GEN_LIB_DEPENDS} \
        notify.1:${PORTSDIR}/devel/libnotify \
        dbus-glib-1.2:${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=  gtk2

USE_GNOME=  gnometarget gnomehack gtk20 desktopfileutils intlhack
USE_GETTEXT=    yes
INSTALLS_ICONS= yes
CONFIGURE_ENV=  CPPFLAGS="-I${LOCALBASE}/include ${PTHREAD_CFLAGS}" \
        LDFLAGS="${LDFLAGS}"
LDFLAGS=    -L${LOCALBASE}/lib ${PTHREAD_LIBS}

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"