blob: 5db45e832e7721bf2a70a61ab743fa3557006eb6 (
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
42
43
|
# Created by: Chris Petrik (chris@officialunix.com)
# $FreeBSD$
PORTNAME= bareftp
PORTVERSION= 0.3.12
CATEGORIES= ftp
MASTER_SITES= http://www.bareftp.org/release/
MAINTAINER= ports@FreeBSD.org
COMMENT= FTP client made in C sharp
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --datarootdir="${PREFIX}/share" \
--libdir="${PREFIX}/lib" \
--localedir="${PREFIX}/share/locale" \
--includedir="${LOCALBASE}/include"
INSTALL_TARGET= install-strip
INSTALLS_ICONS= yes
USES= cpe gettext gmake libtool pkgconfig
USE_GNOME= gtksharp20 gnomesharp20 intltool
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>
|