summaryrefslogtreecommitdiff
path: root/converters/uudeview
diff options
context:
space:
mode:
authorThomas Gellekum <tg@FreeBSD.org>1996-08-23 06:45:09 +0000
committerThomas Gellekum <tg@FreeBSD.org>1996-08-23 06:45:09 +0000
commit4139cf3d170f2183c374400e53df62a13162dfde (patch)
tree8e45bb9d479e19d27974819b48b163554a214060 /converters/uudeview
parentImport of uulib, part of the bigger uudeview package. It contains (diff)
Import of uudeview; decode unordered files in any of uu/xx/base64/binhex
formats. Submitted by: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
Notes
Notes: svn path=/head/; revision=3682
Diffstat (limited to 'converters/uudeview')
-rw-r--r--converters/uudeview/Makefile66
-rw-r--r--converters/uudeview/distinfo1
-rw-r--r--converters/uudeview/files/patch-aa52
-rw-r--r--converters/uudeview/files/porting.notes11
-rw-r--r--converters/uudeview/pkg-comment1
-rw-r--r--converters/uudeview/pkg-descr8
-rw-r--r--converters/uudeview/pkg-plist6
7 files changed, 145 insertions, 0 deletions
diff --git a/converters/uudeview/Makefile b/converters/uudeview/Makefile
new file mode 100644
index 000000000000..2ce92ff37edd
--- /dev/null
+++ b/converters/uudeview/Makefile
@@ -0,0 +1,66 @@
+# New ports collection makefile for: uulib
+# Version Required: 0.5.4 (aka. 0.5pl4)
+# Date Created: 04 Aug 1996
+# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
+#
+# $Id$
+#
+
+DISTNAME= uudeview-0.5.4
+CATEGORIES+= archivers
+CATEGORIES+= mail
+MASTER_SITES= http://www.uni-frankfurt.de/~fp/uudeview/Apps/frank/
+
+MAINTAINER= ac199@freenet.hamilton.on.ca
+
+BUILD_DEPENDS= ${PREFIX}/lib/libuu.a:${PORTSDIR}/devel/uulib
+
+GNU_CONFIGURE= Yes
+# Comment-out the next line and you'll probably enable posting. I've
+# never tried it, and if you do do it, pkg_delete won't delete all the
+# files that are installed.
+# NOTE further that all you'll really do is cause uudeview to install
+# its own minews do-hicky.
+CONFIGURE_ARGS= --disable-minews
+CONFIGURE_ARGS+= --prefix=${PREFIX} --disable-tcl
+
+EXTRAFILES+= porting.notes
+
+# DOCDIR is used in bsd.own.mk
+PORTDOCDIR?= share/doc/uudeview
+DOCFILES+= porting.notes
+DOCFILES+= HOWTO
+
+post-patch:
+ @${ECHO_MSG} "===> Adding extra files";
+ @for l in ${EXTRAFILES}; do \
+ cp ${FILESDIR}/$${l} ${WRKSRC}/$${l}; \
+ done
+
+# Maybe we should pay attention to DOCOWN, DOCGRP, and DOCMODE, set in
+# bsd.own.mk
+post-install:
+.if !defined(NOPORTDOCS)
+ @if [ 'x${DOCFILES}' != x ] ; \
+ then; \
+ ${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}"; \
+ fi;
+ mkdir -p ${PREFIX}/${PORTDOCDIR};
+ @for l in ${DOCFILES}; \
+ do; \
+ cp ${WRKSRC}/$$l ${PREFIX}/${PORTDOCDIR}; \
+ done
+.else
+ @if [ 'x${DOCFILES}' != x ] ; \
+ then \
+ ${ECHO_MSG} "===> Not copying available documents to ${PREFIX}/${PORTDOCDIR}"; \
+ fi;
+.endif
+.if !defined(NOMANCOMPRESS)
+ gzip -9nf ${PREFIX}/man/man1/uudeview.1
+ gzip -9nf ${PREFIX}/man/man1/uuenview.1
+.endif
+ strip ${PREFIX}/bin/uudeview
+ strip ${PREFIX}/bin/uuenview
+
+.include <bsd.port.mk>
diff --git a/converters/uudeview/distinfo b/converters/uudeview/distinfo
new file mode 100644
index 000000000000..e1f1f3b578e5
--- /dev/null
+++ b/converters/uudeview/distinfo
@@ -0,0 +1 @@
+MD5 (uudeview-0.5.4.tar.gz) = b3a457faa0f81920c9abdbfe627f83b5
diff --git a/converters/uudeview/files/patch-aa b/converters/uudeview/files/patch-aa
new file mode 100644
index 000000000000..1ecc67a80ab9
--- /dev/null
+++ b/converters/uudeview/files/patch-aa
@@ -0,0 +1,52 @@
+diff -ud --recursive ./Makefile.in /usr/devel/ports/uudeview/src/Makefile.in
+--- ./Makefile.in Sat Jul 20 17:43:22 1996
++++ /usr/devel/ports/uudeview/src/Makefile.in Thu Aug 1 20:07:25 1996
+@@ -144,7 +144,7 @@
+ cat uudeview-$(VERSION).$(PATCH).tar.gz >> uudeview-sfx-$(VERSION).$(PATCH).sh
+ chmod 755 uudeview-sfx*
+
+-uudeview: unix/config.h libuu.a
++uudeview: unix/config.h
+ (cd unix; $(MAKE) CC='$(CC)' CFLAGS='$(CFLAGS)' LIBS='$(LIBS)' )
+
+ xdeview: tcl/config.h libuu.a
+diff -ud --recursive ./man/uudeview.1 /usr/devel/ports/uudeview/src/man/uudeview.1
+--- ./man/uudeview.1 Sun Jul 21 05:54:38 1996
++++ /usr/devel/ports/uudeview/src/man/uudeview.1 Thu Aug 1 18:03:36 1996
+@@ -319,6 +319,8 @@
+ .BR uuenview (1),
+ .BR uudecode (1),
+ .BR uuencode (1),
++.BR munpack (1),
++.BR metamail (1),
+ .PD 0
+ .PP
+ The
+diff -ud --recursive ./man/uuenview.1 /usr/devel/ports/uudeview/src/man/uuenview.1
+--- ./man/uuenview.1 Sat Jul 20 16:38:46 1996
++++ /usr/devel/ports/uudeview/src/man/uuenview.1 Thu Aug 1 18:04:22 1996
+@@ -145,6 +145,8 @@
+ .BR uudecode (1),
+ .BR mail (1),
+ .BR inews (1),
++.BR mpack (1),
++.BR metamail (1),
+ .PD 0
+ .PP
+ The
+diff -ud --recursive ./unix/Makefile.in /usr/devel/ports/uudeview/src/unix/Makefile.in
+--- ./unix/Makefile.in Thu Jun 6 15:41:08 1996
++++ /usr/devel/ports/uudeview/src/unix/Makefile.in Thu Aug 1 20:15:58 1996
+@@ -115,10 +115,10 @@
+ rm -f uudeview uuenview
+ make all
+
+-uudeview: $(UUDEVIEW_OBJ) ../uulib/libuu.a
++uudeview: $(UUDEVIEW_OBJ)
+ $(CC) -o $@ $(UUDEVIEW_OBJ) -L../uulib -luu $(LIBS)
+
+-uuenview: $(UUENVIEW_OBJ) ../uulib/libuu.a
++uuenview: $(UUENVIEW_OBJ)
+ $(CC) -o $@ $(UUENVIEW_OBJ) -L../uulib -luu $(LIBS)
+
+ .c.o:
diff --git a/converters/uudeview/files/porting.notes b/converters/uudeview/files/porting.notes
new file mode 100644
index 000000000000..5793a17cea50
--- /dev/null
+++ b/converters/uudeview/files/porting.notes
@@ -0,0 +1,11 @@
+This was originally one distribution for uudeview, but I broke it up
+to make it cleaner and more useful. It is now uulib, uudeview. Once
+I learn more about tcl (or someone else does it), I'll have to make
+the third part -- xdeview.
+
+Because it is split up, it is possible for other (theoretical future)
+ports to use libuu.a. I dare say it also makes the whole thing that
+much cleaner.
+
+The source itself is quite portable and required no patching.
+
diff --git a/converters/uudeview/pkg-comment b/converters/uudeview/pkg-comment
new file mode 100644
index 000000000000..bd53d87a079a
--- /dev/null
+++ b/converters/uudeview/pkg-comment
@@ -0,0 +1 @@
+A program for uu/xx/Base64/BinHex de-/encoding.
diff --git a/converters/uudeview/pkg-descr b/converters/uudeview/pkg-descr
new file mode 100644
index 000000000000..d0260afa8d10
--- /dev/null
+++ b/converters/uudeview/pkg-descr
@@ -0,0 +1,8 @@
+This is a powerful program at which you can throw a mess of
+unordered files in any of BinHex, uuencoded, xxencoded, or
+Base64 formats and expect them all to be properly decoded.
+It even handles encodings that have been garbled by some
+versions of Netscape or that are missing some parts!
+
+It is also able to encode in all of the above formats except for
+BinHex.
diff --git a/converters/uudeview/pkg-plist b/converters/uudeview/pkg-plist
new file mode 100644
index 000000000000..ecfea7f2f0d2
--- /dev/null
+++ b/converters/uudeview/pkg-plist
@@ -0,0 +1,6 @@
+share/doc/uudeview/HOWTO
+share/doc/uudeview/porting.notes
+man/man1/uudeview.1.gz
+man/man1/uuenview.1.gz
+bin/uudeview
+bin/uuenview