2007-11-17 15:39:02 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.12 2007/11/17 20:39:03 steven Exp $
|
2006-04-26 16:05:06 -04:00
|
|
|
|
2007-09-15 18:36:51 -04:00
|
|
|
COMMENT-main= lightweight BitTorrent command line and daemon client
|
|
|
|
COMMENT-gui= lightweight BitTorrent client with graphical interface
|
2006-04-26 16:05:06 -04:00
|
|
|
|
2007-09-02 17:08:21 -04:00
|
|
|
VER= 0.81
|
2006-12-23 12:04:16 -05:00
|
|
|
DISTNAME= Transmission-${VER}
|
|
|
|
PKGNAME-main= transmission-${VER}
|
2007-11-17 15:39:02 -05:00
|
|
|
PKGNAME-gui= transmission-gui-${VER}p0
|
2006-04-26 16:05:06 -04:00
|
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://transmission.m0k.org/
|
|
|
|
|
|
|
|
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
|
|
|
|
|
2007-09-02 17:08:21 -04:00
|
|
|
# GPL
|
2006-04-26 16:05:06 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
|
|
|
MASTER_SITES= http://download.m0k.org/transmission/files/
|
|
|
|
|
|
|
|
PSEUDO_FLAVORS= no_gui
|
|
|
|
FLAVOR?=
|
|
|
|
|
2006-11-22 16:58:24 -05:00
|
|
|
MULTI_PACKAGES= -main
|
2006-04-26 16:05:06 -04:00
|
|
|
|
|
|
|
WANTLIB= c crypto m pthread
|
2007-09-02 17:08:21 -04:00
|
|
|
WANTLIB-main= ${WANTLIB} event
|
2006-04-26 16:05:06 -04:00
|
|
|
|
2007-09-02 17:08:21 -04:00
|
|
|
WRKDIST= ${WRKDIR}
|
2006-12-23 12:04:16 -05:00
|
|
|
USE_GMAKE= Yes
|
2006-04-26 16:05:06 -04:00
|
|
|
CONFIGURE_STYLE=simple
|
2007-05-09 10:01:54 -04:00
|
|
|
CONFIGURE_ARGS= --prefix="${PREFIX}"
|
2006-04-26 16:05:06 -04:00
|
|
|
|
|
|
|
.if ${FLAVOR:L:Mno_gui}
|
|
|
|
CONFIGURE_ARGS+=--disable-gtk
|
|
|
|
.else
|
2006-11-22 16:58:24 -05:00
|
|
|
MULTI_PACKAGES+=-gui
|
|
|
|
MODULES= devel/gettext
|
2007-05-09 10:01:54 -04:00
|
|
|
WANTLIB-gui= ${WANTLIB} X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama \
|
2007-11-17 15:39:02 -05:00
|
|
|
Xcomposite Xdamage \
|
2007-05-09 10:01:54 -04:00
|
|
|
Xrandr Xrender atk-1.0.>=1809.0 cairo expat fontconfig \
|
|
|
|
freetype glib-2.0.>=1200.0 glitz gmodule-2.0.>=1200.0 \
|
|
|
|
gobject-2.0.>=1200.0 pango-1.0.>=1300.0 pangoft2-1.0.>=1300.0 \
|
|
|
|
pangocairo-1.0.>=1300.0 png z
|
|
|
|
LIB_DEPENDS= gdk_pixbuf-2.0.>=1000.0,gdk-x11-2.0.>=1000.0,gtk-x11-2.0.>=1000.0::x11/gtk+2
|
2006-11-22 16:58:24 -05:00
|
|
|
LIB_DEPENDS-main=
|
|
|
|
RUN_DEPENDS-main=
|
2007-09-02 17:08:21 -04:00
|
|
|
RUN_DEPENDS-gui=:${PKGNAME-main}:net/transmission,-main ${RUN_DEPENDS}
|
2006-11-22 16:58:24 -05:00
|
|
|
USE_X11= Yes
|
2006-04-26 16:05:06 -04:00
|
|
|
.endif
|
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|