# Created by: bf # $FreeBSD$ PORTNAME= gnunet-gtk DISTVERSION= 0.9.3 CATEGORIES= net-p2p ipv6 security MASTER_SITES= GNU MASTER_SITE_SUBDIR= gnunet MAINTAINER= bf@FreeBSD.org COMMENT= GTK interface to GNUnet LICENSE= GPLv3 LIB_DEPENDS= gladeui-1:${PORTSDIR}/devel/glade3 \ gnunetutil:${PORTSDIR}/net-p2p/gnunet INSTALLS_ICONS = yes USE_AUTOTOOLS= libltdl libtool USES= pathfix iconv gmake pkgconfig USE_LDCONFIG= yes CONFIGURE_ARGS = --with-extractor=${LOCALBASE} \ --with-gnunet=${LOCALBASE} \ ${ICONV_CONFIGURE_ARG} MAN1= gnunet-fs-gtk.1 NO_STAGE= yes .include .if ${PORT_OPTIONS:MNLS} USES+= gettext CONFIGURE_ARGS+= --with-libintl-prefix=${LOCALBASE} PLIST_SUB+= NLS="" .else CONFIGURE_ARGS+= --disable-nls PLIST_SUB+= NLS="@comment " .endif post-patch: @${FIND} ${WRKSRC} -type f -name 'Makefile.in' -print0 | \ ${XARGS} -0 ${REINPLACE_CMD} -e \ '/^[[:blank:]]*mkinstalldirs[[:blank:]]*=/s/=.*/= $$(mkdir_p)/' .if ${PORT_OPTIONS:MDOCS} PORTDOCS= AUTHORS COPYING ChangeLog NEWS README post-install: @${MKDIR} ${DOCSDIR} @cd ${WRKSRC}; ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR} .endif .include