summaryrefslogtreecommitdiff
path: root/net-p2p/gkrellm-gift/Makefile
blob: 3632ab32c6b6480a6176b5a294ff78f709cf38dd (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
# New ports collection makefile for:	gkrellm-gift
# Date created:		Mon May  3 08:48:47 CEST 2004
# Whom:			Tobias Roth <ports@fsck.ch>
#
# $FreeBSD$
#

PORTNAME=	gift
PORTVERSION=	0.2.3
PORTREVISION=	6
CATEGORIES=	net-p2p
MASTER_SITES=	ftp://ftp.code-monkey.de/pub/gkrellm-gift/ \
		http://depot.fsck.ch/mirror/distfiles/
PKGNAMEPREFIX=	gkrellm-
DISTNAME=	${PKGNAMEPREFIX}giFT-${PORTVERSION}

MAINTAINER=	ports@fsck.ch
COMMENT=	GKrellM2 plugin that monitors active giFT transfers

LIB_DEPENDS=	gift.0:${PORTSDIR}/net-p2p/gift
RUN_DEPENDS=	gkrellm:${PORTSDIR}/sysutils/gkrellm2
BUILD_DEPENDS=	${X11BASE}/include/gkrellm2/gkrellm.h:${PORTSDIR}/sysutils/gkrellm2

GNU_CONFIGURE=	yes
USE_GMAKE=	yes
USE_X_PREFIX=	yes
PLIST_FILES=	libexec/gkrellm2/plugins/gift.la \
		libexec/gkrellm2/plugins/gift.so

post-patch:
	@${REINPLACE_CMD} -e 's|echo aout|echo elf|' ${WRKSRC}/configure

post-install:
	${STRIP_CMD} ${PREFIX}/libexec/gkrellm2/plugins/${PORTNAME}.so

.include <bsd.port.mk>