aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/transmission-gtk2/Makefile
blob: 4e03a862bdd4b4f54fb8cef640167bf4fbcc0ef1 (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
# 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

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

USE_XLIB=	yes
USE_GNOME=	gtk20
SLAVE_TRANS=	yes
USE_GETTEXT=	yes
CONFIGURE_ARGS=	--prefix=${PREFIX}

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

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

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

.include "${MASTERDIR}/Makefile"