aboutsummaryrefslogtreecommitdiff
path: root/www/lynx
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2007-12-13 08:38:21 +0000
committerRong-En Fan <rafan@FreeBSD.org>2007-12-13 08:38:21 +0000
commit641aa14c2df38f1266898a00458d511506560107 (patch)
tree2197355938b838ab9004765e67317944f50962aa /www/lynx
parent6d1aa816e1617330514dc3e00e131683a72714f4 (diff)
downloadports-641aa14c2df38f1266898a00458d511506560107.tar.gz
ports-641aa14c2df38f1266898a00458d511506560107.zip
Notes
Diffstat (limited to 'www/lynx')
-rw-r--r--www/lynx/Makefile10
-rw-r--r--www/lynx/files/pkg-message.in13
2 files changed, 18 insertions, 5 deletions
diff --git a/www/lynx/Makefile b/www/lynx/Makefile
index 674a1d7c1322..fa1642ee02d6 100644
--- a/www/lynx/Makefile
+++ b/www/lynx/Makefile
@@ -7,7 +7,7 @@
PORTNAME= lynx
PORTVERSION= 2.8.6.5
-PORTREVISION= 1
+PORTREVISION= 2
PORTEPOCH= 1
CATEGORIES= www ipv6
MASTER_SITES= http://lynx.isc.org/current/ \
@@ -24,8 +24,8 @@ USE_OPENSSL= yes
WRKSRC= ${WRKDIR}/${PORTNAME}2-8-6
GNU_CONFIGURE= yes
CONFIGURE_ARGS+=--with-screen=ncurses --with-zlib --libdir="${L_LIB}" \
- --enable-nsl-fork --enable-persistent-cookies --with-ssl \
- --with-curses-dir=/usr
+ --enable-nsl-fork --enable-persistent-cookies \
+ --with-ssl="${OPENSSLBASE}"
.if defined(WITHOUT_NLS)
CONFIGURE_ARGS+=--disable-nls
@@ -55,10 +55,10 @@ MAN1= lynx.1
L_LIB= ${PREFIX}/etc
L_HELP= ${PREFIX}/share/lynx_help
+SUB_FILES= pkg-message
+
post-patch:
@${RM} -f ${WRKSRC}/CHANGES.orig
- @${REINPLACE_CMD} -e 's|-lssl -lcrypto|-L${OPENSSLLIB} &|g' \
- ${WRKSRC}/configure
post-install:
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${DOCSDIR}
diff --git a/www/lynx/files/pkg-message.in b/www/lynx/files/pkg-message.in
new file mode 100644
index 000000000000..dc916cfe4dd0
--- /dev/null
+++ b/www/lynx/files/pkg-message.in
@@ -0,0 +1,13 @@
+To enable certificate handling for SSL connnections, set
+SSL_CERT_DIR and SSL_CERT_FILE in your environment to the
+proper values (depending upon which SSL library
+%%PREFIX%%/bin/lynx uses), as described in:
+
+%%DOCSDIR%%/docs/README.sslcerts
+
+and:
+
+%%DOCSDIR%%/docs/README.rootcerts.
+
+You may also need to generate keys and certificates as
+described in the latter document and your SSL documentation.