summaryrefslogtreecommitdiff
path: root/filesystems/davfs2/Makefile
blob: 69a06c47c4507210daf06db79ecb93d5dce3e5ce (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
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>