1999-05-03 03:08:37 +00:00
|
|
|
# New ports collection makefile for: lynx
|
|
|
|
# Version required: 2.8
|
|
|
|
# Date created: 15 Dec 1994
|
|
|
|
# Whom: Stefan `Sec` Zehl <sec@42.org>
|
|
|
|
#
|
1999-08-31 02:43:35 +00:00
|
|
|
# $FreeBSD$
|
1999-05-03 03:08:37 +00:00
|
|
|
#
|
|
|
|
|
1999-06-10 08:17:54 +00:00
|
|
|
DISTNAME= lynx2.8.2rel.1
|
|
|
|
PKGNAME= lynx-ssl-2.8.2.1
|
1999-05-03 03:08:37 +00:00
|
|
|
CATEGORIES= www
|
|
|
|
MASTER_SITES= http://sol.slcc.edu/lynx/current/
|
|
|
|
|
|
|
|
.if defined(USA_RESIDENT) && ${USA_RESIDENT} == YES
|
|
|
|
PATCH_SITES= http://www.moxienet.com/lynx/
|
|
|
|
EXTRA_SSL_LIBS= "-lRSAglue -lrsaref"
|
|
|
|
.else
|
|
|
|
PATCH_SITES= ftp://ftp.musin.de/unix/
|
|
|
|
.endif
|
1999-06-10 08:17:54 +00:00
|
|
|
PATCHFILES= lynx-282-ssl.patch.gz
|
1999-05-03 03:08:37 +00:00
|
|
|
PATCH_DIST_STRIP= -p1
|
|
|
|
|
|
|
|
MAINTAINER= sec@42.org
|
|
|
|
|
|
|
|
BUILD_DEPENDS= openssl:${PORTSDIR}/security/openssl
|
1999-11-07 22:25:40 +00:00
|
|
|
LIB_DEPENDS= crypto.1:${PORTSDIR}/security/openssl \
|
|
|
|
ssl.1:${PORTSDIR}/security/openssl
|
1999-05-03 03:08:37 +00:00
|
|
|
|
|
|
|
RESTRICTED= "Contains cryptography"
|
|
|
|
|
|
|
|
GNU_CONFIGURE= YES
|
1999-06-03 18:41:58 +00:00
|
|
|
CFLAGS+= -I${PREFIX}/include/openssl
|
1999-05-03 03:08:37 +00:00
|
|
|
CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${PREFIX}/etc" \
|
|
|
|
--enable-nsl-fork
|
|
|
|
MAKEFILE= makefile
|
|
|
|
MAKE_ENV+= EXTRA_SSL_LIBS=${EXTRA_SSL_LIBS}
|
|
|
|
INSTALL_TARGET= install install-help
|
|
|
|
MAN1= lynx.1
|
|
|
|
|
1999-06-10 08:17:54 +00:00
|
|
|
WRKSRC= ${WRKDIR}/lynx2-8-2
|
1999-05-03 03:08:37 +00:00
|
|
|
|
|
|
|
post-install:
|
1999-08-22 19:01:07 +00:00
|
|
|
${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/lynx_help
|
|
|
|
${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx.cfg
|
1999-05-03 03:08:37 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|