summaryrefslogtreecommitdiff
path: root/converters/xdeview
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>1998-03-02 00:14:13 +0000
committertron <tron@pkgsrc.org>1998-03-02 00:14:13 +0000
commit676c6bc68b05d686bbd19af17031b507ae595597 (patch)
tree0c0f10904f5842b30ac3167b87c1f68623767020 /converters/xdeview
parent7036a16745266bf501230886e10ad85636584e09 (diff)
downloadpkgsrc-676c6bc68b05d686bbd19af17031b507ae595597.tar.gz
Initial import of FreeBSD's "xdeview-0.5.13" port.
Diffstat (limited to 'converters/xdeview')
-rw-r--r--converters/xdeview/Makefile43
-rw-r--r--converters/xdeview/files/md52
-rw-r--r--converters/xdeview/files/porting.notes15
-rw-r--r--converters/xdeview/patches/patch-aa11
-rw-r--r--converters/xdeview/patches/patch-ab13
-rw-r--r--converters/xdeview/pkg/COMMENT1
-rw-r--r--converters/xdeview/pkg/DESCR6
-rw-r--r--converters/xdeview/pkg/PLIST6
8 files changed, 97 insertions, 0 deletions
diff --git a/converters/xdeview/Makefile b/converters/xdeview/Makefile
new file mode 100644
index 00000000000..28badbfbe83
--- /dev/null
+++ b/converters/xdeview/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: xdeview
+# Version Required: 0.5.13
+# Date Created: 9 Feb 1997
+# Whom: Tim Vanderhoek <ac199@freenet.hamilton.on.ca>
+#
+# $FreeBSD Id: Makefile,v 1.11 1998/02/24 21:43:45 jseger Exp
+#
+
+DISTNAME= uudeview-0.5.13
+PKGNAME= xdeview-0.5.13
+CATEGORIES= converters tk81
+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
+
+LIB_DEPENDS= tk81\\.1\\.:${PORTSDIR}/x11/tk81 \
+ uu\\.1\\.:${PORTSDIR}/converters/uulib
+
+GNU_CONFIGURE= yes
+CONFIGURE_ARGS= --enable-tcl="${PREFIX}" --enable-tk="${PREFIX}"
+# Season to taste --- anything over tcl7.5
+CONFIGURE_ENV= CPPFLAGS="-I${PREFIX}/include/tcl8.1 -I${PREFIX}/include/tk8.1"
+
+ALL_TARGET= xdeview
+INSTALL_TARGET= install-tcl
+MAN1= xdeview.1
+
+PORTDOCDIR?= share/doc/xdeview
+DOCFILES= ${FILESDIR}/porting.notes ${WRKSRC}/HOWTO
+
+post-install:
+ strip ${PREFIX}/bin/uuwish
+.if !defined(NOPORTDOCS)
+ @${ECHO_MSG} "===> Copying documents to ${PREFIX}/${PORTDOCDIR}"
+ @${MKDIR} ${PREFIX}/${PORTDOCDIR}
+ ${INSTALL_MAN} ${DOCFILES} ${PREFIX}/${PORTDOCDIR}
+.else
+ @${ECHO_MSG} "===> Not copying available documents"
+.endif
+ ${INSTALL_MAN} ${WRKSRC}/man/xdeview.1 ${PREFIX}/man/man1
+
+.include <bsd.port.mk>
diff --git a/converters/xdeview/files/md5 b/converters/xdeview/files/md5
new file mode 100644
index 00000000000..bd0259d935c
--- /dev/null
+++ b/converters/xdeview/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/xdeview/files/porting.notes b/converters/xdeview/files/porting.notes
new file mode 100644
index 00000000000..eb15b92e976
--- /dev/null
+++ b/converters/xdeview/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 <ac199@freenet.hamilton.on.ca>
diff --git a/converters/xdeview/patches/patch-aa b/converters/xdeview/patches/patch-aa
new file mode 100644
index 00000000000..e68426775ef
--- /dev/null
+++ b/converters/xdeview/patches/patch-aa
@@ -0,0 +1,11 @@
+--- ./configure.org Thu Jan 9 06:22:00 1997
++++ ./configure Sun Mar 30 04:25:11 1997
+@@ -3148,7 +3148,7 @@
+
+ fi
+
+-for ac_hdr in fcntl.h unistd.h memory.h malloc.h errno.h direct.h
++for ac_hdr in fcntl.h unistd.h memory.h errno.h direct.h
+ do
+ ac_safe=`echo "$ac_hdr" | tr './\055' '___'`
+ echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
diff --git a/converters/xdeview/patches/patch-ab b/converters/xdeview/patches/patch-ab
new file mode 100644
index 00000000000..4f1a3519637
--- /dev/null
+++ b/converters/xdeview/patches/patch-ab
@@ -0,0 +1,13 @@
+--- tcl/Makefile.in.orig Thu Jun 6 13:09:05 1996
++++ tcl/Makefile.in Wed Apr 2 00:06:10 1997
+@@ -95,8 +95,8 @@
+ rm -f uuwish [Xx]deview gif2gfp
+ make all
+
+-uuwish: $(OBJ) ../uulib/libuu.a
+- $(CC) -o $@ $(OBJ) -L../uulib -luu $(LIBS)
++uuwish: $(OBJ)
++ $(CC) -o $@ $(OBJ) -luu $(LIBS)
+
+ xdeview: xdeview.head tk_MFSbox.tcl xdeview.tail
+ rm -f $@
diff --git a/converters/xdeview/pkg/COMMENT b/converters/xdeview/pkg/COMMENT
new file mode 100644
index 00000000000..0c027ddc79d
--- /dev/null
+++ b/converters/xdeview/pkg/COMMENT
@@ -0,0 +1 @@
+An X11 program for uu/xx/Base64/BinHex de-/encoding.
diff --git a/converters/xdeview/pkg/DESCR b/converters/xdeview/pkg/DESCR
new file mode 100644
index 00000000000..f984de6fc3b
--- /dev/null
+++ b/converters/xdeview/pkg/DESCR
@@ -0,0 +1,6 @@
+This is a powerful and easy-to-use tcl/tk-based program
+which can decode BinHex, uuencoded, xxencoded, and Base64
+formats, and encode in all of those except for BinHex.
+
+Xdeview uses tcl/tk 8.0, but the port can be configured to
+use other tcl/tk versions (see the port Makefile).
diff --git a/converters/xdeview/pkg/PLIST b/converters/xdeview/pkg/PLIST
new file mode 100644
index 00000000000..549b70bdf63
--- /dev/null
+++ b/converters/xdeview/pkg/PLIST
@@ -0,0 +1,6 @@
+share/doc/xdeview/HOWTO
+share/doc/xdeview/porting.notes
+bin/uuwish
+bin/xdeview
+man/man1/xdeview.1.gz
+@dirrm share/doc/xdeview