aboutsummaryrefslogtreecommitdiffstats
path: root/www/neon/Makefile
diff options
context:
space:
mode:
authorjeh <jeh@FreeBSD.org>2000-10-26 09:04:55 +0800
committerjeh <jeh@FreeBSD.org>2000-10-26 09:04:55 +0800
commita679d8168bbbfa6eeb5f436f3f6b375d62a2b9cd (patch)
treedd9c1425b112b33ca9bc8aae0f489cb41c53986a /www/neon/Makefile
parentd88d19febfd864bb6ae6afe4fb2562f8484e2881 (diff)
downloadfreebsd-ports-gnome-a679d8168bbbfa6eeb5f436f3f6b375d62a2b9cd.tar.gz
freebsd-ports-gnome-a679d8168bbbfa6eeb5f436f3f6b375d62a2b9cd.tar.zst
freebsd-ports-gnome-a679d8168bbbfa6eeb5f436f3f6b375d62a2b9cd.zip
Add new port: www/neon
This is an HTTP and WebDAV client library for Unix systems, with a C interface PR: 21958 Submitted by: Mikhail Teterin <mi@aldan.algebra.com>
Diffstat (limited to 'www/neon/Makefile')
-rw-r--r--www/neon/Makefile56
1 files changed, 56 insertions, 0 deletions
diff --git a/www/neon/Makefile b/www/neon/Makefile
new file mode 100644
index 000000000000..053a529e7686
--- /dev/null
+++ b/www/neon/Makefile
@@ -0,0 +1,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>