blob: 058df485f76a3b79398256dcb2053d2e6f64779c (
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
|
PORTNAME= cadaver
DISTVERSION= 0.26
CATEGORIES= www
MASTER_SITES= https://notroj.github.io/cadaver/
MAINTAINER= ports@FreeBSD.org
COMMENT= Commandline client for DAV
WWW= https://notroj.github.io/cadaver/
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libneon.so:www/neon
USES= cpe localbase:ldflags pkgconfig ssl
CPE_VENDOR= webdav
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-netrc \
--with-ssl
# Neither expat nor libneon are needed at all, but the configure
# script breaks if it can not find the Makefile* in them. Exclude
# them to be sure, a stray .h is not included instead of what's
# found under PREFIX (installed by the neon port):
EXTRACT_AFTER_ARGS= --exclude '${PORTNAME}-${DISTVERSION}/lib/expat/*.[ch]' \
--exclude '${PORTNAME}-${DISTVERSION}/lib/intl/*.[ch]' \
--exclude '${PORTNAME}-${DISTVERSION}/lib/neon/*.[ch]' \
--exclude 'glob.[ch]' --exclude 'mkstemp.[ch]' \
--exclude 'tempname.[ch]' --exclude 'basename.[ch]'
OPTIONS_DEFINE= NLS
OPTIONS_SUB= yes
NLS_USES= gettext iconv
NLS_CONFIGURE_ENABLE= nls
.include <bsd.port.mk>
|