summaryrefslogtreecommitdiff
path: root/devel/publib
diff options
context:
space:
mode:
authorMax Khon <fjoe@FreeBSD.org>2003-03-24 15:32:44 +0000
committerMax Khon <fjoe@FreeBSD.org>2003-03-24 15:32:44 +0000
commitbd4a0795ead266234e9c5e38f236feb875987ffa (patch)
tree3dce59ca2c3c1a9b301afc3b9e3184b254408008 /devel/publib
parentUse ${REINPLACE_CMD} instead of ${PERL}. (diff)
New port: publib -- library needed for some Debian package-controlling tools
PR: 45915
Notes
Notes: svn path=/head/; revision=77396
Diffstat (limited to 'devel/publib')
-rw-r--r--devel/publib/Makefile98
-rw-r--r--devel/publib/distinfo1
-rw-r--r--devel/publib/files/Default.config7
-rw-r--r--devel/publib/files/patch-liw::sbuf::sbuf_srch.c10
-rw-r--r--devel/publib/pkg-descr6
-rw-r--r--devel/publib/pkg-plist28
6 files changed, 150 insertions, 0 deletions
diff --git a/devel/publib/Makefile b/devel/publib/Makefile
new file mode 100644
index 000000000000..2b5e81ddb37b
--- /dev/null
+++ b/devel/publib/Makefile
@@ -0,0 +1,98 @@
+# New ports collection makefile for: publib
+# Date created: 25 April 2002
+# Whom: never@nevermind.kiev.ua
+#
+# $FreeBSD$
+#
+
+PORTNAME= publib
+PORTVERSION= 0.32
+CATEGORIES= devel
+MASTER_SITES= http://ftp.debian.org/debian/pool/main/p/publib/
+DISTNAME= publib_0.32.orig
+
+MAINTAINER= never@nevermind.kiev.ua
+COMMENT= Publib is a library of C functions for various purposes
+
+WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
+CONFIGURE_WRKSRC= ${WRKSRC}/objs
+BUILD_WRKSRC= ${CONFIGURE_WRKSRC}
+INSTALL_WRKSRC= ${CONFIGURE_WRKSRC}
+CONFIGURE_SCRIPT= ../framework/configure
+
+USE_GMAKE= yes
+GNU_CONFIGURE= yes
+
+MAN3= dynarr.3 \
+ xmalloc.3 \
+ bitarr.3 \
+ cfg.3 \
+ cmp.3 \
+ __set_liberror.3 \
+ errormsg.3 \
+ expr.3 \
+ files.3 \
+ fname.3 \
+ fnpathfind.3 \
+ fnqualify.3 \
+ hash.3 \
+ iset.3 \
+ log.3 \
+ publib.3 \
+ stack.3 \
+ memarrfill.3 \
+ memdel.3 \
+ memfill.3 \
+ memins.3 \
+ memisort.3 \
+ memmem.3 \
+ memoverlap.3 \
+ memrchr.3 \
+ memrev.3 \
+ memrmem.3 \
+ memshuffle.3 \
+ memswap.3 \
+ stracat.3 \
+ stranaxfrm.3 \
+ strchange.3 \
+ strcins.3 \
+ strcstr.3 \
+ strdel.3 \
+ strdiff.3 \
+ strend.3 \
+ strendzap.3 \
+ strgsub.3 \
+ strhash.3 \
+ strinit.3 \
+ strins.3 \
+ strltrim.3 \
+ strmaxcpy.3 \
+ strmove.3 \
+ strmtrim.3 \
+ strndup.3 \
+ strnins.3 \
+ stroverlap.3 \
+ strrev.3 \
+ strright.3 \
+ strrot13.3 \
+ strrstr.3 \
+ strrtrim.3 \
+ strset.3 \
+ strshuffle.3 \
+ strsplit.3 \
+ strsub.3 \
+ strtabify.3 \
+ strtrexpand.3 \
+ strtrim.3 \
+ struncstr.3 \
+ struntabify.3 \
+ strvars.3 \
+ strzap.3 \
+ tbuf.3
+
+pre-configure::
+ ${MKDIR} ${WRKSRC}/objs
+ ${SED} -e "s;@PREFIX@;${PREFIX};g" \
+ ${FILESDIR}/Default.config > ${WRKSRC}/objs/Default.config
+
+.include <bsd.port.mk>
diff --git a/devel/publib/distinfo b/devel/publib/distinfo
new file mode 100644
index 000000000000..27d5cd77f1e5
--- /dev/null
+++ b/devel/publib/distinfo
@@ -0,0 +1 @@
+MD5 (publib_0.32.orig.tar.gz) = bfdc70ca6e2a9457b0c4e864bcf109e6
diff --git a/devel/publib/files/Default.config b/devel/publib/files/Default.config
new file mode 100644
index 000000000000..8ee9a19b44ed
--- /dev/null
+++ b/devel/publib/files/Default.config
@@ -0,0 +1,7 @@
+library=publib
+libshort=pub
+modules=../liw
+prefix=@PREFIX@
+assert=no
+verbmake=no
+autoconf=no
diff --git a/devel/publib/files/patch-liw::sbuf::sbuf_srch.c b/devel/publib/files/patch-liw::sbuf::sbuf_srch.c
new file mode 100644
index 000000000000..2989d41a48be
--- /dev/null
+++ b/devel/publib/files/patch-liw::sbuf::sbuf_srch.c
@@ -0,0 +1,10 @@
+--- liw/sbuf/sbuf_srch.c.orig Thu Apr 25 13:48:36 2002
++++ liw/sbuf/sbuf_srch.c Thu Apr 25 13:48:54 2002
+@@ -7,6 +7,7 @@
+
+ #include <stdio.h>
+ #include <ctype.h>
++#include <sys/types.h>
+ #include <regex.h>
+ #include "publib/sbuf.h"
+
diff --git a/devel/publib/pkg-descr b/devel/publib/pkg-descr
new file mode 100644
index 000000000000..a5f0727ff8b1
--- /dev/null
+++ b/devel/publib/pkg-descr
@@ -0,0 +1,6 @@
+The library contains functions for memory allocation,
+bit arrays, configuration files, comparing standard
+C types for qsort and bsearch, error messages, expression
+parsing and evaluation, filenames, hash tables, integer
+sets, log files, the Linux Software Map, NNTP, priority
+queues, normal queues, editor buffers, stacks, and strings.
diff --git a/devel/publib/pkg-plist b/devel/publib/pkg-plist
new file mode 100644
index 000000000000..368bec7bb5d4
--- /dev/null
+++ b/devel/publib/pkg-plist
@@ -0,0 +1,28 @@
+lib/libpub.a
+include/publib/alloc.h
+include/publib/base64.h
+include/publib/bitarr.h
+include/publib/cfg-config.h
+include/publib/cfg.h
+include/publib/cfgtool.h
+include/publib/cmp.h
+include/publib/errormsg.h
+include/publib/expr.h
+include/publib/files.h
+include/publib/fname.h
+include/publib/hash.h
+include/publib/iset.h
+include/publib/lockfile.h
+include/publib/log.h
+include/publib/lsm-config.h
+include/publib/lsm.h
+include/publib/main.h
+include/publib/nntp.h
+include/publib/priq.h
+include/publib/queue.h
+include/publib/sbuf.h
+include/publib/stack.h
+include/publib/strutil.h
+include/publib/tbuf.h
+include/publib.h
+@dirrm include/publib