summaryrefslogblamecommitdiff
path: root/www/lynx-ssl/Makefile
blob: c4bb256d3378a3dd50edb541f0d5472561c446e5 (plain) (tree)
1
2
3
4
5
6
7
8
9
                                            


                                                      
           

 
                        
                       
                   

                                           
 
                   
                   


                          
                                             
                                     



                          
                   
                                       


                                                                            
                            

                      
                                   

             

                                                                     
                                                               
 
                           
# New ports collection makefile for:    lynx
# Date created:         15 Dec 1994
# Whom:                 Stefan `Sec` Zehl <sec@42.org>
#
# $FreeBSD$
#

PORTNAME=	lynx-ssl
PORTVERSION= 	2.8.3.1
CATEGORIES=	www
MASTER_SITES=   ftp://lynx.isc.org/current/
DISTNAME=	lynx2.8.3rel.1

USE_OPENSSL=	YES
USE_BZIP2=	YES

.include <bsd.port.pre.mk>

PATCH_SITES=	http://www.moxienet.com/lynx/
PATCHFILES=	lynx-283-ssl.patch.gz
PATCH_DIST_STRIP= -p1

MAINTAINER=	sec@42.org

GNU_CONFIGURE=  YES
CFLAGS+=	-I${OPENSSLINC}/openssl
CONFIGURE_ARGS= --with-screen=ncurses --with-zlib --libdir="${PREFIX}/etc" \
		--enable-nsl-fork
MAKEFILE=       makefile
INSTALL_TARGET= install-full
MAN1=		lynx.1

WRKSRC=		${WRKDIR}/lynx2-8-3

post-install:
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/lynx_help
	${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/share/doc/lynx
	${CHOWN} ${SHAREOWN}:${SHAREGRP} ${PREFIX}/etc/lynx.cfg

.include <bsd.port.post.mk>