ports/filesystems/s3fs/Makefile
Daniel Engberg 3b3700f8f0 */*: Use Gnome helper for defining libxml2 dependency
Replace LIB_DEPENDS with USES= gnome, USE_GNOME= libxml2

Approved by:	portmgr (blanket)
2024-12-23 22:08:39 +01:00

36 lines
782 B
Makefile

PORTNAME= s3fs
DISTVERSIONPREFIX= v
DISTVERSION= 1.92
PORTREVISION= 1
CATEGORIES= filesystems
PKGNAMEPREFIX= fusefs-
MAINTAINER= dmgk@FreeBSD.org
COMMENT= FUSE-based file system backed by Amazon S3
WWW= https://github.com/s3fs-fuse/s3fs-fuse
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libcurl.so:ftp/curl
USES= autoreconf fuse gnome pkgconfig ssl
USE_GNOME= libxml2
USE_GITHUB= yes
GH_ACCOUNT= s3fs-fuse
GH_PROJECT= s3fs-fuse
GNU_CONFIGURE= yes
GNU_CONFIGURE_MANPREFIX=${PREFIX}/share
CONFIGURE_ENV+= ac_cv_prog_GITCMD=no
PLIST_FILES= bin/s3fs share/man/man1/s3fs.1.gz
post-patch:
@${REINPLACE_CMD} -e 's/libcrypto >= 0.9//' ${WRKSRC}/configure.ac
@${REINPLACE_CMD} -e '/DEPS_LIBS/s/$$/ -lcrypto/' \
${WRKSRC}/src/Makefile.am
.include <bsd.port.mk>