diff --git a/devel/unproven-pthreads/Makefile b/devel/unproven-pthreads/Makefile new file mode 100644 index 000000000000..13ccb8414f74 --- /dev/null +++ b/devel/unproven-pthreads/Makefile @@ -0,0 +1,35 @@ +# $NetBSD: Makefile,v 1.1.1.1 1999/11/12 20:27:16 explorer Exp $ +# + +DISTNAME= unproven-pthreads-0.5 +CATEGORIES= devel +MASTER_SITES= ftp://ftp.flame.org/pub/netbsd/ + +MAINTAINER= explorer@netbsd.org +#HOMEPAGE= http://www.mit.edu:8001/people/proven/pthreads.html + +#ONLY_FOR_PLATFORM= NetBSD-*-alpha NetBSD-*-arm32 NetBSD-*-i386 \ +# NetBSD-*-sparc NetBSD-*-m68k +ONLY_FOR_PLATFORM= NetBSD-*-i386 + +HAS_CONFIGURE= yes +MAKE_ENV+= NOLINT=1 NOPROFILE=1 OBJECT_FMT=${OBJECT_FMT} +CONFIGURE_ARGS+= --prefix=${PREFIX}/pthreads + +post-configure: + @echo "#define HAVE_SYSCALL_SIGACTION 1" >> ${WRKSRC}/config.h + @echo "#define HAVE_SYSCALL_SIGPAUSE 1" >> ${WRKSRC}/config.h + @echo "#define HAVE_SYSCALL_SIGPROCMASK 1" >> ${WRKSRC}/config.h + @echo "#define HAVE_SYSCALL_SIGSUSPEND 1" >> ${WRKSRC}/config.h + +pre-install: + ${MKDIR} ${PREFIX}/pthreads + +post-install: + @${RM} -f ${PREFIX}/pthreads/lib/libpthread_pic.a + @find ${PREFIX}/pthreads/include -name '*.orig'|xargs rm + @find ${PREFIX}/pthreads/include -type f -print|xargs chmod 644 + @find ${PREFIX}/pthreads/include -type d -print|xargs chmod 755 + @${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/pthreads/include + +.include "../../mk/bsd.pkg.mk" diff --git a/devel/unproven-pthreads/files/md5 b/devel/unproven-pthreads/files/md5 new file mode 100644 index 000000000000..b358994cead9 --- /dev/null +++ b/devel/unproven-pthreads/files/md5 @@ -0,0 +1,3 @@ +$NetBSD: md5,v 1.1.1.1 1999/11/12 20:27:17 explorer Exp $ + +MD5 (unproven-pthreads-0.5.tar.gz) = 4077f8e30af6c232cd7bb5ad80abcfa3 diff --git a/devel/unproven-pthreads/pkg/COMMENT b/devel/unproven-pthreads/pkg/COMMENT new file mode 100644 index 000000000000..e3bc82d4ad62 --- /dev/null +++ b/devel/unproven-pthreads/pkg/COMMENT @@ -0,0 +1 @@ +Chris Provenzano's (MIT) POSIX threads library diff --git a/devel/unproven-pthreads/pkg/DESCR b/devel/unproven-pthreads/pkg/DESCR new file mode 100644 index 000000000000..1730b6701410 --- /dev/null +++ b/devel/unproven-pthreads/pkg/DESCR @@ -0,0 +1,6 @@ +This is Chris Provenzano's MIT Pthreads library. + +Pthreads stands for POSIX threads and is based on the POSIX 1003.1c 1995 +thread standard. This standard passed international Standards Organization +(ISO) Committee Document (CD) balloting in February 1995 and got the +IEEE Standards Board approval in June 1995. diff --git a/devel/unproven-pthreads/pkg/PLIST b/devel/unproven-pthreads/pkg/PLIST new file mode 100644 index 000000000000..ef736f9b6333 --- /dev/null +++ b/devel/unproven-pthreads/pkg/PLIST @@ -0,0 +1,36 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 1999/11/12 20:27:17 explorer Exp $ +pthreads/bin/pgcc +pthreads/bin/pg++ +pthreads/lib/libpthread.a +pthreads/lib/libpthread.so.1.60 +pthreads/include/Makefile.inc +pthreads/include/netdb.h +pthreads/include/pthread.h +pthreads/include/resolv.h +pthreads/include/sched.h +pthreads/include/arpa/nameser.h +pthreads/include/pthread/cleanup.h +pthreads/include/pthread/cond.h +pthreads/include/pthread/debug_out.h +pthreads/include/pthread/fd.h +pthreads/include/pthread/fd_pipe.h +pthreads/include/pthread/kernel.h +pthreads/include/pthread/kthread.h +pthreads/include/pthread/mutex.h +pthreads/include/pthread/prio_queue.h +pthreads/include/pthread/pthread_attr.h +pthreads/include/pthread/pthread_once.h +pthreads/include/pthread/queue.h +pthreads/include/pthread/sleep.h +pthreads/include/pthread/specific.h +pthreads/include/pthread/state.def +pthreads/include/pthread/unistd.h +pthreads/include/pthread/util.h +pthreads/include/pthread/version.h +pthreads/include/pthread/machdep.h +@dirrm pthreads/lib +@dirrm pthreads/bin +@dirrm pthreads/include/arpa +@dirrm pthreads/include/pthread +@dirrm pthreads/include +@dirrm pthreads