summaryrefslogtreecommitdiff
path: root/lang/modula-3-socks/scripts/configure
diff options
context:
space:
mode:
authorJohn Polstra <jdp@FreeBSD.org>1996-11-01 02:37:35 +0000
committerJohn Polstra <jdp@FreeBSD.org>1996-11-01 02:37:35 +0000
commit61ce7c4a2259f61bcaf6921e0cd4578dd8b7a638 (patch)
tree04a75a3adb415f5535d73ef864a7fdd72f1272ac /lang/modula-3-socks/scripts/configure
parentAdd dejagnu (diff)
This package implements SOCKS support for Modula-3 applications. It
will be used to support SOCKS operation in the soon-to-be-released next version of CVSup. A tip of the hat to: Darryl Okahata, who developed the patches necessary to make the SOCKS library work with Modula-3's multithreaded I/O system.
Notes
Notes: svn path=/head/; revision=4225
Diffstat (limited to '')
-rw-r--r--lang/modula-3-socks/scripts/configure13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/modula-3-socks/scripts/configure b/lang/modula-3-socks/scripts/configure
new file mode 100644
index 000000000000..0016fb236bb0
--- /dev/null
+++ b/lang/modula-3-socks/scripts/configure
@@ -0,0 +1,13 @@
+#! /bin/sh
+
+files="SOCKS-SOURCE/h/socksdef.h \
+ m3socks/m3socks.sh \
+ m3socks/m3socks.1 \
+ m3socks/m3socks.conf.5"
+
+cd ${WRKSRC}
+for i in ${files}; do
+ test -f $i.bak || cp $i $i.bak
+ chmod +w $i
+ sed "s|/usr/local/|${PREFIX}/|g" $i.bak > $i && rm -f $i.bak
+done