Monday, August 21, 2017

Re: [UPDATE] editors/hexedit to 1.3

On Mon, Aug 21, 2017 at 02:01:49PM +0200, Jeremie Courreges-Anglas wrote:

> > +BUILD_DEPENDS = ${MODGNU_AUTOCONF_DEPENDS} \
> > + ${MODGNU_AUTOMAKE_DEPENDS}
> > +
> > +CONFIGURE_STYLE= autoconf
> > +AUTOCONF_VERSION= 2.69
> > +AUTOMAKE_VERSION= 1.15
>
> automake isn't used. You can just kill AUTOMAKE_VERSION and
> BUILD_DEPENDS (CONFIGURE_STYLE=autoconf + AUTOCONF_VERSION will do the
> right thing).

Indeed, thanks for spotting this. Revised diff below.

Comments? OK?

Index: Makefile
===================================================================
RCS file: /cvs/ports/editors/hexedit/Makefile,v
retrieving revision 1.25
diff -u -p -r1.25 Makefile
--- Makefile 11 Mar 2013 11:02:49 -0000 1.25
+++ Makefile 21 Aug 2017 14:52:32 -0000
@@ -2,23 +2,25 @@

COMMENT= view and edit files in hexadecimal or ASCII

-DISTNAME= hexedit-1.2.12
-CATEGORIES= editors
+GH_ACCOUNT= pixel
+GH_PROJECT= hexedit
+GH_TAGNAME= 1.3

-MASTER_SITES= http://www.chez.com/prigaux/ \
- http://merd.net/pixel/
-EXTRACT_SUFX=
.src.tgz
+CATEGORIES= editors

-HOMEPAGE= http://www.chez.com/prigaux/hexedit.html
+HOMEPAGE= http://rigaux.org/hexedit.html

-# GPL
+# GPLv2+
PERMIT_PACKAGE_CDROM= Yes

-WANTLIB= c curses
+WANTLIB= c ncurses
+
+CONFIGURE_STYLE= autoconf
+AUTOCONF_VERSION= 2.69

-CONFIGURE_STYLE= gnu dest
NO_TEST= Yes

-WRKDIST= ${WRKDIR}/hexedit
+post-build:
+ m4 -DVERSION=${GH_TAGNAME} ${WRKSRC}/hexedit.1.in > ${WRKSRC}/hexedit.1

.include <bsd.port.mk>
Index: distinfo
===================================================================
RCS file: /cvs/ports/editors/hexedit/distinfo,v
retrieving revision 1.5
diff -u -p -r1.5 distinfo
--- distinfo 17 Sep 2012 12:50:09 -0000 1.5
+++ distinfo 21 Aug 2017 14:52:32 -0000
@@ -1,2 +1,2 @@
-SHA256 (hexedit-1.2.12.src.tgz) = vP+/PRKFFsxOHaZEhYZvu19idU8q+DJ+elJ4VRhroQ8=
-SIZE (hexedit-1.2.12.src.tgz) = 65802
+SHA256 (hexedit-1.3.tar.gz) = iNSJ37iV4ouyRyYTc2/GoUcDT01LA487nReOaWm//XA=
+SIZE (hexedit-1.3.tar.gz) = 29620
Index: patches/patch-hexedit_h
===================================================================
RCS file: patches/patch-hexedit_h
diff -N patches/patch-hexedit_h
--- patches/patch-hexedit_h 17 Sep 2012 12:50:09 -0000 1.2
+++ /dev/null 1 Jan 1970 00:00:00 -0000
@@ -1,11 +0,0 @@
-$OpenBSD: patch-hexedit_h,v 1.2 2012/09/17 12:50:09 gonzalo Exp $
---- hexedit.h.orig Tue Nov 8 13:16:47 2005
-+++ hexedit.h Mon Sep 3 13:56:59 2012
-@@ -5,6 +5,7 @@
- #include <stdio.h>
- #include <stdlib.h>
- #include <string.h>
-+#include <sys/param.h>
- #include <sys/types.h>
- #include <sys/stat.h>
- #if HAVE_FCNTL_H

No comments:

Post a Comment