summaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
authorjylefort <jylefort@FreeBSD.org>2005-06-22 10:11:05 +0000
committerjylefort <jylefort@FreeBSD.org>2005-06-22 10:11:05 +0000
commite2c7259cdca4ea6a3ef227fa8e67e420a94ca484 (patch)
tree2ee729a1b5e34265650373bc2e97705c21bf71da /net
parent3920c7fed10263f37d6efd745f3abb5e03666dff (diff)
downloadFreeBSD-ports-e2c7259cdca4ea6a3ef227fa8e67e420a94ca484.zip
FreeBSD-ports-e2c7259cdca4ea6a3ef227fa8e67e420a94ca484.tar.gz
- Update to 1.4.2.0 [1]
- OPTIONSify - Fix the packing list when NOPORTDOCS is defined - Polish the Makefile PR: ports/82387 [1] Submitted by: maintainer [1]
Diffstat (limited to 'net')
-rw-r--r--net/socat/Makefile27
-rw-r--r--net/socat/distinfo4
2 files changed, 18 insertions, 13 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile
index b6a7236..afd1138 100644
--- a/net/socat/Makefile
+++ b/net/socat/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= socat
-PORTVERSION= 1.4.0.3
+PORTVERSION= 1.4.2.0
CATEGORIES= net
MASTER_SITES= http://www.dest-unreach.org/socat/download/
@@ -18,23 +18,28 @@ WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:R:R}
USE_BZIP2= yes
GNU_CONFIGURE= yes
-CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
-MAKE_ARGS= CCOPT="${CFLAGS}"
-
-.if defined(WITHOUT_SSL)
-CONFIGURE_ARGS+= --disable-openssl
-.else
-USE_OPENSSL= yes
-.endif
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}
+ ${MKDIR} ${DOCSDIR}
cd ${WRKSRC} && ${INSTALL_DATA} ${PORTDOCS} ${DOCSDIR}
.endif
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff --git a/net/socat/distinfo b/net/socat/distinfo
index 0c9a2df..2bcc10d 100644
--- a/net/socat/distinfo
+++ b/net/socat/distinfo
@@ -1,2 +1,2 @@
-MD5 (socat-1.4.0.3.tar.bz2) = 104f87f25305990bf46708f55e525973
-SIZE (socat-1.4.0.3.tar.bz2) = 255824
+MD5 (socat-1.4.2.0.tar.bz2) = 2ad4aab8eff97ad16e0d2d1be6d3f05b
+SIZE (socat-1.4.2.0.tar.bz2) = 266022
OpenPOWER on IntegriCloud