blob: 7826cd730f6122f71d07e472c95a050a3694cdfa (
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
|
# New ports collection makefile for: ktorrent-devel
# Date created: Sun Jul 30 01:14:55 CEST 2006
# Whom: Markus Brueffer <markus@FreeBSD.org>
#
# $FreeBSD$
#
PORTNAME= ktorrent
PORTVERSION= 20070311
CATEGORIES= net-p2p kde
MASTER_SITES= http://www.hitnet.rwth-aachen.de/~brueffer/distfiles/
PKGNAMESUFFIX= -devel
MAINTAINER= markus@FreeBSD.org
COMMENT= BitTorrent client for KDE
LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
CONFLICTS= ktorrent-[0.9]*
USE_BZIP2= yes
USE_KDELIBS_VER=3
USE_AUTOTOOLS= libtool:15
USE_GMAKE= yes
post-patch:
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
@${REINPLACE_CMD} -e 's|zeroconf||' ${WRKSRC}/src/plugins/Makefile.in
@${FIND} ${WRKSRC} -name Makefile.in | \
${XARGS} ${REINPLACE_CMD} \
-e '/^INCLUDES =/{:loop' -e '/\\$$/{N;bloop' \
-e '};/$$(all_includes)/{s///;s/$$/ $$(all_includes)/' \
-e '}' -e '}'
.include <bsd.port.mk>
|