From 40b98277c17e2418387c945d7586a9d01a3c95e6 Mon Sep 17 00:00:00 2001 From: tron Date: Sun, 1 Mar 1998 22:10:30 +0000 Subject: Initial import of FreeBSD's "uudeview-0.5.13" port. --- converters/uulib/Makefile | 44 ++++++++++++++++++++++++++++++++++++ converters/uulib/files/md5 | 2 ++ converters/uulib/files/porting.notes | 15 ++++++++++++ converters/uulib/files/uulib.3 | 29 ++++++++++++++++++++++++ converters/uulib/patches/patch-aa | 39 ++++++++++++++++++++++++++++++++ converters/uulib/patches/patch-ab | 14 ++++++++++++ converters/uulib/pkg/COMMENT | 1 + converters/uulib/pkg/DESCR | 9 ++++++++ converters/uulib/pkg/PLIST | 17 ++++++++++++++ 9 files changed, 170 insertions(+) create mode 100644 converters/uulib/Makefile create mode 100644 converters/uulib/files/md5 create mode 100644 converters/uulib/files/porting.notes create mode 100644 converters/uulib/files/uulib.3 create mode 100644 converters/uulib/patches/patch-aa create mode 100644 converters/uulib/patches/patch-ab create mode 100644 converters/uulib/pkg/COMMENT create mode 100644 converters/uulib/pkg/DESCR create mode 100644 converters/uulib/pkg/PLIST (limited to 'converters/uulib') diff --git a/converters/uulib/Makefile b/converters/uulib/Makefile new file mode 100644 index 00000000000..eb773bb9905 --- /dev/null +++ b/converters/uulib/Makefile @@ -0,0 +1,44 @@ +# New ports collection makefile for: uulib +# Version Required: 0.5.9 +# Date Created: 04 Aug 1996 +# Whom: Tim Vanderhoek +# +# $FreeBSD Id: Makefile,v 1.14 1998/02/18 22:20:02 hoek Exp +# + +DISTNAME= uudeview-0.5.13 +PKGNAME= uulib-0.5.13 +CATEGORIES= converters +MASTER_SITES= http://www.uni-frankfurt.de/~fp/uudeview/Apps/frank/ \ + ftp://tsx-11.mit.edu/pub/linux/sources/usr.bin/ + +MAINTAINER= hoek@FreeBSD.ORG + +GNU_CONFIGURE= yes + +MAN3= uulib.3 + +ALL_TARGET= libuu.a libuu.so.1.0 + +DOCFILES= HISTORY doc/Makefile doc/README doc/binhex.fig \ + doc/library.ltx doc/structure.fig doc/td-v1.c doc/td-v2.c \ + doc/td-v3.c doc/test.txt + +do-install: + ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.so.1.0 ${PREFIX}/lib + @${LDCONFIG} -m ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/uulib/libuu.a ${PREFIX}/lib + @/usr/bin/ranlib ${PREFIX}/lib/libuu.a + ${INSTALL_DATA} ${WRKSRC}/uulib/uudeview.h ${PREFIX}/include/uu.h + ${INSTALL_MAN} ${FILESDIR}/uulib.3 ${PREFIX}/man/man3 + perl -pi -e '$$a = '\''${PREFIX}/'\''; $$a =~ s/([^\w\/])/\\$$1/g; s/FUNKYTOKENHERE/$$a/' ${PREFIX}/man/man3/uulib.3 +.if !defined(NOPORTDOCS) + @echo "===> Installing documentation for ${PKGNAME}" + @${MKDIR} ${PREFIX}/share/doc/uulib + @${INSTALL_MAN} ${FILESDIR}/porting.notes ${PREFIX}/share/doc/uulib +.for docfile in ${DOCFILES} + @${INSTALL_MAN} ${WRKSRC}/${docfile} ${PREFIX}/share/doc/uulib +.endfor +.endif + +.include diff --git a/converters/uulib/files/md5 b/converters/uulib/files/md5 new file mode 100644 index 00000000000..bd0259d935c --- /dev/null +++ b/converters/uulib/files/md5 @@ -0,0 +1,2 @@ +MD5 (uudeview-0.5.13.tar.gz) = fda32e2de4a6b92eb56f1e286ae3815a +MD5 (uudeview-0.5.13.tar.gz) = dddf4c01973307c7d203f55c5e0c7fc3 diff --git a/converters/uulib/files/porting.notes b/converters/uulib/files/porting.notes new file mode 100644 index 00000000000..eb15b92e976 --- /dev/null +++ b/converters/uulib/files/porting.notes @@ -0,0 +1,15 @@ +This was originally one distribution for UUdeview, but I have broken +it up into ``libuu', ``uudeview'', and ``xdeview'', hopefully making +it cleaner and more useful. + +The source itself is quite portable and required no patching, although +I have added support for compilation as a shared library. + +The package is covered under the GNU license. + +The author has also written patches to the popular newsreaders `nn' +and `elm' to allow them to make use of this library. They are +available from the website mentioned in this library's +associated manpage. + +Tim Vanderhoek diff --git a/converters/uulib/files/uulib.3 b/converters/uulib/files/uulib.3 new file mode 100644 index 00000000000..6d8358ef163 --- /dev/null +++ b/converters/uulib/files/uulib.3 @@ -0,0 +1,29 @@ +.Dd October, 1996 +.Dt UULIB 3 +.Sh NAME +.Nm libuu +.Nd Decoding Library Programming Interface +.Sh DESCRIPTION +This library is used for encoding/unencoding uuencoded, xxencoded, +and Base64 encoded files. It can also unencode BinHex files (but not +encode them). +.Sh DOCUMENTATION +Documentation for uulib is contained in FUNKYTOKENHEREshare/doc/uulib. +.Sh AUTHOR +.Ar Libuu +is written by +.Nm Frank Pilhofer +with thanks to +.Nm Michael Newcomb, +.Nm Nico Mak, +.Nm Stephane Barizien, +.Nm Kris Karas, +and +.Nm Joachim Meyn. +.Sh SEE ALSO +.Xr uudeview 1 +.Xr xdeview 1 + +http://zeus.informatik.uni-frankfurt.de/~fp/uudeview +.Sh HISTORY +See the file FUNKYTOKENHEREshare/doc/uulib/HISTORY. diff --git a/converters/uulib/patches/patch-aa b/converters/uulib/patches/patch-aa new file mode 100644 index 00000000000..a8f3f482963 --- /dev/null +++ b/converters/uulib/patches/patch-aa @@ -0,0 +1,39 @@ +*** uulib/Makefile.in Mon Oct 14 16:19:18 1996 +--- /devel/ports/new.new.uulib/src/uulib/Makefile.in Sun Feb 9 23:37:42 1997 +*************** +*** 50,56 **** + # + + .SUFFIXES: +! .SUFFIXES: .c .o + + all: libuu.a + +--- 50,56 ---- + # + + .SUFFIXES: +! .SUFFIXES: .c .o .so + + all: libuu.a + +*************** +*** 73,80 **** +--- 73,89 ---- + ar r $@ $(UULIB_OBJ) + -$(RANLIB) $@ + ++ SOBJS= $(UULIB_OBJ:.o=.so) ++ libuu.so.1.0: $(SOBJS) ++ rm -f $(.TARGET) ++ ld -Bshareable -x -o libuu.so.1.0 `lorder $(SOBJS) | tsort -q` ++ ++ .c.so: ++ $(CC) -fpic -DPIC -c -o $(.TARGET) $(CFLAGS) $(VDEF) $(.IMPSRC) ++ + .c.o: + $(CC) -c $(CFLAGS) $(VDEF) $< ++ + + uuencode.o: uuencode.c uudeview.h uuint.h uustring.h fptools.h config.h + uulib.o: uulib.c uudeview.h uuint.h uustring.h fptools.h config.h diff --git a/converters/uulib/patches/patch-ab b/converters/uulib/patches/patch-ab new file mode 100644 index 00000000000..8551de5336b --- /dev/null +++ b/converters/uulib/patches/patch-ab @@ -0,0 +1,14 @@ +*** Makefile.in Mon Oct 14 16:19:01 1996 +--- /devel/ports/new.new.uulib/src/Makefile.in Mon Feb 10 00:03:24 1997 +*************** +*** 170,175 **** +--- 170,179 ---- + libuu.a: uulib/config.h + (cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' ) + ++ libuu.so.1.0: uulib/config.h ++ (cd uulib; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' \ ++ libuu.so.1.0 ) ++ + minews: + (cd inews; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' ) diff --git a/converters/uulib/pkg/COMMENT b/converters/uulib/pkg/COMMENT new file mode 100644 index 00000000000..ef9bb8a1dd9 --- /dev/null +++ b/converters/uulib/pkg/COMMENT @@ -0,0 +1 @@ +A library for uu/xx/Base64/BinHex de-/encoding. diff --git a/converters/uulib/pkg/DESCR b/converters/uulib/pkg/DESCR new file mode 100644 index 00000000000..e61139ed06a --- /dev/null +++ b/converters/uulib/pkg/DESCR @@ -0,0 +1,9 @@ +This library is able to decode files in the following formats: + + uuencode + xxencode + Base64 + BinHex + +It is also able to encode files in all of the above formats except +for BinHex. diff --git a/converters/uulib/pkg/PLIST b/converters/uulib/pkg/PLIST new file mode 100644 index 00000000000..e6b4eb80ba4 --- /dev/null +++ b/converters/uulib/pkg/PLIST @@ -0,0 +1,17 @@ +lib/libuu.a +lib/libuu.so.1.0 +include/uu.h +share/doc/uulib/Makefile +share/doc/uulib/README +share/doc/uulib/binhex.fig +share/doc/uulib/library.ltx +share/doc/uulib/structure.fig +share/doc/uulib/td-v1.c +share/doc/uulib/td-v2.c +share/doc/uulib/td-v3.c +share/doc/uulib/test.txt +share/doc/uulib/porting.notes +share/doc/uulib/HISTORY +man/man3/uulib.3.gz +@exec /sbin/ldconfig -m %D/lib +@dirrm share/doc/uulib -- cgit v1.2.3