3054b6f9b2
-- State Threads is an application library which provides a foundation for writing fast and highly scalable Internet Applications 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. WWW: http://oss.sgi.com/projects/state-threads/ Submitted by Patroklos Argyroudis <argp@bsd.gr>
36 lines
1.1 KiB
Makefile
36 lines
1.1 KiB
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2001/08/15 16:47:07 lebel Exp $
|
|
|
|
COMMENT= "threaded library for writing Internet applications"
|
|
|
|
DISTNAME= st-1.2
|
|
PKGNAME= lib${DISTNAME}
|
|
CATEGORIES= net devel
|
|
NEED_VERSION= 1.402
|
|
HOMEPAGE= http://oss.sgi.com/projects/state-threads/
|
|
MASTER_SITES= ${HOMEPAGE}download/
|
|
|
|
MAINTAINER= Patroklos Argyroudis <argp@bsd.gr>
|
|
|
|
# MPL or GNU GPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MAKE_FLAGS= CC='${CC}' LD='${CC}' LDFLAGS='-shared -fPIC'
|
|
|
|
USE_GMAKE= Yes
|
|
ALL_TARGET= openbsd-optimized
|
|
|
|
do-install:
|
|
${INSTALL_PROGRAM} ${WRKSRC}/OPENBSD_2.9_OPT/libst.so ${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/OPENBSD_2.9_OPT/libst.a ${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/OPENBSD_2.9_OPT/st.h ${PREFIX}/include
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libst
|
|
${INSTALL_DATA} ${WRKSRC}/docs/fig.gif ${PREFIX}/share/doc/libst
|
|
${INSTALL_DATA} ${WRKSRC}/docs/notes.html ${PREFIX}/share/doc/libst
|
|
${INSTALL_DATA} ${WRKSRC}/docs/reference.html ${PREFIX}/share/doc/libst
|
|
${INSTALL_DATA} ${WRKSRC}/docs/st.html ${PREFIX}/share/doc/libst
|
|
|
|
.include <bsd.port.mk>
|