aboutsummaryrefslogtreecommitdiffstats
path: root/devel/str
diff options
context:
space:
mode:
authorrse <rse@FreeBSD.org>2000-01-10 03:47:04 +0800
committerrse <rse@FreeBSD.org>2000-01-10 03:47:04 +0800
commitb2d3fd30bcd24b933ee7660bfca3ef844dea8b2f (patch)
tree425290efac9eee737f1cb9da9aae180a751cef06 /devel/str
parentb8e643281470caf666ba492abd2ec30e5b1dafcc (diff)
downloadfreebsd-ports-gnome-b2d3fd30bcd24b933ee7660bfca3ef844dea8b2f.tar.gz
freebsd-ports-gnome-b2d3fd30bcd24b933ee7660bfca3ef844dea8b2f.tar.zst
freebsd-ports-gnome-b2d3fd30bcd24b933ee7660bfca3ef844dea8b2f.zip
Import of Str 0.9.1.
The Str library is a generic string library written in ANSI C which provides functions for handling, matching, parsing, searching and formatting of C strings. So it can be considered as a superset of POSIX string(3), but its main intention is to provide a more convinient and compact API plus a more generalized functionality.
Diffstat (limited to 'devel/str')
-rw-r--r--devel/str/Makefile31
-rw-r--r--devel/str/distinfo1
-rw-r--r--devel/str/pkg-comment1
-rw-r--r--devel/str/pkg-descr10
-rw-r--r--devel/str/pkg-plist8
5 files changed, 51 insertions, 0 deletions
diff --git a/devel/str/Makefile b/devel/str/Makefile
new file mode 100644
index 000000000000..003908f25b10
--- /dev/null
+++ b/devel/str/Makefile
@@ -0,0 +1,31 @@
+# New ports collection makefile for: str
+# Version required: 0.9.1
+# Date Created: 09 Jan 2000
+# Whom: Ralf S. Engelschall
+#
+# $FreeBSD$
+#
+
+DISTNAME= str-0.9.1
+CATEGORIES= devel
+MASTER_SITES= http://www.engelschall.com/sw/str/ \
+ ftp://ftp.engelschall.com/sw/str/
+
+MAINTAINER= rse@engelschall.com
+
+HAS_CONFIGURE= yes
+CONFIGURE_ARGS= --prefix=${PREFIX}
+
+MAN1= str-config.1
+MAN3= str.3
+
+post-build:
+ @${ECHO_MSG} "===> Use 'make test' to run a quick test suite."
+
+test:
+ @cd ${WRKSRC} && ${MAKE} test
+
+post-install:
+ @${SETENV} OBJFORMAT=${PORTOBJFORMAT} ${LDCONFIG} -m ${PREFIX}/lib
+
+.include <bsd.port.mk>
diff --git a/devel/str/distinfo b/devel/str/distinfo
new file mode 100644
index 000000000000..f5aa82fdb627
--- /dev/null
+++ b/devel/str/distinfo
@@ -0,0 +1 @@
+MD5 (str-0.9.1.tar.gz) = ca5b24c7ef61dbd9bfb8853f51ff6224
diff --git a/devel/str/pkg-comment b/devel/str/pkg-comment
new file mode 100644
index 000000000000..61e57f8f9dcc
--- /dev/null
+++ b/devel/str/pkg-comment
@@ -0,0 +1 @@
+Generic String Library
diff --git a/devel/str/pkg-descr b/devel/str/pkg-descr
new file mode 100644
index 000000000000..d7b5e8e1956a
--- /dev/null
+++ b/devel/str/pkg-descr
@@ -0,0 +1,10 @@
+Str - Generic String Library
+Copyright (c) 1999-2000 Ralf S. Engelschall <rse@engelschall.com>
+
+The Str library is a generic string library written in ANSI C which
+provides functions for handling, matching, parsing, searching and
+formatting of C strings. So it can be considered as a superset of POSIX
+string(3), but its main intention is to provide a more convinient and
+compact API plus a more generalized functionality.
+
+WWW: http://www.engelschall.com/sw/str/
diff --git a/devel/str/pkg-plist b/devel/str/pkg-plist
new file mode 100644
index 000000000000..97cf5caa3636
--- /dev/null
+++ b/devel/str/pkg-plist
@@ -0,0 +1,8 @@
+bin/str-config
+include/str.h
+lib/libstr.a
+lib/libstr.la
+lib/libstr.so
+lib/libstr.so.9
+@unexec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -R
+@exec /usr/bin/env OBJFORMAT=%%PORTOBJFORMAT%% /sbin/ldconfig -m %B