summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-04 10:00:47 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-08-04 10:00:47 +0000
commit94e93f23773bd7524e2847fe234185684a442aac (patch)
tree5489656f36bd9ea675780f479d3e4cf01bd6e8cd
parentadd p5-CDB_File (diff)
add libstrfunc
Handles CGI forms, MIME, templates, date conversions, etc. PR: 29076 Submitted by: Lev Walkin <vlm@spelio.net.ru>
Notes
Notes: svn path=/head/; revision=45801
-rw-r--r--devel/Makefile1
-rw-r--r--devel/libstrfunc/Makefile47
-rw-r--r--devel/libstrfunc/distinfo1
-rw-r--r--devel/libstrfunc/pkg-comment1
-rw-r--r--devel/libstrfunc/pkg-descr13
-rw-r--r--devel/libstrfunc/pkg-plist7
6 files changed, 70 insertions, 0 deletions
diff --git a/devel/Makefile b/devel/Makefile
index 17ce20364280..3f8f39521bae 100644
--- a/devel/Makefile
+++ b/devel/Makefile
@@ -222,6 +222,7 @@
SUBDIR += libshhopt
SUBDIR += libsigc++
SUBDIR += libslang
+ SUBDIR += libstrfunc
SUBDIR += libtai
SUBDIR += libtar
SUBDIR += libtecla
diff --git a/devel/libstrfunc/Makefile b/devel/libstrfunc/Makefile
new file mode 100644
index 000000000000..b961ce43b89a
--- /dev/null
+++ b/devel/libstrfunc/Makefile
@@ -0,0 +1,47 @@
+# New ports collection makefile for: libstrfunc
+# Date created: 2001-07-19
+# Whom: Lev Walkin <vlm@spelio.net.ru>
+#
+# $FreeBSD$
+#
+
+PORTNAME= libstrfunc
+PORTVERSION= 7.2.6
+CATEGORIES= devel www
+MASTER_SITES= http://www.spelio.net.ru/soft/
+
+MAINTAINER= vlm@spelio.net.ru
+
+INSTALL_TARGET= install install-man
+INSTALLS_SHLIB= yes
+
+MANCOMPRESSED= no
+MAN3= strfunc.3 sf_slist.3 sinit.3 slist.3 sadd.3 sadd2.3 sadd_attach.3 \
+ sdel.3 sins.3 simport.3 sfree.3 sclear.3 sarray.3 mkarray.3 \
+ charize.3 sfind.3 scfind.3 find.3 cfind.3 count_values.3 \
+ copy_values.3 free_values.3 sget.3 scget.3 sgetp.3 scgetp.3 scopy.3 \
+ sf_split.3 split.3 splitf.3 splitquotable.3 split_network.3 sjoin.3 \
+ join.3 sf_cgi.3 param.3 param2.3 params.3 set_cookie.3 cookie.3 \
+ cookies.3 html_quote.3 url_encode.3 url_decode.3 getlanguageprefs.3 \
+ sf_mime.3 base64_encode.3 base64_decode.3 quoted_printable_decode.3 \
+ mime_word_decode.3 sf_time.3 strtotime.3 timetostr.3 sf_cfg.3 \
+ cfgread.3 cfgget.3 cfgget2.3 sf_fmt.3 format_init.3 format_free.3 \
+ format_metarule.3 formatf.3 format_lastsize.3 format_lastresult.3 \
+ format_detach.3 sf_sbuf.3 sbuf.3 sbuf_init.3 sbuf_free.3 \
+ sbuf_detach.3 sbuf_clear.3 sbuf_zero.3 sbuf_extend.3 sbuf_add.3 \
+ sbuf_add2.3 sbuf_sprintf.3 sbuf_fgets.3 sf_sed.3 sed.3 sed_compile.3 \
+ sed_exec.3 sed_free.3 sf_file.3 initfdpos.3 initFILEpos.3 adjfdpos.3 \
+ adjFILEpos.3 sf_misc.3 eq.3 ecq.3 countchar.3 countchar2.3 \
+ countstr.3 replace.3 replace_detach.3 limittextwidth.3 sf_mem.3 \
+ strndup.3 sf_strdup.3 sf_malloc.3 sf_calloc.3 sf_realloc.3 \
+ strfunc_ctl.3
+
+post-patch:
+ @${PERL} -pi -e "s,cat,man,g" ${WRKSRC}/man/Makefile.in
+
+post-install:
+ @strip ${PREFIX}/bin/timetostr
+ @strip ${PREFIX}/bin/strtotime
+ @strip ${PREFIX}/bin/posdump
+
+.include <bsd.port.mk>
diff --git a/devel/libstrfunc/distinfo b/devel/libstrfunc/distinfo
new file mode 100644
index 000000000000..298d4b844b7f
--- /dev/null
+++ b/devel/libstrfunc/distinfo
@@ -0,0 +1 @@
+MD5 (libstrfunc-7.2.6.tar.gz) = 746651a0f87e3dc095310077f6f56055
diff --git a/devel/libstrfunc/pkg-comment b/devel/libstrfunc/pkg-comment
new file mode 100644
index 000000000000..500c9b0c11fa
--- /dev/null
+++ b/devel/libstrfunc/pkg-comment
@@ -0,0 +1 @@
+Handles CGI forms, MIME, templates, date conversions, etc.
diff --git a/devel/libstrfunc/pkg-descr b/devel/libstrfunc/pkg-descr
new file mode 100644
index 000000000000..b8a4633851f9
--- /dev/null
+++ b/devel/libstrfunc/pkg-descr
@@ -0,0 +1,13 @@
+Handy library for manipulating strings, string arrays, buffers, CGI forms,
+configuration files, textual templates, regular expressions, date
+and time conversions, et cetera.
+
+Handles base64, quoted-printable, url_encode, mime-words and other encoded data.
+
+Please have a look at strfunc(3) and other manual pages.
+
+WWW: http://www.spelio.net.ru/soft/
+
+--
+Lev Walkin
+vlm@spelio.net.ru
diff --git a/devel/libstrfunc/pkg-plist b/devel/libstrfunc/pkg-plist
new file mode 100644
index 000000000000..cb6e98d5ab22
--- /dev/null
+++ b/devel/libstrfunc/pkg-plist
@@ -0,0 +1,7 @@
+bin/timetostr
+bin/strtotime
+bin/posdump
+include/strfunc.h
+lib/libstrfunc.a
+lib/libstrfunc.so
+lib/libstrfunc.so.7