freebsd-ports/ftp/bareftp/Makefile
Romain Tartière 12b39d2b63 - Update to 0.3.8;
- Take maintainership.
2011-08-06 08:20:35 +00:00

49 lines
1.2 KiB
Makefile

# Ports collection makefile for: bareftp
# Date created: Sat June 20, 2009
# Whom: Chris Petrik (chris@officialunix.com)
#
# $FreeBSD$
#
PORTNAME= bareftp
PORTVERSION= 0.3.8
CATEGORIES= ftp
MASTER_SITES= http://www.bareftp.org/release/
MAINTAINER= mono@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
USE_GETTEXT= yes
USE_GNOME= gtksharp20 gnomesharp20
USE_GMAKE= yes
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes
MAN1= bareftp.1
OPTIONS= KEYRING "Support for Gnome Keyring" on
.include <bsd.port.options.mk>
.if defined(WITHOUT_KEYRING)
CONFIGURE_ARGS+= --without-gnomekeyring
.else
KEYRING_DETECT= ${LOCALBASE}/libdata/pkgconfig/gnome-keyring-sharp-1.0.pc
BUILD_DEPENDS+= ${KEYRING_DETECT}:${PORTSDIR}/security/gnome-keyring-sharp
RUN_DEPENDS+= ${KEYRING_DETECT}:${PORTSDIR}/security/gnome-keyring-sharp
.endif
# 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>