56 lines
1.3 KiB
Makefile
Executable File
56 lines
1.3 KiB
Makefile
Executable File
# $OpenBSD: Makefile,v 1.29 2010/11/19 22:31:33 espie Exp $
|
|
|
|
COMMENT= multithreaded gtk2 file transfer client
|
|
|
|
DISTNAME= gftp-2.0.19
|
|
REVISION= 6
|
|
CATEGORIES= net
|
|
|
|
HOMEPAGE= http://gftp.seul.org/
|
|
|
|
MAINTAINER= Antoine Jacoutot <ajacoutot@openbsd.org>
|
|
|
|
# GPLv2
|
|
PERMIT_PACKAGE_CDROM= yes
|
|
PERMIT_PACKAGE_FTP= yes
|
|
PERMIT_DISTFILES_CDROM= yes
|
|
PERMIT_DISTFILES_FTP= yes
|
|
|
|
MASTER_SITES= ${HOMEPAGE} \
|
|
ftp://www.gftp.org/pub/gftp/old-releases/
|
|
|
|
WANTLIB= readline c m ncurses util
|
|
|
|
CONFIGURE_STYLE=gnu
|
|
|
|
CONFIGURE_ENV= CPPFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
|
|
LDFLAGS="-L${LOCALBASE}/lib"
|
|
CONFIGURE_ARGS= --with-readline \
|
|
--without-included-gettext \
|
|
--enable-ssl
|
|
|
|
FLAVORS= no_x11
|
|
FLAVOR?=
|
|
|
|
MODULES= devel/gettext
|
|
USE_GROFF = Yes
|
|
|
|
BUILD_DEPENDS= devel/bison
|
|
|
|
.if ${FLAVOR:L:Mno_x11}
|
|
LIB_DEPENDS += devel/glib2
|
|
WANTLIB += glib-2.0>=1803
|
|
CONFIGURE_ARGS +=--disable-gtkport
|
|
.else
|
|
LIB_DEPENDS+= x11/gtk+2
|
|
RUN_DEPENDS+= devel/desktop-file-utils
|
|
WANTLIB += X11 Xau Xcomposite Xcursor Xdamage Xdmcp Xext Xfixes
|
|
WANTLIB += Xi Xinerama Xrandr Xrender atk-1.0 cairo expat fontconfig
|
|
WANTLIB += freetype gio-2.0 glib-2.0 gmodule-2.0 gobject-2.0
|
|
WANTLIB += gthread-2.0 pango-1.0 pangocairo-1.0 pangoft2-1.0 pixman-1
|
|
WANTLIB += png pthread pthread-stubs xcb xcb-render xcb-render-util
|
|
WANTLIB += z gdk_pixbuf-2.0 gtk-x11-2.0>=600.10 gdk-x11-2.0>=600.0
|
|
.endif
|
|
|
|
.include <bsd.port.mk>
|