aboutsummaryrefslogtreecommitdiff
path: root/ftp/gftp/Makefile
blob: 276957ef366acac9da322f4ee7b284d8a210e7b6 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
PORTNAME=	gftp
PORTVERSION=	2.9.1b
PORTREVISION=	1
CATEGORIES=	ftp

MAINTAINER=	oliver@FreeBSD.org
COMMENT=	Free multithreaded GTK-based FTP and SFTP client
WWW=		http://gftp.seul.org/

LICENSE=	GPLv2

LIB_DEPENDS=	libharfbuzz.so:print/harfbuzz \
		libfontconfig.so:x11-fonts/fontconfig \
		libfreetype.so:print/freetype2

USES=		autoreconf desktop-file-utils gettext-tools gnome gmake pathfix \
		pkgconfig ssl tar:bzip2
USE_GITHUB=	yes
GH_ACCOUNT=	masneyb
USE_GNOME=	cairo gdkpixbuf glib20 gtk20

GNU_CONFIGURE=	yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share

CFLAGS+=	-D_WANT_SEMUN

OPTIONS_DEFINE=	NLS
OPTIONS_SUB=	yes

NLS_USES=		gettext iconv
NLS_CONFIGURE_OFF=	--disable-nls
NLS_CONFIGURE_ENABLE=	nls
NLS_CPPFLAGS=		-I${LOCALBASE}/include
NLS_LIBS=		-L${LOCALBASE}/lib -lintl

post-patch:
	@${MKDIR} ${WRKSRC}/autoconf
	@${MKDIR} ${WRKSRC}/autoconf-m4
	@${TOUCH} ${WRKSRC}/autoconf/config.rpath

.include <bsd.port.mk>