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

PORTREVISION=   1
PKGNAMESUFFIX=  -gtk2

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

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

USE_GNOME=  gnometarget gnomehack gtk20 desktopfileutils intlhack
USE_GETTEXT=    yes
CONFIGURE_ARGS= --without-wx

CUSTOM_SUBDIRS= third-party libtransmission gtk po
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
    @${REINPLACE_CMD} -e 's|[$$]GMSGFMT[$$]|$$INTLTOOL_MSGFMT$$|g' \
        ${WRKSRC}/configure

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

.include "${MASTERDIR}/Makefile"