summaryrefslogtreecommitdiff
path: root/editors/uzap
diff options
context:
space:
mode:
authorJoerg Wunsch <joerg@FreeBSD.org>1995-06-22 21:27:29 +0000
committerJoerg Wunsch <joerg@FreeBSD.org>1995-06-22 21:27:29 +0000
commit141af0148c0ed094d7797fbee151f5be37deed33 (patch)
treedad8ce96e0d7e855e674bc32548b0880fda682d9 /editors/uzap
parentUpgrade to current state (diff)
uzap - a small & nice hex editor
Unfortunately, the copyright is somewhat restrictive, so we cannot make a package out of it. The author seem no longer to be reachable under the provided mail address.
Notes
Notes: svn path=/head/; revision=1859
Diffstat (limited to 'editors/uzap')
-rw-r--r--editors/uzap/Makefile20
-rw-r--r--editors/uzap/distinfo1
-rw-r--r--editors/uzap/files/patch-a40
-rw-r--r--editors/uzap/files/patch-b19
-rw-r--r--editors/uzap/pkg-comment1
-rw-r--r--editors/uzap/pkg-descr26
-rw-r--r--editors/uzap/pkg-plist3
7 files changed, 110 insertions, 0 deletions
diff --git a/editors/uzap/Makefile b/editors/uzap/Makefile
new file mode 100644
index 000000000000..ce2ea779a2cf
--- /dev/null
+++ b/editors/uzap/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: uzap
+# Version required: 1.0
+# Date created: 19 Jun 1995
+# Whom: joerg
+#
+# $Id$
+#
+
+DISTNAME= uzap
+PKGNAME= uzap-1.0
+CATEGORIES+= editors
+MASTER_SITES= ftp://ftp.germany.eu.net/pub/utils/uzap/
+EXTRACT_SUFX= .tar.gz
+
+WRKSRC= ${WRKDIR}
+
+# restrictive Copyright; the author is no longer reachable, however :-(
+NO_PACKAGE= yes
+
+.include <bsd.port.mk>
diff --git a/editors/uzap/distinfo b/editors/uzap/distinfo
new file mode 100644
index 000000000000..91ed5a93d965
--- /dev/null
+++ b/editors/uzap/distinfo
@@ -0,0 +1 @@
+MD5 (uzap.tar.gz) = 565efb05b977785191049e7da44149a0
diff --git a/editors/uzap/files/patch-a b/editors/uzap/files/patch-a
new file mode 100644
index 000000000000..6593df88550c
--- /dev/null
+++ b/editors/uzap/files/patch-a
@@ -0,0 +1,40 @@
+*** Makefile.orig Thu Mar 30 20:04:11 1989
+--- Makefile Mon Jun 19 22:15:57 1995
+***************
+*** 1,7 ****
+ # Makefile for Uzap.
+! BINDIR = /usr/local
+! MANDIR = /usr/man/manl
+! MSECT = l
+
+ uzap: uzap.o edit.o search.o screen.o
+ cc -O uzap.o edit.o search.o screen.o -lcurses -ltermcap -o uzap
+--- 1,9 ----
+ # Makefile for Uzap.
+! BINDIR = ${PREFIX}/bin/
+! MANDIR = ${PREFIX}/man/man1
+! MSECT = 1
+!
+! all: uzap
+
+ uzap: uzap.o edit.o search.o screen.o
+ cc -O uzap.o edit.o search.o screen.o -lcurses -ltermcap -o uzap
+***************
+*** 19,26 ****
+ cc -c -O screen.c
+
+ install: uzap
+! install -s -m 771 uzap $(BINDIR)
+! install -c -m 664 uzap.man $(MANDIR)/uzap.$(MSECT)
+
+ clean:
+! rm -f *.o core uzap
+--- 21,28 ----
+ cc -c -O screen.c
+
+ install: uzap
+! install -s -m 755 -o bin -g bin uzap $(BINDIR)
+! install -c -m 644 -o bin -g bin uzap.man $(MANDIR)/uzap.$(MSECT)
+
+ clean:
+! rm -f *.o core *.core uzap
diff --git a/editors/uzap/files/patch-b b/editors/uzap/files/patch-b
new file mode 100644
index 000000000000..39cfa5f07e90
--- /dev/null
+++ b/editors/uzap/files/patch-b
@@ -0,0 +1,19 @@
+*** search.c.orig Thu Mar 30 20:04:12 1989
+--- search.c Mon Jun 19 22:17:24 1995
+***************
+*** 217,223 ****
+ }
+ }
+ for(x= 0; x < len - 1; x+= 2){
+! strcpy(hdigit, hex + (len - x - 2), 2);
+ hdigit[2]= '\0';
+
+ if(hdigit[0] < 96) hdigit[0]= hdigit[0] - 48;
+--- 217,223 ----
+ }
+ }
+ for(x= 0; x < len - 1; x+= 2){
+! strncpy(hdigit, hex + (len - x - 2), 2);
+ hdigit[2]= '\0';
+
+ if(hdigit[0] < 96) hdigit[0]= hdigit[0] - 48;
diff --git a/editors/uzap/pkg-comment b/editors/uzap/pkg-comment
new file mode 100644
index 000000000000..548a9baa588f
--- /dev/null
+++ b/editors/uzap/pkg-comment
@@ -0,0 +1 @@
+Visual binary file editor
diff --git a/editors/uzap/pkg-descr b/editors/uzap/pkg-descr
new file mode 100644
index 000000000000..bd4f024e7ba0
--- /dev/null
+++ b/editors/uzap/pkg-descr
@@ -0,0 +1,26 @@
+
+/***************************************************************************/
+/* */
+/* Copyright (c) 1989, Robert Silvers - All rights reserved. */
+/* */
+/* This software is supplied free of charge. This software, or any part */
+/* of it, may not be redistributed or otherwise made available to, or */
+/* used by, any other person without the inclusion of this copyright */
+/* notice. This software may not be used to make a profit in any way. */
+/* */
+/* This software is provided with absolutely no warranty, to the extent */
+/* permitted by applicable state law. In no event, unless required by */
+/* applicable law, will the author(s) of this this software be liable for */
+/* any damages caused by this software. */
+/* */
+/***************************************************************************/
+
+
+
+
+ Uzap is a visual binary file editor for Unix systems written by
+Robert Silvers at the University of Lowell. See the included man page
+for more info.
+
+ rsilvers@hawk.ulowell.edu
+
diff --git a/editors/uzap/pkg-plist b/editors/uzap/pkg-plist
new file mode 100644
index 000000000000..b9023b108b49
--- /dev/null
+++ b/editors/uzap/pkg-plist
@@ -0,0 +1,3 @@
+@cwd /usr/local
+bin/uzap
+man/man1/uzap.1