2006-07-31 17:16:29 +00:00
|
|
|
# New ports collection makefile for: ktorrent-devel
|
|
|
|
# Date created: Sun Jul 30 01:14:55 CEST 2006
|
2005-07-13 10:51:35 +00:00
|
|
|
# Whom: Markus Brueffer <markus@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= ktorrent
|
2007-03-12 01:09:29 +00:00
|
|
|
PORTVERSION= 20070311
|
2007-05-19 20:36:56 +00:00
|
|
|
PORTREVISION= 1
|
2006-01-30 21:36:28 +00:00
|
|
|
CATEGORIES= net-p2p kde
|
2006-07-31 17:16:29 +00:00
|
|
|
MASTER_SITES= http://www.hitnet.rwth-aachen.de/~brueffer/distfiles/
|
|
|
|
PKGNAMESUFFIX= -devel
|
2005-07-13 10:51:35 +00:00
|
|
|
|
|
|
|
MAINTAINER= markus@FreeBSD.org
|
|
|
|
COMMENT= BitTorrent client for KDE
|
|
|
|
|
2006-07-31 17:16:29 +00:00
|
|
|
LIB_DEPENDS= gmp:${PORTSDIR}/math/libgmp4
|
|
|
|
|
2006-08-02 21:58:55 +00:00
|
|
|
CONFLICTS= ktorrent-[0.9]*
|
|
|
|
|
2006-07-31 17:16:29 +00:00
|
|
|
USE_BZIP2= yes
|
2005-07-13 10:51:35 +00:00
|
|
|
USE_KDELIBS_VER=3
|
2006-02-23 10:40:44 +00:00
|
|
|
USE_AUTOTOOLS= libtool:15
|
2005-07-13 10:51:35 +00:00
|
|
|
USE_GMAKE= yes
|
|
|
|
|
|
|
|
post-patch:
|
|
|
|
@${REINPLACE_CMD} -e 's|-O2||g' ${WRKSRC}/${CONFIGURE_SCRIPT}
|
2007-03-12 01:09:29 +00:00
|
|
|
@${REINPLACE_CMD} -e 's|zeroconf||' ${WRKSRC}/src/plugins/Makefile.in
|
2007-03-13 23:41:31 +00: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 10:51:35 +00:00
|
|
|
|
2007-03-12 01:09:29 +00:00
|
|
|
.include <bsd.port.mk>
|