summaryrefslogtreecommitdiff
path: root/devel/libetm
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>2001-04-27 12:02:56 +0000
committeragc <agc@pkgsrc.org>2001-04-27 12:02:56 +0000
commit5138c9df84fdbc1757871bc5e4cc2567b1e2af50 (patch)
tree12e77089c4d86e2dae20adaecb752ca9a18098f6 /devel/libetm
parent7f90247dde047ffb0b0e5365f240ae7841a5ef79 (diff)
downloadpkgsrc-5138c9df84fdbc1757871bc5e4cc2567b1e2af50.tar.gz
Initial import of libetm-1.09 into the packages collection.
Provided in PR 12580 by Ben Collver (collver@linuxfreemail.com) Exception and Termination Manager (ETM), a simple(-minded) library to manage exceptional conditions that arise during program execution, and to provide for orderly program shutdown.
Diffstat (limited to 'devel/libetm')
-rw-r--r--devel/libetm/Makefile26
-rw-r--r--devel/libetm/distinfo5
-rw-r--r--devel/libetm/patches/patch-aa35
-rw-r--r--devel/libetm/pkg/DESCR3
-rw-r--r--devel/libetm/pkg/PLIST5
5 files changed, 74 insertions, 0 deletions
diff --git a/devel/libetm/Makefile b/devel/libetm/Makefile
new file mode 100644
index 00000000000..629d0ccf74a
--- /dev/null
+++ b/devel/libetm/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/04/27 12:02:56 agc Exp $
+#
+
+DISTNAME= ETM-1.09
+PKGNAME= libetm-1.09
+CATEGORIES= devel
+MASTER_SITES= http://www.primate.wisc.edu/software/ETM/
+
+MAINTAINER= collver@linuxfreemail.com
+HOMEPAGE= http://www.primate.wisc.edu/software/ETM/
+COMMENT= exception and termination manager
+
+WRKSRC= ${WRKDIR}/etm
+
+post-patch:
+ ${MV} ${WRKSRC}/Makefile ${WRKSRC}/Makefile.bak
+ ${SED} <${WRKSRC}/Makefile.bak >${WRKSRC}/Makefile \
+ -e 's|/usr/local|${PREFIX}|' \
+ -e 's|install.sh|${INSTALL}|'
+
+post-install:
+ ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/libetm
+ groff -Tascii -ms ${WRKSRC}/etm.ms \
+ >${PREFIX}/share/doc/libetm/etm.txt
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libetm/distinfo b/devel/libetm/distinfo
new file mode 100644
index 00000000000..6558b1a5e19
--- /dev/null
+++ b/devel/libetm/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/04/27 12:02:56 agc Exp $
+
+SHA1 (ETM-1.09.tar.gz) = 6b0883e595c5b4d6900a154b77625ec1233237ed
+Size (ETM-1.09.tar.gz) = 25677 bytes
+SHA1 (patch-aa) = 691e3d1c1081d78e7ce39bfc7efe74c5799d4834
diff --git a/devel/libetm/patches/patch-aa b/devel/libetm/patches/patch-aa
new file mode 100644
index 00000000000..18bc7a65537
--- /dev/null
+++ b/devel/libetm/patches/patch-aa
@@ -0,0 +1,35 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/04/27 12:02:56 agc Exp $
+
+--- Makefile.orig Thu Apr 10 13:15:36 1997
++++ Makefile Sun Apr 8 19:00:36 2001
+@@ -383,7 +383,8 @@
+ all:: etm.h.new
+ etm.h.new:: etm.h.dist
+ $(RM) $@
+- $(MSUB) etm.h.dist > $@
++ $(SED) <etm.h.dist > $@ 's/\$${ETMVOIDTYPE}/$(ETMVOIDTYPE)/'
++# $(MSUB) etm.h.dist > $@
+
+ clean::
+ $(RM) etm.h.new
+@@ -417,7 +418,8 @@
+ all:: etm.internal.h.new
+ etm.internal.h.new:: etm.internal.h.dist
+ $(RM) $@
+- $(MSUB) etm.internal.h.dist > $@
++ $(SED) <etm.internal.h.dist > $@ 's/\$${ABORTSIGNAL}/$(ABORTSIGNAL)/'
++# $(MSUB) etm.internal.h.dist > $@
+
+ clean::
+ $(RM) etm.internal.h.new
+@@ -540,8 +542,8 @@
+
+ # DO NOT DELETE
+
+-etm.o: /usr/include/stdio.h /usr/include/sys/stdsyms.h /usr/include/signal.h
++etm.o: /usr/include/stdio.h /usr/include/signal.h
+ etm.o: /usr/include/sys/signal.h /usr/include/sys/types.h
+ etm.o: /usr/include/stdarg.h /usr/include/varargs.h etm.internal.h etm.h
+ etm.o: /usr/include/stdlib.h
+-etmtest.o: /usr/include/stdio.h /usr/include/sys/stdsyms.h etm.h
++etmtest.o: /usr/include/stdio.h etm.h
diff --git a/devel/libetm/pkg/DESCR b/devel/libetm/pkg/DESCR
new file mode 100644
index 00000000000..0a6bb90e08d
--- /dev/null
+++ b/devel/libetm/pkg/DESCR
@@ -0,0 +1,3 @@
+Exception and Termination Manager (ETM), a simple(-minded) library to manage
+exceptional conditions that arise during program execution, and to provide
+for orderly program shutdown.
diff --git a/devel/libetm/pkg/PLIST b/devel/libetm/pkg/PLIST
new file mode 100644
index 00000000000..a318f2b8b40
--- /dev/null
+++ b/devel/libetm/pkg/PLIST
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/04/27 12:02:56 agc Exp $
+lib/libetm.a
+include/etm.h
+share/doc/libetm/etm.txt
+@dirrm share/doc/libetm