openbsd-ports/net/filezilla/Makefile
2011-12-05 10:20:23 +00:00

63 lines
1.7 KiB
Makefile

# $OpenBSD: Makefile,v 1.22 2011/12/05 10:20:23 giovanni Exp $
COMMENT= fast FTP and SFTP GUI client with a lot of features
V= 3.5.2
PKGNAME= filezilla-$V
DISTNAME= FileZilla_$V_src
EXTRACT_SUFX= .tar.bz2
MAINTAINER= Giovanni Bechis <giovanni@openbsd.org>
CATEGORIES= net
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=filezilla/}
HOMEPAGE= http://www.filezilla-project.org/
# GPLv2
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB += c m pthread stdc++ tasn1 z gmp hogweed nettle
WANTLIB += X11 Xcomposite Xcursor Xdamage Xext Xfixes
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
WANTLIB += freetype gdk-x11-2.0 gdk_pixbuf-2.0 gio-2.0 glib-2.0
WANTLIB += gmodule-2.0 gobject-2.0 gthread-2.0 gtk-x11-2.0
WANTLIB += pango-1.0 pangocairo-1.0 pangoft2-1.0 pcre pixman-1
WANTLIB += png pthread-stubs xcb xcb-render xcb-shm
WANTLIB += idn gnutls>=13 dbus-1 wx_gtk2_aui wx_base_xml wx_gtk2_adv
WANTLIB += wx_gtk2_xrc wx_base_net wx_base wx_gtk2_core
WANTLIB += GL sqlite3 ffi p11-kit
MODULES= devel/gettext
LIB_DEPENDS= devel/libidn \
security/gnutls \
x11/dbus \
x11/wxWidgets>=2.8.6 \
databases/sqlite3
BUILD_DEPENDS= devel/xdg-utils
RUN_DEPENDS= devel/desktop-file-utils \
devel/xdg-utils
REGRESS_DEPENDS=devel/cppunit
SEPARATE_BUILD= concurrent
CONFIGURE_STYLE=gnu
CONFIGURE_ARGS+=--with-dbus \
--with-tinyxml=builtin \
--disable-autoupdatecheck
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib" \
GREP=/usr/bin/grep \
SED=/usr/bin/sed
USE_GMAKE= Yes
WRKDIST= ${WRKDIR}/filezilla-$V
do-regress:
@cd ${WRKBUILD}/tests && ${MAKE_PROGRAM} check-TESTS
.include <bsd.port.mk>