PORTNAME= socat DISTVERSION= 1.8.0.0 PORTREVISION= 3 CATEGORIES= net MASTER_SITES= http://www.dest-unreach.org/socat/download/ \ LOCAL/ehaupt MAINTAINER= ehaupt@FreeBSD.org COMMENT= Multipurpose relay and more WWW= http://www.dest-unreach.org/socat/ LICENSE= GPLv2 LICENSE_FILE= ${WRKSRC}/COPYING USES= compiler cpe ssl tar:bzip2 CPE_VENDOR= dest-unreach USE_RC_SUBR= socat GNU_CONFIGURE= yes PORTSCOUT= skipv:2.0.0-b2 PLIST_FILES= bin/filan \ bin/procan \ bin/socat \ "@sample etc/socat-instances.conf.sample" \ share/man/man1/socat.1.gz PORTDOCS= EXAMPLES FAQ README SECURITY OPTIONS_DEFINE= DOCS IPV6DEFAULT READLINE IPV6DEFAULT_DESC= Use IPv6 by default IPV6DEFAULT_CONFIGURE_OFF= --enable-default-ipv=4 IPV6DEFAULT_CONFIGURE_ENABLE= default-ipv=6 READLINE_USES= readline READLINE_CONFIGURE_ENABLE= readline .include .if ${SSL_DEFAULT} != base USES+= localbase CONFIGURE_ARGS+= --enable-openssl-base=${LOCALBASE} .endif do-install: .for f in filan procan socat ${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin .endfor ${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${PREFIX}/share/man/man1 @${MKDIR} ${STAGEDIR}${DOCSDIR} cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FILESDIR}/socat-instances.conf.sample ${STAGEDIR}${PREFIX}/etc .include