summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1999-01-10 18:58:32 +0000
committerSteve Price <steve@FreeBSD.org>1999-01-10 18:58:32 +0000
commitb391cd0fc050d13113f9eb7a87ba235f90de4717 (patch)
treee262adec0afe36973060d88d45e721a8434d72ed
parentActivate the amaya port. (diff)
Update to version 1.0.0 and use ncurses in the base system.
PR: 9121 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=15984
-rw-r--r--editors/hexedit/Makefile26
-rw-r--r--editors/hexedit/distinfo2
-rw-r--r--editors/hexedit/files/patch-aa33
-rw-r--r--editors/hexedit/files/patch-ab16
4 files changed, 45 insertions, 32 deletions
diff --git a/editors/hexedit/Makefile b/editors/hexedit/Makefile
index 79486592d8f2..4a4976e300f0 100644
--- a/editors/hexedit/Makefile
+++ b/editors/hexedit/Makefile
@@ -1,30 +1,32 @@
# New ports collection makefile for: hexedit
-# Version required: 0.9.3
+# Version required: 1.0.0
# Date created: 5 August 1998
# Whom: Andrey Zakhvatov
#
-# $Id: Makefile,v 1.2 1998/08/20 09:39:06 asami Exp $
+# $Id: Makefile,v 1.3 1998/10/09 10:05:49 asami Exp $
#
-DISTNAME= hexedit-0.9.3
-CATEGORIES= editors
-MASTER_SITES= http://www.chez.com/prigaux/
-EXTRACT_SUFX= .src.tgz
+DISTNAME= hexedit-1.0.0
+CATEGORIES= editors
+MASTER_SITES= http://www.chez.com/prigaux/ \
+ ${MASTER_SITE_SUNSITE}
+MASTER_SITE_SUBDIR= utils/file/hex
+EXTRACT_SUFX= .src.tgz
-MAINTAINER= andy@icc.surw.chel.su
+MAINTAINER= andy@icc.surw.chel.su
-LIB_DEPENDS= ncurses.4:${PORTSDIR}/devel/ncurses
-
-MANUAL_PACKAGE_BUILD= depends on ncurses
+USE_AUTOCONF= yes
ALL_TARGET=
-WRKSRC= ${WRKDIR}/hexedit
+WRKSRC= ${WRKDIR}/hexedit
-MAN1= hexedit.1
+MAN1= hexedit.1
do-install:
@ ${INSTALL_PROGRAM} ${WRKSRC}/hexedit ${PREFIX}/bin
@ ${INSTALL_MAN} ${WRKSRC}/hexedit.1 ${PREFIX}/man/man1
+
+post-install:
.if !defined(NOPORTDOCS)
@ ${MKDIR} ${PREFIX}/share/doc/hexedit
.for file in COPYING Changes TODO
diff --git a/editors/hexedit/distinfo b/editors/hexedit/distinfo
index 466cd9562a5b..fab049565d41 100644
--- a/editors/hexedit/distinfo
+++ b/editors/hexedit/distinfo
@@ -1 +1 @@
-MD5 (hexedit-0.9.3.src.tgz) = 81268b02efee3786c91eb30778fe8afc
+MD5 (hexedit-1.0.0.src.tgz) = cbf49bfa81f0e3c779b46c9cbe4266b7
diff --git a/editors/hexedit/files/patch-aa b/editors/hexedit/files/patch-aa
index 141ec2b8a453..104512a9dcbb 100644
--- a/editors/hexedit/files/patch-aa
+++ b/editors/hexedit/files/patch-aa
@@ -1,19 +1,14 @@
---- Makefile Sun Jul 26 14:10:26 1998
-+++ /home/andy/tmp/wrk/Makefile Wed Aug 5 15:44:32 1998
-@@ -1,14 +1,14 @@
- PROJECT = hexedit
- VERSION = 0.9.3
-
--CC=gcc
-+#CC=gcc
- TARSOURCE = $(PROJECT)-$(VERSION).src.tgz
- DYNAMICBIN = $(PROJECT)-$(VERSION).bin.i386.dynamic.tgz
- HTMLSITE = $(PROJECT)-html-site.tar
- HTMLFILES = $(PROJECT).html
- TMPFILES = $(DYNAMICBIN) $(TARSOURCE) $(HTMLFILES)
-
--CFLAGS = -Wall -O2
-+CFLAGS+= -I/usr/local/include/ncurses -I/usr/local/include -L/usr/local/lib -lncurses
- LOADLIBES = -lcurses
-
- .PHONY: clean tgz docs
+--- hexedit.h.orig Mon Aug 31 20:50:50 1998
++++ hexedit.h Sun Dec 6 15:36:13 1998
+@@ -12,7 +12,11 @@
+ #if HAVE_UNISTD_H
+ #include <unistd.h>
+ #endif
++#if HAVE_NCURSES_H
++#include <ncurses.h>
++#else
+ #include <curses.h>
++#endif
+ #include <ctype.h>
+ #include <signal.h>
+ #if HAVE_SYS_WAIT_H
diff --git a/editors/hexedit/files/patch-ab b/editors/hexedit/files/patch-ab
new file mode 100644
index 000000000000..05a59be69775
--- /dev/null
+++ b/editors/hexedit/files/patch-ab
@@ -0,0 +1,16 @@
+--- configure.in.orig Thu Sep 10 17:23:35 1998
++++ configure.in Sun Dec 6 15:31:53 1998
+@@ -23,10 +23,11 @@
+ AC_PROG_INSTALL
+
+ dnl Checks for libraries.
+-AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses",
+-AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses"))
++AC_CHECK_LIB(ncurses, initscr, LIBS="$LIBS -lncurses",
++AC_CHECK_LIB(curses, initscr, LIBS="$LIBS -lcurses"))
+
+ dnl Checks for header files.
++AC_CHECK_HEADER(ncurses.h, [AC_DEFINE(HAVE_NCURSES_H)])
+ AC_HEADER_STDC
+ AC_HEADER_SYS_WAIT
+ AC_CHECK_HEADERS(fcntl.h unistd.h)