diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2001-03-17 06:48:26 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2001-03-17 06:48:26 +0000 |
commit | ba47688af80ea7411b7448ada0ffd924c970e63d (patch) | |
tree | 9eb6f38487bf1a78d20330e964a5ab0b0409c87f /devel/st/Makefile | |
parent | - Update checksum (diff) |
- new distfiles at master site.
The State Threads 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) 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.
The State Threads library is a derivative of the Netscape Portable
Runtime library (NSPR).
WWW: http://oss.sgi.com/projects/state-threads/
PR: 25189
Submitted by: tobez@tobez.org (Anton Berezin)
Notes
Notes:
svn path=/head/; revision=39951
Diffstat (limited to 'devel/st/Makefile')
-rw-r--r-- | devel/st/Makefile | 45 |
1 files changed, 45 insertions, 0 deletions
diff --git a/devel/st/Makefile b/devel/st/Makefile new file mode 100644 index 000000000000..0312e57ec595 --- /dev/null +++ b/devel/st/Makefile @@ -0,0 +1,45 @@ +# New ports collection makefile for: st +# Date created: Sun Feb 18 2001 +# Whom: tobez@tobez.org +# +# $FreeBSD$ +# + +PORTNAME= st +PORTVERSION= 1.1 +CATEGORIES= devel +MASTER_SITES= http://oss.sgi.com/projects/state-threads/download/ \ + ftp://oss.sgi.com/www/projects/state-threads/download/ \ + http://www.tobez.org/download/port-mirrors/devel/st/ + +MAINTAINER= tobez@tobez.org + +INSTALLS_SHLIB= yes + +.include <bsd.port.pre.mk> + +pre-patch: + @${RM} -f ${WRKSRC}/Makefile ${WRKSRC}/examples/Makefile + @${CP} ${FILESDIR}/Makefile.main ${WRKSRC}/Makefile + @${CP} ${FILESDIR}/Makefile.examples ${WRKSRC}/examples/Makefile + +post-install: + @${MKDIR} ${PREFIX}/include + @${INSTALL_DATA} ${WRKSRC}/public.h ${PREFIX}/include/st.h + @${MKDIR} ${PREFIX}/share/examples/st + @${INSTALL_DATA} ${WRKSRC}/examples/Makefile ${PREFIX}/share/examples/st + @${INSTALL_DATA} ${WRKSRC}/examples/README ${PREFIX}/share/examples/st + @${INSTALL_DATA} ${WRKSRC}/examples/error.c ${PREFIX}/share/examples/st + @${INSTALL_DATA} ${WRKSRC}/examples/lookupdns.c ${PREFIX}/share/examples/st + @${INSTALL_DATA} ${WRKSRC}/examples/proxy.c ${PREFIX}/share/examples/st + @${INSTALL_DATA} ${WRKSRC}/examples/res.c ${PREFIX}/share/examples/st + @${INSTALL_DATA} ${WRKSRC}/examples/server.c ${PREFIX}/share/examples/st +.if !defined(NOPORTDOCS) + @${MKDIR} ${PREFIX}/share/doc/st + @${INSTALL_DATA} ${WRKSRC}/docs/fig.gif ${PREFIX}/share/doc/st + @${INSTALL_DATA} ${WRKSRC}/docs/notes.html ${PREFIX}/share/doc/st + @${INSTALL_DATA} ${WRKSRC}/docs/reference.html ${PREFIX}/share/doc/st + @${INSTALL_DATA} ${WRKSRC}/docs/st.html ${PREFIX}/share/doc/st +.endif + +.include <bsd.port.post.mk> |