summaryrefslogtreecommitdiff
path: root/ftp/bareftp/Makefile
blob: df332a31d2816d2b1d77732dda36d0efc539f716 (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
# Ports collection makefile for:  bareftp
# Date created:			Sat June 20, 2009
# Whom:				Chris Petrik (chris@officialunix.com)
#
# $FreeBSD$
#

PORTNAME=	bareftp
PORTVERSION=	0.2.3
PORTREVISION=	1
CATEGORIES=	ftp
MASTER_SITES=	http://www.bareftp.org/release/

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Ftp client made in C sharp

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--datarootdir="${PREFIX}/share" --libdir="${LOCALBASE}/lib" \
		--localedir="${PREFIX}/share/locale" --includedir="${LOCALBASE}/include"

INSTALLS_ICONS=	yes
USE_GETTEXT=	yes
USE_GNOME=	gtksharp20 gnomesharp20
USE_GMAKE=	yes

# TODO
# Ugly way but configure ignore "--localedir=" fu* ;/
pre-build:
	@${REINPLACE_CMD} -e 's|$$(prefix)/$$(DATADIRNAME)|${PREFIX}/share|g' \
		${WRKSRC}/po/Makefile

.include <bsd.port.mk>