summaryrefslogtreecommitdiff
path: root/net/socat/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/socat/Makefile')
-rw-r--r--net/socat/Makefile27
1 files changed, 27 insertions, 0 deletions
diff --git a/net/socat/Makefile b/net/socat/Makefile
new file mode 100644
index 00000000000..5338293ee1b
--- /dev/null
+++ b/net/socat/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/02/14 22:43:38 minskim Exp $
+
+DISTNAME= socat-1.3.2.2
+CATEGORIES= net
+MASTER_SITES= http://www.dest-unreach.org/socat/download/
+
+MAINTAINER= adrianp@stindustries.net
+HOMEPAGE= http://www.dest-unreach.org/socat/
+COMMENT= "netcat++" (extended design, new implementation)
+
+WRKSRC= ${WRKDIR}/socat-1.3
+GNU_CONFIGURE= YES
+USE_BUILDLINK3= YES
+USE_GNU_READLINE= YES
+
+CONFIGURE_ARGS+= --disable-libwrap
+CONFIGURE_ARGS+= --with-readline=${BUILDLINK_PREFIX.readline}
+
+SUBST_CLASSES+= paths
+SUBST_MESSAGE.paths= "Fixing hardcoded paths."
+SUBST_STAGE.paths= post-patch
+SUBST_FILES.paths= socat.1
+SUBST_SED.paths= -e 's,/usr/,${PREFIX}/,g'
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../devel/readline/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"