summaryrefslogtreecommitdiff
path: root/www/libwww/Makefile
diff options
context:
space:
mode:
authorfredb <fredb@pkgsrc.org>2000-08-06 01:11:38 +0000
committerfredb <fredb@pkgsrc.org>2000-08-06 01:11:38 +0000
commit4983a635517ff73d39eff5099aa78dadbccb8369 (patch)
tree7bf7536926245b5cc54571387430fea8a927eba0 /www/libwww/Makefile
parentda46e043080f0b5a1d5c06a36a92401561293608 (diff)
downloadpkgsrc-4983a635517ff73d39eff5099aa78dadbccb8369.tar.gz
Update to libwww-5.3.1. This is the first release since 5.2.8. Includes
many bug fixes -- too many to list, full release history online at <http://www.w3.org/Library/User/ReleaseNotes.html> -- and a few new features. The most significant is integrated libwww-SSL. Also SOCKS "punching through firewalls" support is present now (but untested by me). Not sure when that appeared, exactly.
Diffstat (limited to 'www/libwww/Makefile')
-rw-r--r--www/libwww/Makefile30
1 files changed, 23 insertions, 7 deletions
diff --git a/www/libwww/Makefile b/www/libwww/Makefile
index 479902be592..12a5abd8fb4 100644
--- a/www/libwww/Makefile
+++ b/www/libwww/Makefile
@@ -1,28 +1,44 @@
-# $NetBSD: Makefile,v 1.9 2000/06/21 02:58:23 jlam Exp $
+# $NetBSD: Makefile,v 1.10 2000/08/06 01:11:38 fredb Exp $
# FreeBSD Id: Makefile,v 1.10 1998/06/14 23:34:59 jseger Exp
#
DISTNAME= w3c-${PKGNAME}
-PKGNAME= libwww-5.2.8
+PKGNAME= libwww-5.3.1
CATEGORIES= www devel
MASTER_SITES= http://www.w3.org/Library/Distribution/
MAINTAINER= tv@netbsd.org
HOMEPAGE= http://www.w3.org/Library/
+BUILD_DEPENDS+= autoconf:../../devel/autoconf
+
+RESTRICTED= "Crypto, export-controlled"
+NO_BIN_ON_FTP= ${RESTRICTED}
+
USE_GMAKE= # defined
USE_LIBTOOL= # defined
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
GNU_CONFIGURE= # defined
CONFIGURE_ARGS= --with-zlib --with-regex --without-x
+CONFIGURE_ARGS+= --with-ssl
DOCDIR= ${PREFIX}/share/doc/libwww
-post-install:
- @${MKDIR} ${DOCDIR}/User
- ${CP} -R ${WRKSRC}/Library/User/* ${DOCDIR}/User
- @${MKDIR} ${DOCDIR}/src
- ${CP} ${WRKSRC}/Library/src/*.html ${DOCDIR}/src
+pre-configure:
+ cd ${WRKSRC}; autoconf
+
+.include "../../mk/bsd.prefs.mk"
+
+# Include SOCKS firewall support
+.if defined(USE_SOCKS) && (${USE_SOCKS} == 4 || ${USE_SOCKS} == 5)
+.if ${USE_SOCKS} == 4
+CONFIGURE_ARGS+= --with-socks --with-socks4 --without-socks5
+DEPENDS+= socks4-2.2:../../net/socks4
+.else
+CONFIGURE_ARGS+= --with-socks --without-socks4 --with-socks5
+DEPENDS+= socks5-1.0.2:../../net/socks5
+.endif
+.endif
.include "../../mk/bsd.pkg.mk"