New "ptl2" package supplied by SAITOH Masanobu in pkg/7212:
This is PTL2 -- Portable Thread Library 2 wrrtten by Kota Abe.
This commit is contained in:
parent
fded0ae3d3
commit
e4e661d09b
6 changed files with 74 additions and 0 deletions
39
devel/ptl2/Makefile
Normal file
39
devel/ptl2/Makefile
Normal file
|
@ -0,0 +1,39 @@
|
|||
# $NetBSD: Makefile,v 1.1.1.1 1999/03/29 23:13:56 tron Exp $
|
||||
|
||||
DISTNAME= PTL2-current-990325
|
||||
PKGNAME= ptl2-current-990325
|
||||
CATEGORIES= devel
|
||||
MASTER_SITES= ftp://ftp.media.osaka-cu.ac.jp/pub/PTL/PTL2/PTL2-current-990325/
|
||||
|
||||
MAINTAINER= msaitoh@netbsd.org
|
||||
HOMEPAGE= http://www.media.osaka-cu.ac.jp/~k-abe/PTL/
|
||||
|
||||
USE_GMAKE= YES
|
||||
USE_PERL5= YES
|
||||
|
||||
PLIST_SRC= ${WRKDIR}/PLIST
|
||||
|
||||
post-install:
|
||||
@${MKDIR} ${PREFIX}/libdata/PTL
|
||||
@${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 $$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 -p %D/$$DIR" >>${PLIST_SRC}; \
|
||||
fi; \
|
||||
@${ECHO} "@dirrm $$DIR" >>${PLIST_SRC}; \
|
||||
done
|
||||
# @cd ${PREFIX}; \
|
||||
# find PTL -type d | sort -r | ${SED} -e 's#^P#@dirrm P#' >>${PLIST_SRC}
|
||||
|
||||
.include "../../mk/bsd.pkg.mk"
|
3
devel/ptl2/files/md5
Normal file
3
devel/ptl2/files/md5
Normal file
|
@ -0,0 +1,3 @@
|
|||
$NetBSD: md5,v 1.1.1.1 1999/03/29 23:13:56 tron Exp $
|
||||
|
||||
MD5 (PTL2-current-990325.tar.gz) = e4692f9604bda21f85a61e3936d47d1a
|
20
devel/ptl2/patches/patch-aa
Normal file
20
devel/ptl2/patches/patch-aa
Normal file
|
@ -0,0 +1,20 @@
|
|||
$NetBSD: patch-aa,v 1.1.1.1 1999/03/29 23:13:56 tron Exp $
|
||||
|
||||
--- Makefile.orig Wed Mar 24 13:33:28 1999
|
||||
+++ Makefile Thu Mar 25 01:03:04 1999
|
||||
@@ -7,13 +7,13 @@
|
||||
#
|
||||
|
||||
# Install directory
|
||||
-prefix = /usr/local
|
||||
+prefix = ${PREFIX}
|
||||
exec_prefix = $(prefix)
|
||||
|
||||
# Directory to install ptlgcc
|
||||
dest_bindir = $(exec_prefix)/bin
|
||||
# Directory to install libPTL.a and libPTL.so
|
||||
-dest_libdir = $(exec_prefix)/PTL/lib
|
||||
+dest_libdir = $(exec_prefix)/lib
|
||||
# Directory to install include files
|
||||
# This directory must NOT be /usr/local/include
|
||||
dest_includedir = $(exec_prefix)/PTL/include
|
1
devel/ptl2/pkg/COMMENT
Normal file
1
devel/ptl2/pkg/COMMENT
Normal file
|
@ -0,0 +1 @@
|
|||
This is PTL2 -- Portable Thread Library 2 wrrtten by Kota Abe.
|
4
devel/ptl2/pkg/DESCR
Normal file
4
devel/ptl2/pkg/DESCR
Normal file
|
@ -0,0 +1,4 @@
|
|||
This is PTL2 -- Portable Thread Library 2 wrrtten by Kota Abe.
|
||||
|
||||
This library is based on the standard "POSIX 1003.1c" and works on BSD UNIX
|
||||
(architecture-independent!) See INSTALL for datail.
|
7
devel/ptl2/pkg/PLIST
Normal file
7
devel/ptl2/pkg/PLIST
Normal file
|
@ -0,0 +1,7 @@
|
|||
@comment $NetBSD: PLIST,v 1.1.1.1 1999/03/29 23:13:56 tron Exp $
|
||||
bin/ptlgcc
|
||||
lib/libPTL.a
|
||||
lib/libPTL.so
|
||||
lib/libPTL.so.1.1
|
||||
@exec mkdir -p %D/libdata/PTL
|
||||
@dirrm libdata/PTL
|
Loading…
Reference in a new issue