mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-13 03:03:15 +00:00
e3c65c7544
- OPTIONSify - Fix the packing list when NOPORTDOCS is defined - Polish the Makefile PR: ports/82387 [1] Submitted by: maintainer [1]
46 lines
910 B
Makefile
46 lines
910 B
Makefile
# ex:ts=8
|
|
# Ports collection makefile for: socat
|
|
# Date created: May 14, 2002
|
|
# Whom: ijliao
|
|
#
|
|
# $FreeBSD$
|
|
#
|
|
|
|
PORTNAME= socat
|
|
PORTVERSION= 1.4.2.0
|
|
CATEGORIES= net
|
|
MASTER_SITES= http://www.dest-unreach.org/socat/download/
|
|
|
|
MAINTAINER= freebsd-ports@rikrose.net
|
|
COMMENT= Multipurpose relay and more
|
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:R}
|
|
USE_BZIP2= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
|
|
MAN1= socat.1
|
|
.if !defined(NOPORTDOCS)
|
|
PORTDOCS= EXAMPLES README SECURITY FAQ
|
|
.endif
|
|
PLIST_FILES= bin/filan bin/procan bin/socat
|
|
|
|
OPTIONS= SSL "OpenSSL support" on
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
.if defined(WITH_SSL)
|
|
# we can't use USE_OPENSSL=yes after including bsd.port.pre.mk
|
|
.include "${PORTSDIR}/Mk/bsd.openssl.mk"
|
|
.else
|
|
CONFIGURE_ARGS+= --disable-openssl
|
|
.endif
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
post-install:
|
|
${MKDIR} ${DOCSDIR}
|
|
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
|
|
.endif
|
|
|
|
.include <bsd.port.post.mk>
|