mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
d4f0d0048a
- Set X11BASE to ${LOCALBASE} for recent ${OSVERSION}. - Bump PORTREVISION for ports intalling files in ${X11BASE}.
37 lines
918 B
Makefile
37 lines
918 B
Makefile
# 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
|
|
PORTREVISION= 1
|
|
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>
|