summaryrefslogtreecommitdiff
path: root/devel/mit-pthreads
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1997-11-13 14:54:50 +0000
committeragc <agc@pkgsrc.org>1997-11-13 14:54:50 +0000
commitdaa54004e52873e28b4eb25379d22b71288cd70c (patch)
treebc4699c8d334be607540990301b920645ea43d1d /devel/mit-pthreads
parent13d88d0e23aca7ec0fea8d03a8086e139f6b4c0d (diff)
downloadpkgsrc-daa54004e52873e28b4eb25379d22b71288cd70c.tar.gz
Add creation of ${PREFIX}/pthreads directory, if it doesn't exist, to
installation, if installing as part of a binary package. Add @dirrm's to clean up after ourselves when doing pkg_delete All the mit-pthreads mods are either from, or inspired by, Simon J. Gerraty <sjg@cdn.telstra.com.au>
Diffstat (limited to 'devel/mit-pthreads')
-rw-r--r--devel/mit-pthreads/pkg/PLIST10
1 files changed, 9 insertions, 1 deletions
diff --git a/devel/mit-pthreads/pkg/PLIST b/devel/mit-pthreads/pkg/PLIST
index 15b1b4c3236..d2fe50e5221 100644
--- a/devel/mit-pthreads/pkg/PLIST
+++ b/devel/mit-pthreads/pkg/PLIST
@@ -1,4 +1,5 @@
-@comment $NetBSD: PLIST,v 1.3 1997/11/06 09:59:25 agc Exp $
+@comment $NetBSD: PLIST,v 1.4 1997/11/13 14:54:50 agc Exp $
+@exec if [ ! -d %d/pthreads ]; then mkdir -p %D/pthreads; fi
pthreads/bin/pgcc
pthreads/bin/pg++
pthreads/lib/libpthread.a
@@ -64,3 +65,10 @@ pthreads/include/sys/errno.h
pthreads/include/sys/time.h
pthreads/include/sys/timers.h
pthreads/include/sys/wait.h
+@dirrm pthreads/lib
+@dirrm pthreads/bin
+@dirrm pthreads/include/arpa
+@dirrm pthreads/include/pthread
+@dirrm pthreads/include/sys
+@dirrm pthreads/include
+@dirrm pthreads