blob: 4a6549c37dbf96ce989a5048f47db35752cf7f7f (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Created by: Denis Barov
# $FreeBSD$
PORTNAME= smbnetfs
PORTVERSION= 0.5.3a
CATEGORIES= sysutils net
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/SMBNetFS-${PORTVERSION}
PKGNAMEPREFIX= fusefs-
MAINTAINER= ports@FreeBSD.org
COMMENT= Mount smb shares (Fuse filesystem)
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}
USE_BZIP2= yes
USES= fuse pkgconfig
GNU_CONFIGURE= yes
CFLAGS+= -I${LOCALBASE}/include
LDFLAGS= -L${LOCALBASE}/lib
SUB_FILES= pkg-message
NO_STAGE= yes
.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}
.include <bsd.port.mk>
|