mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-24 09:25:01 +00:00
Update to 1.9.8
This commit is contained in:
parent
f6b149851c
commit
e7319382bd
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75526
@ -6,15 +6,21 @@
|
||||
#
|
||||
|
||||
PORTNAME= hnb
|
||||
PORTVERSION= 1.8.1
|
||||
PORTVERSION= 1.9.8
|
||||
CATEGORIES= editors
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= pat@FreeBSD.org
|
||||
|
||||
GNU_CONFIGURE= yes
|
||||
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}/src
|
||||
USE_GMAKE= yes
|
||||
ALL_TARGET=
|
||||
|
||||
MAN1= hnb.1
|
||||
|
||||
do-install:
|
||||
${INSTALL_PROGRAM} ${WRKSRC}/hnb ${PREFIX}/bin
|
||||
${INSTALL_MAN} ${WRKSRC}/../doc/hnb.1 ${MANPREFIX}/man/man1
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -1 +1 @@
|
||||
MD5 (hnb-1.8.1.tar.gz) = bcbf069d7cb3d3f80d7ee39bc6f5f669
|
||||
MD5 (hnb-1.9.8.tar.gz) = f571f61a0c4f65d9f8a3669234490f42
|
||||
|
33
editors/hnb/files/patch-Makefile
Normal file
33
editors/hnb/files/patch-Makefile
Normal file
@ -0,0 +1,33 @@
|
||||
--- Makefile.orig Fri Feb 14 13:28:40 2003
|
||||
+++ Makefile Fri Feb 14 13:28:26 2003
|
||||
@@ -1,5 +1,5 @@
|
||||
LIBS=-lncurses libcli/libcli.a
|
||||
-CFLAGS=-I.. -Ilibcli -DHAVE_CONFIG_H -Wall -O2
|
||||
+CFLAGS+=-I.. -Ilibcli -DHAVE_CONFIG_H -Wall
|
||||
|
||||
OBJS= ui_cli.o hnb.o node.o path.o prefs.o tokenizer.o tree.o tree_sort.o tree_todo.o\
|
||||
ui.o ui_binding.o ui_draw.o ui_overlay.o evilloop.o ui_edit.o \
|
||||
@@ -10,12 +10,12 @@
|
||||
|
||||
|
||||
hnb: libcli/libcli.a $(OBJS) Makefile
|
||||
- cc -o hnb $(OBJS) $(LIBS)
|
||||
+ $(CC) -o hnb $(OBJS) $(LIBS)
|
||||
|
||||
ui_cli.c: cli_entries.inc cli_decls.inc
|
||||
|
||||
xml_debug: xml_tok.o xml_debug.o
|
||||
- cc -o xml_debug xml_tok.o xml_debug.o
|
||||
+ $(CC) -o xml_debug xml_tok.o xml_debug.o
|
||||
|
||||
libcli/libcli.a: libcli/*.c
|
||||
(cd libcli;make)
|
||||
@@ -32,7 +32,7 @@
|
||||
rm -f xml_debug hnb $(OBJS) *~ cli_*.inc
|
||||
(cd libcli;make clean)
|
||||
hnb_p: *.c libcli/libcli_p.a
|
||||
- cc -o hnb_p *.c -pg -lncurses_p libcli/libcli_p.a -I.. -Ilibcli -DHAVE_CONFIG_H
|
||||
+ $(CC) -o hnb_p *.c -pg $(LIBS) $(CFLAGS)
|
||||
|
||||
ps:
|
||||
dot -Tps xml.dot > xml_states.ps
|
26
editors/hnb/files/patch-libcli::Makefile
Normal file
26
editors/hnb/files/patch-libcli::Makefile
Normal file
@ -0,0 +1,26 @@
|
||||
--- libcli/Makefile.orig Fri Feb 14 13:29:46 2003
|
||||
+++ libcli/Makefile Fri Feb 14 13:30:11 2003
|
||||
@@ -1,5 +1,3 @@
|
||||
-CFLAGS = -Wall -O3
|
||||
-
|
||||
OBJS = cli.o cli_history.o
|
||||
|
||||
all: libcli.a libcli.so test-static test-shared
|
||||
@@ -9,12 +7,12 @@
|
||||
libcli.a: $(OBJS)
|
||||
ar rcs libcli.a cli*.o
|
||||
libcli_p.a:
|
||||
- cc -pg -c cli.c
|
||||
- cc -pg -c cli_history.c
|
||||
+ $(CC) -pg -c cli.c
|
||||
+ $(CC) -pg -c cli_history.c
|
||||
ar rcs libcli_p.a cli*.o
|
||||
libcli.so: $(OBJS)
|
||||
- cc -shared cli*.o -o libcli.so $(CFLAGS) $(LIBS)
|
||||
+ $(CC) -shared cli*.o -o libcli.so $(CFLAGS) $(LIBS)
|
||||
test-static: test.o libcli.a
|
||||
- cc -o test-static test.o libcli.a $(CFLAGS) $(LIBS)
|
||||
+ $(CC) -o test-static test.o libcli.a $(CFLAGS) $(LIBS)
|
||||
test-shared: test.o libcli.so
|
||||
- cc -o test-shared test.o -L. -lcli $(CFLAGS) $(LIBS)
|
||||
+ $(CC) -o test-shared test.o -L. -lcli $(CFLAGS) $(LIBS)
|
Loading…
Reference in New Issue
Block a user