summaryrefslogtreecommitdiff
path: root/www/neon28/Makefile
blob: 7e6f7422f04fabf722e66321543c0266eef86ffb (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
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
# New ports collection makefile for: neon
# Date created:		13 October 2000
# Whom:			Mikhail Teterin <mi@aldan.algebra.com>
#
# $FreeBSD$
#

PORTNAME=	neon
PORTVERSION=	0.21.2
PORTREVISION=	1
CATEGORIES=	www
MASTER_SITES=	http://www.webdav.org/neon/

MAINTAINER=	rooneg@electricjellyfish.net

LIB_DEPENDS=	expat.3:${PORTSDIR}/textproc/expat2

.ifndef WITHOUT_OPENSSL
USE_OPENSSL=	yes
.endif

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-ssl \
		--enable-xml \
		--enable-shared \
		--with-expat=${PREFIX}
CONFIGURE_TARGET=	--target=${MACHINE_ARCH}-unknown-freebsd${OSREL}

MAN1=	neon-config.1
MAN3=	ne_add_request_header.3 ne_buffer.3 ne_buffer_altered.3 \
	ne_buffer_append.3 ne_buffer_clear.3 ne_buffer_concat.3 \
	ne_buffer_create.3 ne_buffer_destroy.3 ne_buffer_finish.3 \
	ne_buffer_grow.3 ne_buffer_ncreate.3 ne_buffer_zappend.3 \
	ne_calloc.3 ne_close_connection.3 ne_forget_auth.3 \
	ne_get_error.3 ne_get_status.3 ne_malloc.3 ne_oom_callback.3 \
	ne_print_request_header.3 ne_qtoken.3 ne_realloc.3 \
	ne_request_create.3 ne_request_destroy.3 ne_request_dispatch.3 \
	ne_session_create.3 ne_session_destroy.3 ne_session_proxy.3 \
	ne_set_error.3 ne_set_expect100.3 ne_set_persist.3 \
	ne_set_proxy_auth.3 ne_set_read_timeout.3 \
	ne_set_request_body_buffer.3 ne_set_request_body_fd.3 \
	ne_set_server_auth.3 ne_set_useragent.3 ne_shave.3 \
	ne_ssl_certificate.3 ne_ssl_dname.3 ne_ssl_load_ca.3 \
	ne_ssl_load_default_ca.3 ne_ssl_readable_dname.3 \
	ne_ssl_set_verify.3 ne_status.3 ne_strdup.3 ne_strndup.3 \
	ne_token.3

post-install:
	${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${PREFIX}/man/man1
	${INSTALL_MAN} ${WRKSRC}/doc/man/*.3 ${PREFIX}/man/man3
.ifndef NOPORTDOCS
	${MKDIR} ${PREFIX}/share/doc/neon
	${INSTALL_DATA} ${WRKSRC}/doc/using-neon.txt ${PREFIX}/share/doc/neon
.endif

.include <bsd.port.mk>