aboutsummaryrefslogtreecommitdiffstats
path: root/www/neon29
diff options
context:
space:
mode:
authorlev <lev@FreeBSD.org>2009-10-24 19:48:37 +0800
committerlev <lev@FreeBSD.org>2009-10-24 19:48:37 +0800
commit58f0eccad0a1d4f4c63e03952194a124c700b5b4 (patch)
tree3bca6ff41afed5b59c21c8eb135dffe256cbb07e /www/neon29
parentf43cf7a06c55102d141d67d4b3b157012f08acab (diff)
downloadfreebsd-ports-gnome-58f0eccad0a1d4f4c63e03952194a124c700b5b4.tar.gz
freebsd-ports-gnome-58f0eccad0a1d4f4c63e03952194a124c700b5b4.tar.zst
freebsd-ports-gnome-58f0eccad0a1d4f4c63e03952194a124c700b5b4.zip
Update to 0.28.6
Diffstat (limited to 'www/neon29')
-rw-r--r--www/neon29/Makefile40
-rw-r--r--www/neon29/distinfo6
2 files changed, 29 insertions, 17 deletions
diff --git a/www/neon29/Makefile b/www/neon29/Makefile
index 1cfef3f5e149..ba3d2e5dad0b 100644
--- a/www/neon29/Makefile
+++ b/www/neon29/Makefile
@@ -6,34 +6,40 @@
#
PORTNAME= neon28
-PORTVERSION= 0.28.4
+PORTVERSION= 0.28.6
CATEGORIES= www
-MASTER_SITES= http://www.webdav.org/neon/ \
- http://keyserver.kjsl.com/~jharris/distfiles/
+MASTER_SITES= http://www.webdav.org/neon/
DISTNAME= neon-${PORTVERSION}
MAINTAINER= lev@FreeBSD.org
COMMENT= An HTTP and WebDAV client library for Unix systems
-LIB_DEPENDS= expat.6:${PORTSDIR}/textproc/expat2
-
-CONFLICTS= neon26-[0-9]*
+CONFLICTS= neon2[6|9]-[0-9]*
USE_AUTOTOOLS= libtool:22
USE_LDCONFIG= yes
-.ifndef WITHOUT_OPENSSL
-USE_OPENSSL= yes
-.endif
-
USE_GNOME= gnomehack gnometarget
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --with-ssl \
- --enable-xml \
- --enable-shared \
- --with-expat \
+CONFIGURE_ARGS= --enable-shared \
--with-libs=${LOCALBASE}:${PREFIX}
+# expat is default unless WITH_XML is choosen
+.if !defined(WITHOUT_EXPAT) && !defined(WITH_XML)
+CONFIGURE_ARGS+= --with-expat
+LIB_DEPENDS+= expat.6:${PORTSDIR}/textproc/expat2
+.endif
+
+.if defined(WITH_XML)
+CONFIGURE_ARGS+=--with-libxml2
+LIB_DEPENDS+= xml2.5:${PORTSDIR}/textproc/libxml2
+.endif
+
+.ifndef WITHOUT_OPENSSL
+USE_OPENSSL= yes
+CONFIGURE_ARGS+=--with-ssl
+.endif
+
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
PLIST_SUB+= NLS="@comment "
@@ -119,6 +125,12 @@ DOCSDIR= ${PREFIX}/share/doc/neon
.include <bsd.port.pre.mk>
+pre-everything::
+.if defined(WITH_EXPAT) && defined(WITH_XML)
+ @${ECHO_CMD} "please choose between expat and libxml2 not both"
+ @${FALSE}
+.endif
+
post-install:
${INSTALL_MAN} ${WRKSRC}/doc/man/*.1 ${MANPREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/doc/man/*.3 ${MANPREFIX}/man/man3
diff --git a/www/neon29/distinfo b/www/neon29/distinfo
index 9fc377bacec7..e3e8c8652e1c 100644
--- a/www/neon29/distinfo
+++ b/www/neon29/distinfo
@@ -1,3 +1,3 @@
-MD5 (neon-0.28.4.tar.gz) = 6c3b94362af743d046e198e9fcbe4a85
-SHA256 (neon-0.28.4.tar.gz) = be151943df34e5884b2c7f4b5f4ebe83b8e74e665d90474aca06006e3b9530bd
-SIZE (neon-0.28.4.tar.gz) = 775886
+MD5 (neon-0.28.6.tar.gz) = 252578ed555552b71d15909641484951
+SHA256 (neon-0.28.6.tar.gz) = 06ee8b1aa37a14a956a1158bf6b5a8c3388976d61c1dc3773a3ffe18ac8ecc0e
+SIZE (neon-0.28.6.tar.gz) = 789193