freebsd-ports/ftp/bareftp/Makefile
Koop Mast 2f0486b647 Part 1 of adding USE_GNOME=intltool to ports that require it.
The reason for this is that in the GNOME 3.16 update, USE_GNOME gtk20 and
gtk30 don't pull intltool in anymore.

PR:		201980
Exp-run by:	antoine@
2015-08-02 20:23:55 +00:00

44 lines
1.1 KiB
Makefile

# Created by: Chris Petrik (chris@officialunix.com)
# $FreeBSD$
PORTNAME= bareftp
PORTVERSION= 0.3.11
PORTREVISION= 1
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>