aboutsummaryrefslogtreecommitdiff
path: root/sysutils/fusefs-smbnetfs
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2013-01-17 16:01:41 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2013-01-17 16:01:41 +0000
commita9dee8fed8fa448278b6026750d4a0fdebf37944 (patch)
tree840a3d0d0e32e9cb4c544c1fb78dc94bc7b7eaf4 /sysutils/fusefs-smbnetfs
parent3be46e0f6a5c969d2ae54931b2c353d266ad592c (diff)
downloadports-a9dee8fed8fa448278b6026750d4a0fdebf37944.tar.gz
ports-a9dee8fed8fa448278b6026750d4a0fdebf37944.zip
Notes
Diffstat (limited to 'sysutils/fusefs-smbnetfs')
-rw-r--r--sysutils/fusefs-smbnetfs/Makefile22
-rw-r--r--sysutils/fusefs-smbnetfs/distinfo4
2 files changed, 20 insertions, 6 deletions
diff --git a/sysutils/fusefs-smbnetfs/Makefile b/sysutils/fusefs-smbnetfs/Makefile
index 209ec3576dd4..f380df071aa6 100644
--- a/sysutils/fusefs-smbnetfs/Makefile
+++ b/sysutils/fusefs-smbnetfs/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= smbnetfs
-PORTVERSION= 0.5.3
-PORTREVISION= 1
+PORTVERSION= 0.5.3a
CATEGORIES= sysutils net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/SMBNetFS-${PORTVERSION}
PKGNAMEPREFIX= fusefs-
@@ -11,8 +10,11 @@ PKGNAMEPREFIX= fusefs-
MAINTAINER= ports@FreeBSD.org
COMMENT= Mount smb shares (Fuse filesystem)
-LIB_DEPENDS= smbclient.0:${PORTSDIR}/net/samba-libsmbclient \
- gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring
+OPTIONS_DEFINE= GNOME_KEYRING
+OPTIONS_DEFAULT=GNOME_KEYRING
+GNOME_KEYRING_DESC= Build with gnome-keyring support
+
+LIB_DEPENDS= smbclient.0:${PORTSDIR}/net/samba-libsmbclient
DOCSDIR+= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
@@ -24,6 +26,18 @@ CFLAGS+= ${PTHREAD_CFLAGS} -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
SUB_FILES= pkg-message
+.include <bsd.port.options.mk>
+
+.if ${PORT_OPTIONS:MGNOME_KEYRING}
+CONFIGURE_ARGS+=--with-gnome-keyring=yes
+LIB_DEPENDS+= gnome-keyring.0:${PORTSDIR}/security/libgnome-keyring
+.else
+CONFIGURE_ARGS+=--with-gnome-keyring=no
+.endif
+
+post-patch:
+ ${REINPLACE_CMD} -e 's|а|a|g' ${WRKSRC}/${CONFIGURE_SCRIPT}
+
post-install:
@${CAT} ${PKGMESSAGE}
diff --git a/sysutils/fusefs-smbnetfs/distinfo b/sysutils/fusefs-smbnetfs/distinfo
index 1c48ac317364..4730ea22695a 100644
--- a/sysutils/fusefs-smbnetfs/distinfo
+++ b/sysutils/fusefs-smbnetfs/distinfo
@@ -1,2 +1,2 @@
-SHA256 (smbnetfs-0.5.3.tar.bz2) = e61d5acb2f489ce52505cb5c04724ba82f8fd3674ba185b2b0c9d7bb9cde5253
-SIZE (smbnetfs-0.5.3.tar.bz2) = 135469
+SHA256 (smbnetfs-0.5.3a.tar.bz2) = 5ce78789a10a47bb9cf397d03b94d9e480bf29be9ee1f1bfac7d6ee143e0f43b
+SIZE (smbnetfs-0.5.3a.tar.bz2) = 136003