aboutsummaryrefslogblamecommitdiff
path: root/net/csocks/Makefile
blob: fcab438e5d4002930f59f2c3f347577392dd2b3a (plain) (tree)
1
2
3
4
5
6
7
8
9
                                                                


                      
                   
                 
                            

                                                        




                                                                   

                                                                            
 
                   
 
                             
 


                                                                       
           





                                                                                         
 
                      
# Created by: Raffaele De Lorenzo - raffaele.delorenzo@libero.it
# $FreeBSD$

PORTNAME=	csocks
PORTVERSION=	1.5
PORTREVISION=	1
CATEGORIES=	net security
MASTER_SITES=	http://csocks.altervista.org/download/ \
		http://csocks.virtuale.org/download/
DISTNAME=	${PORTNAME}_${PORTVERSION}

MAINTAINER=	raffaele.delorenzo@libero.it
COMMENT=	SOCKS Client v4/v5 RFC Compliant with many features

PLIST_FILES=	etc/csocks.conf.sample lib/libcsocks.so lib/libcsocks.so.1 \
		bin/csocks man/man1/csocks.1.gz man/man5/csocks.conf.5.gz

USE_LDCONFIG=	yes

WRKSRC=		${WRKDIR}/src

post-patch:
	${REINPLACE_CMD} 's|libc.so|/lib/libc.so.7|' ${WRKSRC}/csocks.h

do-install:
	${INSTALL_SCRIPT} ${WRKDIR}/freebsd/csocks ${STAGEDIR}${PREFIX}/bin
	${INSTALL_LIB} ${WRKDIR}/src/libcsocks.so.1 ${STAGEDIR}${PREFIX}/lib
	${LN} -s libcsocks.so.1 ${STAGEDIR}${PREFIX}/lib/libcsocks.so
	${INSTALL_DATA} ${WRKDIR}/csocks.conf ${STAGEDIR}${PREFIX}/etc/csocks.conf.sample
	${INSTALL_MAN} ${WRKDIR}/man/csocks.1.gz ${STAGEDIR}${MANPREFIX}/man/man1
	${INSTALL_MAN} ${WRKDIR}/man/csocks.conf.5.gz ${STAGEDIR}${MANPREFIX}/man/man5

.include <bsd.port.mk>