2005-07-13 12:51:35 +02:00
|
|
|
# New ports collection makefile for: ktorrent
|
|
|
|
# Date created: Wed Jul 13 11:38:46 CEST 2005
|
|
|
|
# Whom: Markus Brueffer <markus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ktorrent
|
2007-03-12 02:06:52 +01:00
|
|
|
PORTVERSION= 2.1.2
|
2006-01-30 22:36:28 +01:00
|
|
|
CATEGORIES= net-p2p kde
|
2006-02-02 16:25:08 +01:00
|
|
|
MASTER_SITES= http://ktorrent.pwsp.net/downloads/${PORTVERSION}/
|
2005-07-13 12:51:35 +02:00
|
|
|
|
|
|
|
MAINTAINER= markus@FreeBSD.org
|
|
|
|
COMMENT= BitTorrent client for KDE
|
|
|
|
|
2006-08-08 19:40:21 +02:00
|
|
|
LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
|
|
|
|
|
2006-07-31 19:37:24 +02:00
|
|
|
CONFLICTS= ktorrent-devel-[0-9]*
|
|
|
|
|
2005-07-13 12:51:35 +02:00
|
|
|
USE_KDELIBS_VER=3
|
2006-02-23 11:40:44 +01:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-07-13 12:51:35 +02:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2007-02-07 23:08:41 +01:00
|
|
|
@${REINPLACE_CMD} -e 's|zeroconf||' ${WRKSRC}/plugins/Makefile.in
|
2007-03-14 00:41:31 +01:00
|
|
|
@${FIND} ${WRKSRC} -name Makefile.in | \
|
|
|
|
${XARGS} ${REINPLACE_CMD} \
|
|
|
|
-e '/^INCLUDES =/{:loop' -e '/\\$$/{N;bloop' \
|
|
|
|
-e '};/$$(all_includes)/{s///;s/$$/ $$(all_includes)/' \
|
|
|
|
-e '}' -e '}'
|
2005-07-13 12:51:35 +02:00
|
|
|
|
2007-02-07 23:08:41 +01:00
|
|
|
.include <bsd.port.mk>
|