openbsd-ports/net/ktorrent/Makefile
sthen d1c6f80880 use REVISION, checked with before/after make show=PKGNAMES (plus some
extra-careful checking where there are complicated PSEUDO_FLAVORS).
2010-07-12 22:07:37 +00:00

55 lines
1.5 KiB
Makefile

# $OpenBSD: Makefile,v 1.21 2010/07/12 22:07:39 sthen Exp $
SHARED_ONLY= Yes
COMMENT= BitTorrent client for KDE
VERSION= 2.2.8
DISTNAME= ktorrent-${VERSION}
REVISION= 5
CATEGORIES= net x11 x11/kde
EXTRACT_SUFX= .tar.bz2
MASTER_SITES= ${HOMEPAGE}downloads/${VERSION}/
HOMEPAGE= http://ktorrent.org/
MAINTAINER= Brad Smith <brad@comstyle.com>
# 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= gnu
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 <bsd.port.mk>