da12e6723d
While here trim headers Convert some USE_GNOME= gnomehack -> USES= pathfix
44 lines
997 B
Makefile
44 lines
997 B
Makefile
# 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
|
||
|
||
GNU_CONFIGURE= yes
|
||
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}
|
||
|
||
.include <bsd.port.mk>
|