blob: e49d5599950bfd6436301ef208e977d393575932 (
plain)
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
42
43
44
45
46
47
48
49
50
51
52
|
# $NetBSD: Makefile,v 1.3 2001/05/22 15:22:20 jlam Exp $
DISTNAME= cadaver-0.17.0
CATEGORIES= www
MASTER_SITES= http://www.webdav.org/cadaver/
MAINTAINER= jlam@netbsd.org
HOMEPAGE= http://www.webdav.org/cadaver/
COMMENT= command-line WebDAV client
DEPENDS+= libxml>=1.8.11:../../textproc/libxml
USE_SSL= # defined
USE_LIBINTL= # defined
USE_GMAKE= # defined
ALL_TARGET= cadaver
GNU_CONFIGURE= # defined
CONFIGURE_ARGS+= --with-ssl=${SSLBASE}
CONFIGURA_ARGS+= --with-include-neon
CONFIGURE_ARGS+= --enable-libxml
CONFIGURE_ARGS+= --enable-netrc
.include "../../devel/libgetopt/Makefile.getopt"
.include "../../devel/readline/Makefile.readline"
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}"
CONFIGURE_ENV+= LIBS="${LIBS}"
CONFIGURE_ENV+= ac_cv_lib_curses_tputs=no
CONFIGURE_ENV+= ac_cv_lib_ncurses_tputs=no
CPPFLAGS+= -I${WRKINCDIR}
CFLAGS+= -I${WRKINCDIR}
LDFLAGS+= -L${WRKLIBDIR}
LIBS+= -ltermcap
pre-configure: link-getopt-headers link-readline-headers link-readline-libs
# The build process doesn't correctly find some headers for utility functions
# which are provided in ${WRKSRC}/lib. Help the compiler by linking the
# headers to ${WRKSRC} and explicitly passing -I. to the compiler.
#
CFLAGS+= -I.
pre-build:
${RM} -f ${WRKSRC}/glob.h
${LN} -sf ${WRKSRC}/lib/glob.h ${WRKSRC}/glob.h
post-install:
${INSTALL_DATA} ${WRKSRC}/doc/cadaver.1 ${PREFIX}/man/man1
.include "../../mk/bsd.pkg.mk"
|