2003-01-03 15:46:04 -05:00
|
|
|
# $OpenBSD: Makefile,v 1.9 2003/01/03 20:46:04 naddy Exp $
|
2002-03-13 18:38:05 -05:00
|
|
|
|
|
|
|
ONLY_FOR_ARCHS= alpha i386
|
2001-08-15 12:47:07 -04:00
|
|
|
|
|
|
|
COMMENT= "threaded library for writing Internet applications"
|
|
|
|
|
2003-01-03 15:46:04 -05:00
|
|
|
DISTNAME= st-1.4
|
2001-08-15 12:47:07 -04:00
|
|
|
PKGNAME= lib${DISTNAME}
|
|
|
|
CATEGORIES= net devel
|
2002-01-25 11:33:51 -05:00
|
|
|
HOMEPAGE= http://state-threads.sourceforge.net/
|
2001-08-15 12:47:07 -04:00
|
|
|
|
2002-05-10 20:31:22 -04:00
|
|
|
MAINTAINER= Patroklos Argyroudis <argp@ieee.org>
|
2001-08-15 12:47:07 -04:00
|
|
|
|
2002-01-25 11:33:51 -05:00
|
|
|
# MPL or GPL
|
2001-08-15 12:47:07 -04:00
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2002-05-15 13:42:24 -04:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=state-threads/}
|
2002-01-25 11:33:51 -05:00
|
|
|
|
2001-09-30 22:20:51 -04:00
|
|
|
MAKE_FLAGS= CC='${CC}' CFLAGS='${CFLAGS} -fPIC -DOPENBSD' \
|
|
|
|
LD='${CC}' LDFLAGS='-shared -fPIC'
|
2001-08-15 12:47:07 -04:00
|
|
|
|
|
|
|
USE_GMAKE= Yes
|
|
|
|
ALL_TARGET= openbsd-optimized
|
2002-01-25 15:09:28 -05:00
|
|
|
NO_REGRESS= Yes
|
2001-08-15 12:47:07 -04:00
|
|
|
|
|
|
|
do-install:
|
2003-01-03 15:46:04 -05:00
|
|
|
${INSTALL_PROGRAM} ${WRKSRC}/OPENBSD_${OPSYS_VER}_OPT/libst.so.1.4 \
|
2001-09-30 22:20:51 -04:00
|
|
|
${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/OPENBSD_${OPSYS_VER}_OPT/libst.a \
|
|
|
|
${PREFIX}/lib
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/OPENBSD_${OPSYS_VER}_OPT/st.h \
|
|
|
|
${PREFIX}/include
|
2001-08-15 12:47:07 -04:00
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libst
|
2003-01-03 15:46:04 -05:00
|
|
|
${INSTALL_DATA} ${WRKSRC}/docs/* ${PREFIX}/share/doc/libst
|
|
|
|
${INSTALL_DATA_DIR} ${PREFIX}/share/examples/libst
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/examples/* \
|
|
|
|
${PREFIX}/share/examples/libst
|
2001-08-15 12:47:07 -04:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|