diff options
author | joerg <joerg@FreeBSD.org> | 1995-06-22 21:27:29 +0000 |
---|---|---|
committer | joerg <joerg@FreeBSD.org> | 1995-06-22 21:27:29 +0000 |
commit | ab727dd65cf02a40c95c2628a81a8603b15dc355 (patch) | |
tree | 81b2563c3bfb1b583f1b4a2b0ab19f10e366dbe2 /editors | |
parent | 15f4789e85ccf5be6d0dad1290fb44d82090f300 (diff) | |
download | FreeBSD-ports-ab727dd65cf02a40c95c2628a81a8603b15dc355.zip FreeBSD-ports-ab727dd65cf02a40c95c2628a81a8603b15dc355.tar.gz |
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.
Diffstat (limited to 'editors')
-rw-r--r-- | editors/uzap/Makefile | 20 | ||||
-rw-r--r-- | editors/uzap/distinfo | 1 | ||||
-rw-r--r-- | editors/uzap/files/patch-a | 40 | ||||
-rw-r--r-- | editors/uzap/files/patch-b | 19 | ||||
-rw-r--r-- | editors/uzap/pkg-comment | 1 | ||||
-rw-r--r-- | editors/uzap/pkg-descr | 26 | ||||
-rw-r--r-- | editors/uzap/pkg-plist | 3 |
7 files changed, 110 insertions, 0 deletions
diff --git a/editors/uzap/Makefile b/editors/uzap/Makefile new file mode 100644 index 0000000..ce2ea77 --- /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 0000000..91ed5a9 --- /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 0000000..6593df8 --- /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 0000000..39cfa5f --- /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 0000000..548a9ba --- /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 0000000..bd4f024 --- /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 0000000..b9023b1 --- /dev/null +++ b/editors/uzap/pkg-plist @@ -0,0 +1,3 @@ +@cwd /usr/local +bin/uzap +man/man1/uzap.1 |