Update hexedit to 1.3.

Notable changes:

- Switch to GitHub and update HOMEPAGE
- Release tarball doesn't bundle a configure script, so the port now
  uses autoconf
- Update license marker to specify GPLv2+
- Drop the now useless patch
- Regenerate WANTLIB

OK jca@
This commit is contained in:
fcambus 2017-08-21 20:17:59 +00:00
parent 69e67c2e68
commit 4c81a2099a
3 changed files with 15 additions and 24 deletions

View File

@ -1,24 +1,26 @@
# $OpenBSD: Makefile,v 1.25 2013/03/11 11:02:49 espie Exp $
# $OpenBSD: Makefile,v 1.26 2017/08/21 20:17:59 fcambus Exp $
COMMENT= view and edit files in hexadecimal or ASCII
DISTNAME= hexedit-1.2.12
GH_ACCOUNT= pixel
GH_PROJECT= hexedit
GH_TAGNAME= 1.3
CATEGORIES= editors
MASTER_SITES= http://www.chez.com/prigaux/ \
http://merd.net/pixel/
EXTRACT_SUFX= .src.tgz
HOMEPAGE= http://rigaux.org/hexedit.html
HOMEPAGE= http://www.chez.com/prigaux/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>

View File

@ -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

View File

@ -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