openbsd-ports/net/transmission/Makefile

57 lines
1.4 KiB
Makefile
Raw Normal View History

2007-11-17 15:39:02 -05:00
# $OpenBSD: Makefile,v 1.12 2007/11/17 20:39:03 steven Exp $
COMMENT-main= lightweight BitTorrent command line and daemon client
COMMENT-gui= lightweight BitTorrent client with graphical interface
VER= 0.81
DISTNAME= Transmission-${VER}
PKGNAME-main= transmission-${VER}
2007-11-17 15:39:02 -05:00
PKGNAME-gui= transmission-gui-${VER}p0
CATEGORIES= net
HOMEPAGE= http://transmission.m0k.org/
MAINTAINER= Christian Weisgerber <naddy@openbsd.org>
# GPL
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
WANTLIB= c crypto m pthread
WANTLIB-main= ${WANTLIB} event
WRKDIST= ${WRKDIR}
USE_GMAKE= Yes
CONFIGURE_STYLE=simple
CONFIGURE_ARGS= --prefix="${PREFIX}"
.if ${FLAVOR:L:Mno_gui}
CONFIGURE_ARGS+=--disable-gtk
.else
2006-11-22 16:58:24 -05:00
MULTI_PACKAGES+=-gui
MODULES= devel/gettext
WANTLIB-gui= ${WANTLIB} X11 Xau Xcursor Xdmcp Xext Xfixes Xi Xinerama \
2007-11-17 15:39:02 -05:00
Xcomposite Xdamage \
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=
RUN_DEPENDS-gui=:${PKGNAME-main}:net/transmission,-main ${RUN_DEPENDS}
2006-11-22 16:58:24 -05:00
USE_X11= Yes
.endif
NO_REGRESS= Yes
.include <bsd.port.mk>