2002-05-14 11:20:59 +00:00
|
|
|
# ex:ts=8
|
|
|
|
# Ports collection makefile for: socat
|
|
|
|
# Date created: May 14, 2002
|
|
|
|
# Whom: ijliao
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= socat
|
2004-06-30 07:25:42 +00:00
|
|
|
PORTVERSION= 1.4.0.0
|
2004-07-19 23:33:07 +00:00
|
|
|
PORTREVISION= 1
|
2002-05-14 11:20:59 +00:00
|
|
|
CATEGORIES= net
|
2002-05-31 07:56:07 +00:00
|
|
|
MASTER_SITES= http://www.dest-unreach.org/socat/download/
|
2002-05-14 11:20:59 +00:00
|
|
|
|
2004-07-19 23:33:07 +00:00
|
|
|
MAINTAINER= freebsd-ports@rikrose.net
|
2003-06-09 10:57:27 +00:00
|
|
|
COMMENT= Multipurpose relay and more
|
2002-05-14 11:20:59 +00:00
|
|
|
|
2002-10-05 14:02:55 +00:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:R}
|
2003-06-09 10:57:27 +00:00
|
|
|
USE_BZIP2= yes
|
2002-05-31 07:56:07 +00:00
|
|
|
|
2003-01-03 17:42:08 +00:00
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
|
|
|
|
MAKE_ARGS= CCOPT="${CFLAGS}"
|
|
|
|
|
2004-06-30 07:25:42 +00:00
|
|
|
.if defined(WITHOUT_SSL)
|
|
|
|
CONFIGURE_ARGS+= --disable-openssl
|
|
|
|
.else
|
|
|
|
USE_OPENSSL= yes
|
|
|
|
.endif
|
|
|
|
|
2003-06-09 10:57:27 +00:00
|
|
|
MAN1= socat.1
|
2004-06-30 07:25:42 +00:00
|
|
|
PORTDOCS= EXAMPLES README SECURITY FAQ
|
|
|
|
PLIST_FILES= bin/filan bin/procan bin/socat
|
2003-06-09 10:57:27 +00:00
|
|
|
|
2004-07-19 23:33:07 +00:00
|
|
|
post-patch:
|
|
|
|
@${CP} ${FILESDIR}/xio-socks.c ${WRKSRC}/xio-socks.c
|
|
|
|
|
2003-06-09 10:57:27 +00:00
|
|
|
.if !defined(NOPORTDOCS)
|
2003-10-23 06:28:01 +00:00
|
|
|
post-install:
|
2003-06-09 10:57:27 +00:00
|
|
|
@${MKDIR} ${DOCSDIR}
|
2004-06-30 07:25:42 +00:00
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
2003-06-09 10:57:27 +00:00
|
|
|
.endif
|
2002-05-14 11:20:59 +00:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|