aboutsummaryrefslogtreecommitdiffstats
path: root/editors/bvi
diff options
context:
space:
mode:
authorvd <vd@FreeBSD.org>2006-03-24 15:20:52 +0800
committervd <vd@FreeBSD.org>2006-03-24 15:20:52 +0800
commit781a422bf0c73d569696c33735d3b11bcc7c4390 (patch)
treee15f4c5b67c53bae19aa8ca84e2ea7e5edd68b41 /editors/bvi
parent35e6d0da1a2f5a34d0c92af67101484bf7d1c071 (diff)
downloadfreebsd-ports-gnome-781a422bf0c73d569696c33735d3b11bcc7c4390.tar.gz
freebsd-ports-gnome-781a422bf0c73d569696c33735d3b11bcc7c4390.tar.zst
freebsd-ports-gnome-781a422bf0c73d569696c33735d3b11bcc7c4390.zip
* Update from 1.3.1 to 1.3.2
* Adopt
Diffstat (limited to 'editors/bvi')
-rw-r--r--editors/bvi/Makefile7
-rw-r--r--editors/bvi/distinfo6
-rw-r--r--editors/bvi/files/patch-Makefile.in36
-rw-r--r--editors/bvi/files/patch-bmore.h14
-rw-r--r--editors/bvi/pkg-plist4
5 files changed, 45 insertions, 22 deletions
diff --git a/editors/bvi/Makefile b/editors/bvi/Makefile
index 448bcb12a0c1..01a1eb87aa9b 100644
--- a/editors/bvi/Makefile
+++ b/editors/bvi/Makefile
@@ -6,17 +6,18 @@
#
PORTNAME= bvi
-PORTVERSION= 1.3.1
+PORTVERSION= 1.3.2
CATEGORIES= editors
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= bvi
EXTRACT_SUFX= .src.tar.gz
-MAINTAINER= ports@FreeBSD.org
+MAINTAINER= vd@FreeBSD.org
COMMENT= A vi-like binary file (hex)editor
GNU_CONFIGURE= yes
-CONFIGURE_ARGS= --datadir=${PREFIX}/share/bvi
+CONFIGURE_TARGET= --build=${MACHINE_ARCH}-portbld-freebsd${OSREL}
+CONFIGURE_ARGS= --datadir=${DATADIR}
MAN1= bvi.1 bmore.1
MLINKS= bvi.1 bview.1 \
diff --git a/editors/bvi/distinfo b/editors/bvi/distinfo
index ab56693b07f3..ce8368456d05 100644
--- a/editors/bvi/distinfo
+++ b/editors/bvi/distinfo
@@ -1,3 +1,3 @@
-MD5 (bvi-1.3.1.src.tar.gz) = b9d77c57bda2e019207a1874d9bb4dea
-SHA256 (bvi-1.3.1.src.tar.gz) = c94dbfa293cbc61b8571d025e90fd1f06a34f8d4e5b11a59856bfc1f13014de3
-SIZE (bvi-1.3.1.src.tar.gz) = 168203
+MD5 (bvi-1.3.2.src.tar.gz) = 4257305ffb27177a6d5208b2df4ca92d
+SHA256 (bvi-1.3.2.src.tar.gz) = ff390af1c474bf870b6171332726b93bad8e716ea378827b55d8aae82dee1c84
+SIZE (bvi-1.3.2.src.tar.gz) = 170444
diff --git a/editors/bvi/files/patch-Makefile.in b/editors/bvi/files/patch-Makefile.in
new file mode 100644
index 000000000000..7b9b40b2b3b1
--- /dev/null
+++ b/editors/bvi/files/patch-Makefile.in
@@ -0,0 +1,36 @@
+--- Makefile.in.orig Thu Jul 3 15:55:22 2003
++++ Makefile.in Fri Mar 24 09:03:08 2006
+@@ -26,6 +26,7 @@
+ bindir = $(DESTDIR)@bindir@
+ mandir = $(DESTDIR)@mandir@
+ libdir = $(DESTDIR)@libdir@
++datadir= $(DESTDIR)@datadir@
+
+ man1dir = $(mandir)/man1
+
+@@ -58,7 +59,7 @@
+ $(CC) $(CFLAGS) $(DEFS) -c $<
+
+ bmore.o: bmore.c
+- $(CC) $(CFLAGS) $(DEFS) -DHELPFILE=\"$(libdir)/bmore.help\" -c $<
++ $(CC) $(CFLAGS) $(DEFS) -DHELPFILE=\"$(datadir)/bmore.help\" -c $<
+
+
+ install: all installdirs
+@@ -66,14 +67,14 @@
+ @$(INSTALL_DATA) bvi.1 bmore.1 $(man1dir)
+ @$(INSTALL_PROGRAM) -s bvi $(bindir)
+ @$(INSTALL_PROGRAM) -s bmore $(bindir)
+- @$(INSTALL_DATA) bmore.help $(libdir)
++ @$(INSTALL_DATA) bmore.help $(datadir)
+ @if [ -f $(bindir)/bview ]; then rm $(bindir)/bview; fi
+ @if [ -f $(bindir)/bvedit ]; then rm $(bindir)/bvedit; fi
+ @ln $(bindir)/bvi $(bindir)/bview
+ @ln $(bindir)/bvi $(bindir)/bvedit
+
+ installdirs:
+- $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(libdir) $(man1dir)
++ $(SHELL) ${srcdir}/mkinstalldirs $(bindir) $(libdir) $(man1dir) $(datadir)
+
+ uninstall:
+ @echo "Uninstalling bvi"
diff --git a/editors/bvi/files/patch-bmore.h b/editors/bvi/files/patch-bmore.h
deleted file mode 100644
index e1a5556421ef..000000000000
--- a/editors/bvi/files/patch-bmore.h
+++ /dev/null
@@ -1,14 +0,0 @@
-
-$FreeBSD$
-
---- bmore.h.orig Tue Feb 19 00:41:05 2002
-+++ bmore.h Tue Feb 19 00:41:22 2002
-@@ -48,7 +48,7 @@
- # include <unistd.h>
- #if HAVE_NCURSES_H
- # include <ncurses.h>
--# include <ncurses/term.h>
-+# include <term.h>
- #else
- # include <curses.h>
- # include <term.h>
diff --git a/editors/bvi/pkg-plist b/editors/bvi/pkg-plist
index ce785a3fcce1..d0914c0d38cc 100644
--- a/editors/bvi/pkg-plist
+++ b/editors/bvi/pkg-plist
@@ -2,5 +2,5 @@ bin/bmore
bin/bvedit
bin/bvi
bin/bview
-share/bvi/bmore.help
-@dirrm share/bvi
+%%DATADIR%%/bmore.help
+@dirrm %%DATADIR%%