pkgsrc/devel/ptl2/Makefile
msaitoh 2cf4f09e3a Update to PTL-2.1.9
Changes:

* fixed: pthread_kill() does not restore the critical level when given
  signal number is zero.

* New API: POSIX readdir_r.

* fixed: interruption by a signal whose handler is SIG_SIGWAIT_NP may
  cause infinite loop.

* fixed: PTL's internal SIGSEGV handler gets strange arguments on a
  system that has POSIX-based signal facility.
2002-12-12 07:07:05 +00:00

39 lines
1.3 KiB
Makefile

# $NetBSD: Makefile,v 1.41 2002/12/12 07:07:05 msaitoh Exp $
DISTNAME= PTL-2.1.9
PKGNAME= ptl-2.1.9
CATEGORIES= devel
MASTER_SITES= ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/
PATCH_SITES= ${MASTER_SITES}
MAINTAINER= msaitoh@netbsd.org
HOMEPAGE= http://www.media.osaka-cu.ac.jp/~k-abe/PTL/
COMMENT= Portable user-level Thread Library 2 written by Kota Abe
USE_BUILDLINK2= YES
USE_PERL5= build
MAKE_ENV= INSTALL_PROGRAM="${INSTALL_SCRIPT}"
PLIST_SRC= ${WRKDIR}/PLIST
post-install:
@${CHOWN} -R ${BINOWN}:${BINGRP} ${PREFIX}/PTL/include
@${FIND} ${PREFIX}/PTL/include -type f -name "*.orig" | ${XARGS} ${RM}
@${FIND} ${PREFIX}/PTL/include -type d -print | ${XARGS} ${CHMOD} 755
@${FIND} ${PREFIX}/PTL/include -type f -print | ${XARGS} ${CHMOD} 444
@${CP} ${PKGDIR}/PLIST ${PLIST_SRC}
@cd ${PREFIX}; \
${FIND} PTL -type f >>${PLIST_SRC}; \
for LINK in `${FIND} PTL -type l`; do \
set - X `${FILE_CMD} $$LINK`; \
${ECHO} "@exec ${LN} -s $$6 %D/$$LINK" >>${PLIST_SRC}; \
${ECHO} "@unexec ${RM} -f %D/$$LINK" >>${PLIST_SRC}; \
done; \
for DIR in `${FIND} PTL -type d | sort -r`; do \
if [ -z "`ls $$DIR`" ]; then \
${ECHO} "@exec ${MKDIR} %D/$$DIR" >>${PLIST_SRC}; \
fi; \
${ECHO} "@dirrm $$DIR" >>${PLIST_SRC}; \
done
.include "../../mk/bsd.pkg.mk"