diff options
author | gahr <gahr@FreeBSD.org> | 2013-01-18 00:01:41 +0800 |
---|---|---|
committer | gahr <gahr@FreeBSD.org> | 2013-01-18 00:01:41 +0800 |
commit | 4a1240f62f79fab9a1a3189228c7579a636f278e (patch) | |
tree | 840a3d0d0e32e9cb4c544c1fb78dc94bc7b7eaf4 | |
parent | feee80a696c2d67b0514078b3cc985e3284e000a (diff) | |
download | freebsd-ports-gnome-4a1240f62f79fab9a1a3189228c7579a636f278e.tar.gz freebsd-ports-gnome-4a1240f62f79fab9a1a3189228c7579a636f278e.tar.zst freebsd-ports-gnome-4a1240f62f79fab9a1a3189228c7579a636f278e.zip |
- Update to 0.5.3a
* this version allows building without gnome-keyring support
- Add an OPTION for gnome-keyring support
-rw-r--r-- | sysutils/fusefs-smbnetfs/Makefile | 22 | ||||
-rw-r--r-- | sysutils/fusefs-smbnetfs/distinfo | 4 |
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 |