summaryrefslogtreecommitdiff
path: root/devel/st/Makefile
diff options
context:
space:
mode:
authorgson <gson@pkgsrc.org>2002-08-25 19:40:16 +0000
committergson <gson@pkgsrc.org>2002-08-25 19:40:16 +0000
commit4a9659909c8a4a20c04086ed7156d6821d05e891 (patch)
tree62e51afecfb7f384a4b7b042f5bf926218b9755a /devel/st/Makefile
parentefb93b17bd48d49105d00f52887445a53f7cd60b (diff)
downloadpkgsrc-4a9659909c8a4a20c04086ed7156d6821d05e891.tar.gz
Add st: non-preemptive thread library for Internet applications
The State Threads Library is a small application library which provides a foundation for writing fast and highly scalable Internet applications (such as web servers, proxy servers, mail transfer agents, and so on, really any network-data-driven application) on UNIX-like platforms. It combines the simplicity of the multithreaded programming paradigm, in which one thread supports each simultaneous connection, with the performance and scalability of an event-driven state machine architecture. In other words, this library offers a threading API for structuring an Internet application as a state machine.
Diffstat (limited to 'devel/st/Makefile')
-rw-r--r--devel/st/Makefile34
1 files changed, 34 insertions, 0 deletions
diff --git a/devel/st/Makefile b/devel/st/Makefile
new file mode 100644
index 00000000000..da39605c0b6
--- /dev/null
+++ b/devel/st/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2002/08/25 19:40:16 gson Exp $
+#
+
+DISTNAME= st-1.3
+CATEGORIES= devel
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=state-threads/}
+
+MAINTAINER= gson@netbsd.org
+HOMEPAGE= http://state-threads.sourceforge.net/
+COMMENT= Non-preemptive thread library for Internet applications
+
+ONLY_FOR_PLATFORM= NetBSD-*-i386 NetBSD-*-sparc
+
+USE_LIBTOOL= yes
+USE_GMAKE= yes
+ALL_TARGET= netbsd-debug
+
+HTMLDIR= ${PREFIX}/share/doc/html/st
+
+do-install:
+ ${LIBTOOL} --mode=install ${INSTALL_DATA} \
+ ${WRKSRC}/libst.la ${PREFIX}/lib
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+ ${WRKSRC}/examples/lookupdns ${PREFIX}/bin/st-lookupdns
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+ ${WRKSRC}/examples/proxy ${PREFIX}/bin/st-proxy
+ ${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
+ ${WRKSRC}/examples/server ${PREFIX}/bin/st-server
+ ${INSTALL_DATA_DIR} ${PREFIX}/include/st
+ ${INSTALL_DATA} ${WRKSRC}/public.h ${PREFIX}/include/st.h
+ ${INSTALL_DATA_DIR} ${HTMLDIR}
+ cd ${WRKSRC}/docs; ${INSTALL_DATA} *.html *.gif ${HTMLDIR}
+
+.include "../../mk/bsd.pkg.mk"