ports/filesystems/davfs2/Makefile
Alexey Dokuchaev 52edcbe5ac filesystems/davfs2: allow to build with any 3.x version of `www/neon'
Assume that any more or less recent version would work, at least within
the current major series.  Upstream plans to get rid of this heuristics
altogether in the next release so this band-aid should suffice for now.

PR:	285860
2025-04-10 05:11:08 +00:00

41 lines
983 B
Makefile

PORTNAME= davfs2
PORTVERSION= 1.7.1
CATEGORIES= filesystems www
MASTER_SITES= SAVANNAH \
https://github.com/alisarctl/davfs2/releases/download/rel-${PORTVERSION:S/./-/g}/
PKGNAMEPREFIX= fusefs-
MAINTAINER= ali.abdallah@suse.com
COMMENT= FUSE filesystem to access WebDAV servers
WWW= http://savannah.nongnu.org/projects/davfs2 \
https://github.com/alisarctl
LICENSE= GPLv3+
LICENSE_FILE= ${WRKSRC}/AUTHORS
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libneon.so:www/neon
USES= gmake iconv ssl
GNU_CONFIGURE= yes
USERS= ${PORTNAME}
GROUPS= ${PORTNAME}
OPTIONS_DEFINE= DOCS NLS
OPTIONS_SUB= yes
NLS_USES= gettext-runtime
NLS_CONFIGURE_OFF= --disable-nls
post-patch:
@${REINPLACE_CMD} -e 's, 33, ${:!seq 33 39!},' ${WRKSRC}/configure
post-stage:
${CHMOD} -s ${STAGEDIR}${PREFIX}/sbin/mount.davfs
cd ${STAGEDIR}${DOCSDIR} && ${RM} AUTHORS COPYING INSTALL
.for f in davfs2.conf secrets
cd ${STAGEDIR}${ETCDIR} && ${MV} ${f} ${f}.sample
.endfor
.include <bsd.port.mk>