mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Update to version 1.0.0 and use ncurses in the base system.
PR: 9121 Submitted by: maintainer
This commit is contained in:
parent
604045cd96
commit
b391cd0fc0
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=15984
@ -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
|
||||
|
@ -1 +1 @@
|
||||
MD5 (hexedit-0.9.3.src.tgz) = 81268b02efee3786c91eb30778fe8afc
|
||||
MD5 (hexedit-1.0.0.src.tgz) = cbf49bfa81f0e3c779b46c9cbe4266b7
|
||||
|
@ -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
|
||||
|
16
editors/hexedit/files/patch-ab
Normal file
16
editors/hexedit/files/patch-ab
Normal file
@ -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)
|
Loading…
Reference in New Issue
Block a user