summaryrefslogtreecommitdiff
path: root/devel/trio
diff options
context:
space:
mode:
Diffstat (limited to 'devel/trio')
-rw-r--r--devel/trio/Makefile26
-rw-r--r--devel/trio/distinfo4
-rw-r--r--devel/trio/pkg/DESCR10
-rw-r--r--devel/trio/pkg/PLIST8
4 files changed, 48 insertions, 0 deletions
diff --git a/devel/trio/Makefile b/devel/trio/Makefile
new file mode 100644
index 00000000000..3d577c936f2
--- /dev/null
+++ b/devel/trio/Makefile
@@ -0,0 +1,26 @@
+# $NetBSD: Makefile,v 1.1.1.1 2001/06/05 12:22:53 zuntum Exp $
+#
+
+DISTNAME= trio-1.3
+CATEGORIES= devel
+MASTER_SITES= http://www.contactor.se/~dast/stuff/
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.contactor.se/~dast/trio/
+COMMENT= fully matured and stable set of printf and string functions
+
+post-patch:
+ ${SED} "s,^CFLAGS,#CFLAGS,g" ${WRKSRC}/Makefile \
+ > ${WRKSRC}/Makefile.done
+ ${MV} ${WRKSRC}/Makefile.done ${WRKSRC}/Makefile
+
+do-install:
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} trio.h triop.h ${PREFIX}/include
+ cd ${WRKSRC} && \
+ ${INSTALL_DATA} libtrio.a ${PREFIX}/lib
+ cd ${WRKSRC}/man/man3 && \
+ ${INSTALL_MAN} trio_printf.3 trio_scanf.3 \
+ trio_register.3 strio.3 ${PREFIX}/man/man3
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/trio/distinfo b/devel/trio/distinfo
new file mode 100644
index 00000000000..3687fddd501
--- /dev/null
+++ b/devel/trio/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2001/06/05 12:22:53 zuntum Exp $
+
+SHA1 (trio-1.3.tar.gz) = 3d90f1e12b6986cf6d62999a2ac5c7921c4fb1ea
+Size (trio-1.3.tar.gz) = 60598 bytes
diff --git a/devel/trio/pkg/DESCR b/devel/trio/pkg/DESCR
new file mode 100644
index 00000000000..7e2f43936aa
--- /dev/null
+++ b/devel/trio/pkg/DESCR
@@ -0,0 +1,10 @@
+Trio is a fully matured and stable set of printf and string functions designed
+be used by applications with focus on portability or with the need for
+additional features that are not supported by standard stdio implementation.
+
+There are several cases where you may want to consider using trio:
+
+ 1.Portability across heterogeneous platforms.
+ 2.Embedded systems without stdio support.
+ 3.Extendability of unsupported features.
+ 4.Your native version don't do everything you need.
diff --git a/devel/trio/pkg/PLIST b/devel/trio/pkg/PLIST
new file mode 100644
index 00000000000..f45ea352fd5
--- /dev/null
+++ b/devel/trio/pkg/PLIST
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2001/06/05 12:22:53 zuntum Exp $
+include/trio.h
+include/triop.h
+lib/libtrio.a
+man/man3/strio.3
+man/man3/trio_printf.3
+man/man3/trio_register.3
+man/man3/trio_scanf.3