summaryrefslogblamecommitdiff
path: root/ftp/bareftp/Makefile
blob: c39dc068e712922612dd03b78fcf48ca02186e61 (plain) (tree)
1
2
3
4
5
6
7
8
9







                                                                     
                     
                 
                   

                                                 
 
                                        


                                          
                                                                          






                                                                                        



                   






                                                                    






                                                                               
# Ports collection makefile for:  bareftp
# Date created:			Sat June 20, 2009
# Whom:				Chris Petrik (chris@officialunix.com)
#
# $FreeBSD$
#

PORTNAME=	bareftp
PORTVERSION=	0.3.1
PORTREVISION=	2
CATEGORIES=	ftp
MASTER_SITES=	http://www.bareftp.org/release/ \
		http://www.predatorlabs.net/dl/

MAINTAINER=	rfarmer@predatorlabs.net
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

# should use configure --without-gnome-keyring but it is broken
post-patch:
	@${REINPLACE_CMD} -e 's|with_keyring=yes|with_keyring=no|' \
		${WRKSRC}/configure

# 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>