summaryrefslogtreecommitdiffstats
path: root/ftp/bareftp/Makefile
blob: 730a5bd6c3f9744b1eb7919ec9be85e5b7a2895e (plain)
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
# Created by: Chris Petrik (chris@officialunix.com)
# $FreeBSD$

PORTNAME=	bareftp
PORTVERSION=	0.3.11
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="${PREFIX}/lib" \
		--localedir="${PREFIX}/share/locale" \
		--includedir="${LOCALBASE}/include"

INSTALLS_ICONS=	yes
USES=		cpe gettext gmake libtool pkgconfig
USE_GNOME=	gtksharp20 gnomesharp20

USE_LDCONFIG=	yes

OPTIONS_DEFINE=	GNOMEKEYRING NLS
OPTIONS_DEFAULT=GNOMEKEYRING
OPTIONS_SUB=	yes

GNOMEKEYRING_CONFIGURE_WITH=	gnomekeyring
GNOMEKEYRING_BUILD_DEPENDS=	gnome-keyring-sharp>0:${PORTSDIR}/security/gnome-keyring-sharp
GNOMEKEYRING_RUN_DEPENDS=	gnome-keyring-sharp>0:${PORTSDIR}/security/gnome-keyring-sharp
NLS_CONFIGURE_ENABLE=	nls

# 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>
OpenPOWER on IntegriCloud