summaryrefslogtreecommitdiff
path: root/devel/jlib
diff options
context:
space:
mode:
authorrh <rh>2000-10-15 17:16:05 +0000
committerrh <rh>2000-10-15 17:16:05 +0000
commit0f6ffe5551f7cb893b01f2fe1885e576e572d7ef (patch)
tree450f7339891094b1ac25b79bf00654bed0f33546 /devel/jlib
parent01d9e5ce4f0da146eb48ebc2e34ca823ff4719b8 (diff)
downloadpkgsrc-0f6ffe5551f7cb893b01f2fe1885e576e572d7ef.tar.gz
Initial import of jlib-1.0.6, a library of C++ utility classes.
Diffstat (limited to 'devel/jlib')
-rw-r--r--devel/jlib/Makefile16
-rw-r--r--devel/jlib/files/md53
-rw-r--r--devel/jlib/files/patch-sum4
-rw-r--r--devel/jlib/patches/patch-aa13
-rw-r--r--devel/jlib/patches/patch-ab37
-rw-r--r--devel/jlib/pkg/COMMENT1
-rw-r--r--devel/jlib/pkg/DESCR3
-rw-r--r--devel/jlib/pkg/PLIST36
8 files changed, 113 insertions, 0 deletions
diff --git a/devel/jlib/Makefile b/devel/jlib/Makefile
new file mode 100644
index 00000000000..4f88db0d1e0
--- /dev/null
+++ b/devel/jlib/Makefile
@@ -0,0 +1,16 @@
+# $NetBSD: Makefile,v 1.1.1.1 2000/10/15 17:16:05 rh Exp $
+#
+
+DISTNAME= jlib-1.0.6
+CATEGORIES= devel
+MASTER_SITES= http://download.sourceforge.net/jlib/
+
+MAINTAINER= rh@netbsd.org
+HOMEPAGE= http://jlib.sourceforge.net/
+
+GNU_CONFIGURE= YES
+USE_LIBTOOL= YES
+
+LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/devel/jlib/files/md5 b/devel/jlib/files/md5
new file mode 100644
index 00000000000..142576c7cb0
--- /dev/null
+++ b/devel/jlib/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 2000/10/15 17:16:05 rh Exp $
+
+MD5 (jlib-1.0.6.tar.gz) = d7f537a4e8950f1b0a70b49029163920
diff --git a/devel/jlib/files/patch-sum b/devel/jlib/files/patch-sum
new file mode 100644
index 00000000000..f476bcbdad3
--- /dev/null
+++ b/devel/jlib/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 2000/10/15 17:16:05 rh Exp $
+
+MD5 (patch-aa) = d7594aa1aaf56996af228042232c2f47
+MD5 (patch-ab) = ffb414710868d04749958add86e2196a
diff --git a/devel/jlib/patches/patch-aa b/devel/jlib/patches/patch-aa
new file mode 100644
index 00000000000..e3c10a46ebd
--- /dev/null
+++ b/devel/jlib/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 2000/10/15 17:16:05 rh Exp $
+
+--- src/Makefile.in.orig Sat Sep 16 16:59:49 2000
++++ src/Makefile.in
+@@ -87,7 +87,7 @@
+
+ lib_LTLIBRARIES = libj.la
+ libj_la_SOURCES = QuotedPrintable.C TmpFile.C MimeType.C SUtil.C Blob.C Stream.C Exception.C IOException.C EOFException.C SMTPException.C DataStream.C FileStream.C SockStream.C Properties.C Base64.C EmailWriter.C EmailReader.C Email.C POP3.C IMAP4.C Regex.C Fetch.C AudioPlayer.C WavFile.C Directory.C scp.C socketstream.cc Date.cc
+-libj_la_LDFLAGS = -version-info $(LIBJ_SO_VERSION) -release $(JLIB_RELEASE) -no-undefined
++libj_la_LDFLAGS = -version-info $(LIBJ_SO_VERSION) -no-undefined
+
+ include_HEADERS = jlib.h
+ pkginclude_HEADERS = POP3.h SUtil.h Blob.h Stream.h Exception.h IOException.h EOFException.h SMTPException.h DataStream.h FileStream.h SockStream.h Properties.h Base64.h EmailWriter.h EmailReader.h Email.h IMAP4.h Fetch.h Regex.h TmpFile.h MimeType.h QuotedPrintable.h AudioPlayer.h AudioFile.h WavFile.h Directory.h scp.h socketstream.hh Date.hh
diff --git a/devel/jlib/patches/patch-ab b/devel/jlib/patches/patch-ab
new file mode 100644
index 00000000000..ef094e0e340
--- /dev/null
+++ b/devel/jlib/patches/patch-ab
@@ -0,0 +1,37 @@
+$NetBSD: patch-ab,v 1.1.1.1 2000/10/15 17:16:05 rh Exp $
+
+--- src/WavFile.C.orig Sat Aug 26 03:16:28 2000
++++ src/WavFile.C
+@@ -24,7 +24,11 @@
+ #include "Blob.h"
+ #include "TmpFile.h"
+
++#ifdef __NetBSD__
++#include <soundcard.h>
++#else
+ #include <sys/soundcard.h>
++#endif
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <sys/ioctl.h>
+@@ -33,7 +37,11 @@
+ #include <string.h>
+ #include <unistd.h>
+
++#ifdef __NetBSD__
++const string DSP = "/dev/audio";
++#else
+ const string DSP = "/dev/dsp";
++#endif
+ const int WAV_FMT_PCM = 1;
+ const int WAV_FMT_OKI_ADPCM = 16;
+ const bool DEBUG = false;
+@@ -203,7 +211,7 @@
+ if(DEBUG) cout << "read " << data.length() << " bytes\n";
+ if(DEBUG) cout.flush();
+
+- if(DEBUG) cout << "Writing " << data.length() << " bytes to /dev/dsp... ";
++ if(DEBUG) cout << "Writing " << data.length() << " bytes to " << DSP << " ... ";
+ if(DEBUG) cout.flush();
+ write(m_dsp, data.bstr(), data.length());
+ if(DEBUG) cout << "done\n";
diff --git a/devel/jlib/pkg/COMMENT b/devel/jlib/pkg/COMMENT
new file mode 100644
index 00000000000..764931bf422
--- /dev/null
+++ b/devel/jlib/pkg/COMMENT
@@ -0,0 +1 @@
+library of C++ utility classes
diff --git a/devel/jlib/pkg/DESCR b/devel/jlib/pkg/DESCR
new file mode 100644
index 00000000000..751190f99f4
--- /dev/null
+++ b/devel/jlib/pkg/DESCR
@@ -0,0 +1,3 @@
+ jlib is a library of C++ utility classes. It contains useful functions from
+various areas, like networking, mail decoding and encoding, file access, and
+audio. Jlib is available under the GNU GENERAL PUBLIC LICENSE (GPL).
diff --git a/devel/jlib/pkg/PLIST b/devel/jlib/pkg/PLIST
new file mode 100644
index 00000000000..34d1e51e1bf
--- /dev/null
+++ b/devel/jlib/pkg/PLIST
@@ -0,0 +1,36 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2000/10/15 17:16:05 rh Exp $
+bin/jlib-config
+include/jlib.h
+include/jlib/AudioFile.h
+include/jlib/AudioPlayer.h
+include/jlib/Base64.h
+include/jlib/Blob.h
+include/jlib/DataStream.h
+include/jlib/Date.hh
+include/jlib/Directory.h
+include/jlib/EOFException.h
+include/jlib/Email.h
+include/jlib/EmailReader.h
+include/jlib/EmailWriter.h
+include/jlib/Exception.h
+include/jlib/Fetch.h
+include/jlib/FileStream.h
+include/jlib/IMAP4.h
+include/jlib/IOException.h
+include/jlib/MimeType.h
+include/jlib/POP3.h
+include/jlib/Properties.h
+include/jlib/QuotedPrintable.h
+include/jlib/Regex.h
+include/jlib/SMTPException.h
+include/jlib/SUtil.h
+include/jlib/SockStream.h
+include/jlib/Stream.h
+include/jlib/TmpFile.h
+include/jlib/WavFile.h
+include/jlib/scp.h
+include/jlib/socketstream.hh
+lib/libj.so.1.6
+lib/libj.a
+lib/libj.la
+@dirrm include/jlib