# $OpenBSD: Makefile,v 1.19 2010/03/29 07:53:51 ajacoutot Exp $ SHARED_ONLY= Yes COMMENT= BitTorrent client for KDE VERSION= 2.2.8 DISTNAME= ktorrent-${VERSION} PKGNAME= ${DISTNAME}p5 CATEGORIES= net x11 x11/kde EXTRACT_SUFX= .tar.bz2 MASTER_SITES= ${HOMEPAGE}downloads/${VERSION}/ HOMEPAGE= http://ktorrent.org/ MAINTAINER= Brad Smith # GPLv2 PERMIT_PACKAGE_CDROM= Yes PERMIT_PACKAGE_FTP= Yes PERMIT_DISTFILES_CDROM= Yes PERMIT_DISTFILES_FTP= Yes WANTLIB= art_lgpl_2 jpeg GL ICE SM X11 Xau Xcursor Xdmcp Xext \ Xfixes Xft Xi Xinerama Xmu Xrandr Xrender Xt c dbus-1 \ expat fontconfig freetype lcms m mng pcre pcreposix \ png pthread pthread-stubs stdc++ util xcb z idn fam rpcsvc RUN_DEPENDS= :desktop-file-utils-*:devel/desktop-file-utils LIB_DEPENDS= kdecore.>=6,DCOP,kdefx,kdeprint,kdesu,kparts,kdeui,khtml,kio,kjs,kutils,kwalletclient::x11/kde/libs3 \ gmp.>=4.::devel/gmp \ avahi-client,avahi-common::net/avahi \ avahi-qt3::net/avahi,-qt3,no_gtk,no_mono,no_qt4 SUBST_VARS+= VERSION MODULES= x11/kde devel/gettext PORTHOME= ${WRKDIR} MAKE_ENV= KDEDIR="${LOCALBASE}" MAKE_FLAGS= ${MODKDE_MAKE_FLAGS} USE_X11= Yes USE_GMAKE= Yes CONFIGURE_STYLE= gnu USE_LIBTOOL= Yes LIBTOOL_FLAGS= --tag=disable-static MODGNU_CONFIG_GUESS_DIRS= ${MODKDE_CONFIG_GUESS_DIRS} CONFIGURE_ARGS= ${MODKDE_CONFIGURE_ARGS} CONFIGURE_ARGS+= --with-extra-includes=${LOCALBASE}/include/sigc++-2.0:${LOCALBASE}/lib/sigc++-2.0/include CONFIGURE_ENV= ${MODKDE_CONFIGURE_ENV} .include