1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/net/csocks/Makefile
2018-08-18 12:10:12 +00:00

36 lines
1.1 KiB
Makefile

# Created by: Raffaele De Lorenzo - raffaele.delorenzo@libero.it
# $FreeBSD$
PORTNAME= csocks
PORTVERSION= 1.7
PORTREVISION= 1
CATEGORIES= net security
MASTER_SITES= http://csocks.altervista.org/download/
DISTNAME= ${PORTNAME}_${PORTVERSION}
MAINTAINER= raffaele.delorenzo@libero.it
COMMENT= SOCKS Client v4/v5 RFC Compliant with many features
LICENSE= BSD2CLAUSE
LICENSE_FILE= ${WRKSRC}/../LICENSE
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>