aboutsummaryrefslogtreecommitdiff
path: root/www/neon26/Makefile
blob: 053a529e76861bf74f74b455a800d597082dc664 (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.7.5
CATEGORIES=	www
MASTER_SITES=	http://www.webdav.org/neon/

MAINTAINER=	mi@aldan.algebra.com

LIB_DEPENDS=	expat:${PORTSDIR}/textproc/expat \
		xml:${PORTSDIR}/textproc/libxml

.ifndef NO_OPENSSL
USE_OPENSSL=	yes
.endif

GNU_CONFIGURE=	yes
CONFIGURE_ARGS=	--with-ssl=${OPENSSLBASE} --with-expat=${PREFIX}/include/xml \
		--with-extra-libs=${PREFIX}/lib

ALL_TARGET=	all examples
INSTALL_TARGET=	install install-examples

.ifdef WITH_NBROWSE
LIB_DEPENDS+=	glade:${PORTSDIR}/devel/libglade
CONFIGURE_ARGS+=--with-libglade-config=${PREFIX}/bin/libglade-config \
		--with-gnome=${X11BASE} \
		--enable-gnome-examples
CONFIGURE_ENV+=	GTK_CONFIG="${X11BASE}/bin/gtk12-config"
ALL_TARGET+=	nbrowse
PLIST_SUB+=	GUI=''
.else
PLIST_SUB+=	GUI='@comment '

post-extract:
	# You can also build a GUI-sample application by doing:
	#	make -DWITH_NBROWSE
	# It is disabled by default, because the author thinks
	# it is BUGGY and because it requires libglade and GNOME.
.endif

.ifndef NOPORTDOCS
post-install:
	${MKDIR} ${PREFIX}/share/doc/neon
	${INSTALL_DATA} ${WRKSRC}/doc/using-neon.txt ${PREFIX}/share/doc/neon
PLIST_SUB+=	DOCS=''
.else
PLIST_SUB+=	DOCS='@comment '
.endif

.include <bsd.port.mk>