mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-20 04:02:27 +00:00
3b1875b273
* databases/freetds: Fixed 2017-02-14 * databases/postgresql10-server: Fixed 2016-09-15 [1] * ftp/lftp: Fixed in 4.8.0 * ftp/proftpd: Fixed in 1.3.5c * ftp/wget: Fixed in 1.19.3 [2] * lang/erlang-runtime20: Fixed in 20.0 * net/socat: Fixed in 1.7.3.2 * security/libssh2: Fixed in 1.8.0 [3] * security/p5-Crypt-OpenSSL-X509: Fixed in 1.8.8 * sysutils/bacula9-server: Fixed in 9.0.6 * www/nginx: Fixed in 1.9.14 * Bulk build OK 10.3/11.1 both i386 and amd64: - multimedia/librtmp - net/libvncserver - www/lynx PR: 225875 [1], 225872 [2], 225873 [3]
53 lines
1.1 KiB
Makefile
53 lines
1.1 KiB
Makefile
# Created by: ijliao
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= socat
|
|
PORTVERSION= 1.7.3.2
|
|
PORTREVISION= 2
|
|
CATEGORIES= net ipv6
|
|
MASTER_SITES= http://www.dest-unreach.org/socat/download/ \
|
|
LOCAL/ehaupt
|
|
|
|
MAINTAINER= ehaupt@FreeBSD.org
|
|
COMMENT= Multipurpose relay and more
|
|
|
|
LICENSE= GPLv2
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= compiler cpe ssl tar:bzip2
|
|
GNU_CONFIGURE= yes
|
|
USE_RC_SUBR= socat
|
|
|
|
CPE_VENDOR= dest-unreach
|
|
|
|
PORTSCOUT= skipv:2.0.0-b2
|
|
|
|
PLIST_FILES= bin/filan bin/procan bin/socat man/man1/socat.1.gz
|
|
PORTDOCS= EXAMPLES README SECURITY FAQ
|
|
|
|
OPTIONS_DEFINE= DOCS READLINE
|
|
|
|
READLINE_CONFIGURE_ENABLE= readline
|
|
READLINE_USES= readline
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if ${SSL_DEFAULT} != base
|
|
CFLAGS+= -I${LOCALBASE}/include
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
|
.endif
|
|
|
|
.if ${COMPILER_TYPE} == "clang"
|
|
CFLAGS+= -Wno-unused-comparison
|
|
.endif
|
|
|
|
do-install:
|
|
.for f in filan procan socat
|
|
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${STAGEDIR}${PREFIX}/bin
|
|
.endfor
|
|
${INSTALL_MAN} ${WRKSRC}/doc/${PORTNAME}.1 ${STAGEDIR}${MAN1PREFIX}/man/man1
|
|
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${STAGEDIR}${DOCSDIR}
|
|
|
|
.include <bsd.port.post.mk>
|