mirror of
https://git.freebsd.org/ports.git
synced 2025-05-17 17:43:11 -04:00
The filesystems category houses file systems and file system utilities. It is added mainly to turn the sysutils/fusefs-* pseudo-category into a proper one, but is also useful for the sundry of other file systems related ports found in the tree. Ports that seem like they belong there are moved to the new category. Two ports, sysutils/fusefs-funionfs and sysutils/fusefs-fusepak are not moved as they currently don't fetch and don't have TIMESTAMP set in their distinfo, but that is required to be able to push a rename of the port by the pre-receive hook. Approved by: portmgr (rene) Reviewed by: mat Pull Request: https://github.com/freebsd/freebsd-ports/pull/302 PR: 281988
54 lines
1.5 KiB
Makefile
54 lines
1.5 KiB
Makefile
PORTNAME= smbnetfs
|
|
PORTVERSION= 0.6.3
|
|
PORTREVISION= 1
|
|
CATEGORIES= filesystems net
|
|
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/SMBNetFS-${PORTVERSION}
|
|
PKGNAMEPREFIX= fusefs-
|
|
|
|
MAINTAINER= ports@virtual-estates.net
|
|
COMMENT= Mount smb shares (Fuse filesystem)
|
|
WWW= https://sourceforge.net/projects/smbnetfs/
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
OPTIONS_DEFINE= DOCS LIBSECRET
|
|
|
|
LIBSECRET_DESC= Use libsecret to store credentials
|
|
LIBSECRET_CONFIGURE_WITH= libsecret
|
|
LIBSECRET_LIB_DEPENDS= libsecret-*.so:security/libsecret
|
|
|
|
DOCSDIR= ${PREFIX}/share/doc/${PORTNAME}-${PORTVERSION}
|
|
|
|
USES= compiler:c11 fuse gnome iconv pkgconfig samba:lib tar:bzip2
|
|
USE_GNOME= glib20:build
|
|
|
|
GNU_CONFIGURE= yes
|
|
# A hack to disable gratuitous linking with -lglib-2.0
|
|
CONFIGURE_ENV+= GLIB_LIBS=-L/var/empty
|
|
CFLAGS+= -I${SAMBAINCLUDES} -DFUSE_USE_VERSION=${FUSE_VERSION}
|
|
LDFLAGS+= -L${SAMBALIBS}
|
|
SUB_FILES= pkg-message
|
|
# configure just generated config.h -- we do not need to redo it:
|
|
MAKE_ARGS+= AUTOHEADER=${TRUE}
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${ICONV_LIB} == ""
|
|
CONFIGURE_ENV+= ac_cv_lib_iconv_iconv_open=yes
|
|
CONFIGURE_ARGS+=--with-libiconv=native
|
|
.endif
|
|
|
|
# Uses/fuse.mk should be doing the below:
|
|
.if ${LIBFUSE_VER} == 3
|
|
CONFIGURE_ENV+= FUSE_CFLAGS="-I${LOCALBASE}/include/fuse3" \
|
|
FUSE_LIBS="-L${LOCALBASE}/lib -lfuse3"
|
|
FUSEPKG= fuse3
|
|
LDFLAGS+= -lthr
|
|
.else
|
|
FUSEPKG= fuse
|
|
.endif
|
|
FUSE_VERSION= "`pkgconf --modversion ${FUSEPKG} | \
|
|
${SED} -E 's,^([0-9]+)\.([0-9]+)\..*,\1\2,'`"
|
|
|
|
.include <bsd.port.post.mk>
|