aboutsummaryrefslogtreecommitdiff
path: root/net/socat
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2013-01-15 13:40:28 +0000
commitc4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8 (patch)
tree98f96307b5a32cecd5d4e2104c22673c560b9789 /net/socat
parent56b2cbf1c5abcce2be96f0aa252e4df4d8d99dd2 (diff)
downloadports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.tar.gz
ports-c4c14fd1564a7a3bd0ae1cd2fb6050b662c936f8.zip
Notes
Diffstat (limited to 'net/socat')
-rw-r--r--net/socat/Makefile16
1 files changed, 7 insertions, 9 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile
index cdb249b4ec44..92952481b753 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -1,9 +1,5 @@
-# Ports collection makefile for: socat
-# Date created: May 14, 2002
-# Whom: ijliao
-#
+# Created by: ijliao
# $FreeBSD$
-#
PORTNAME= socat
PORTVERSION= 1.7.2.1
@@ -32,21 +28,23 @@ PORTDOCS= EXAMPLES README SECURITY FAQ
CFLAGS+= -Wno-unused-comparison
.endif
+OPTIONS_DEFINE= DOCS
+
+.include <bsd.port.options.mk>
+
do-install:
.for f in filan procan socat
${INSTALL_PROGRAM} ${WRKSRC}/${f} ${PREFIX}/bin
.endfor
${INSTALL_SCRIPT} ${FILESDIR}/socat_wrapper ${PREFIX}/sbin
${INSTALL_MAN} ${WRKSRC}/doc/${MAN1} ${MAN1PREFIX}/man/man1
-.if !defined(NOPORTDOCS)
+.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.pre.mk>
-
.if ${ARCH} == "arm"
BROKEN= Does not configure on arm
.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>