svn commit: r389372 - in head/editors/hexedit: . files

Sunpoet Po-Chuan Hsieh sunpoet at FreeBSD.org
Sat Jun 13 13:52:17 UTC 2015


Author: sunpoet
Date: Sat Jun 13 13:52:15 2015
New Revision: 389372
URL: https://svnweb.freebsd.org/changeset/ports/389372

Log:
  - Use DISTVERSIONSUFFIX instead of DISTFILES
  - Add my LOCAL to MASTER_SITES
  - Simplify WRKSRC
  - Use USES=tar:tgz
  - Regenerate patch file with makepatch:
  - Reformat pkg-descr
  - Take maintainership

Added:
  head/editors/hexedit/files/patch-search.c
     - copied, changed from r389355, head/editors/hexedit/files/patch--search.c
Deleted:
  head/editors/hexedit/files/patch--search.c
Modified:
  head/editors/hexedit/Makefile
  head/editors/hexedit/pkg-descr

Modified: head/editors/hexedit/Makefile
==============================================================================
--- head/editors/hexedit/Makefile	Sat Jun 13 13:52:09 2015	(r389371)
+++ head/editors/hexedit/Makefile	Sat Jun 13 13:52:15 2015	(r389372)
@@ -3,23 +3,24 @@
 
 PORTNAME=	hexedit
 PORTVERSION=	1.2.13
+DISTVERSIONSUFFIX=	.src
 CATEGORIES=	editors
-MASTER_SITES=	http://rigaux.org/
-DISTFILES=	${DISTNAME}.src.tgz
+MASTER_SITES=	http://rigaux.org/ \
+		LOCAL/sunpoet
 
-MAINTAINER=	ports at FreeBSD.org
+MAINTAINER=	sunpoet at FreeBSD.org
 COMMENT=	View and edit files in hexadecimal or ASCII
 
 LICENSE=	GPLv2
 
-WRKSRC=		${WRKDIR}/${DISTNAME:S/-${PORTVERSION}//}
-
 GNU_CONFIGURE=	yes
+USES=		tar:tgz
+WRKSRC=		${WRKDIR}/${PORTNAME}
 
 PLIST_FILES=	bin/hexedit man/man1/hexedit.1.gz
 
 do-install:
-	${INSTALL_PROGRAM} ${WRKSRC}/hexedit ${STAGEDIR}${PREFIX}/bin
-	${INSTALL_MAN} ${WRKSRC}/hexedit.1 ${STAGEDIR}${PREFIX}/man/man1
+	${INSTALL_PROGRAM} ${WRKSRC}/hexedit ${STAGEDIR}${PREFIX}/bin/
+	${INSTALL_MAN} ${WRKSRC}/hexedit.1 ${STAGEDIR}${PREFIX}/man/man1/
 
 .include <bsd.port.mk>

Copied and modified: head/editors/hexedit/files/patch-search.c (from r389355, head/editors/hexedit/files/patch--search.c)
==============================================================================
--- head/editors/hexedit/files/patch--search.c	Sat Jun 13 13:28:21 2015	(r389355, copy source)
+++ head/editors/hexedit/files/patch-search.c	Sat Jun 13 13:52:15 2015	(r389372)
@@ -1,6 +1,6 @@
---- search.c.orig	Tue Nov  8 17:16:47 2005
-+++ search.c	Sat Jul 29 15:21:47 2006
-@@ -30,6 +30,18 @@
+--- search.c.orig	2008-11-07 15:50:57 UTC
++++ search.c
+@@ -30,6 +30,18 @@ static int searchA(char **string, int *s
    if (!ask_about_save_and_redisplay()) return FALSE;
    if (!displayMessageAndGetString(msg, last, tmp, tmp_size)) return FALSE;
  

Modified: head/editors/hexedit/pkg-descr
==============================================================================
--- head/editors/hexedit/pkg-descr	Sat Jun 13 13:52:09 2015	(r389371)
+++ head/editors/hexedit/pkg-descr	Sat Jun 13 13:52:15 2015	(r389372)
@@ -1,8 +1,6 @@
-Hexedit	view and edit files in hexadecimal or in ASCII.
-hexedit shows a file both in ASCII and in hexadecimal.
-The file can be a device as the file is not whole read.
-You can modify the file and search through it.
-You have also copy&paste, and save to file functions.
-Modifications are shown in bold.
+Hexedit view and edit files in hexadecimal or in ASCII. hexedit shows a file
+both in ASCII and in hexadecimal. The file can be a device as the file is not
+whole read. You can modify the file and search through it. You have also
+copy&paste, and save to file functions. Modifications are shown in bold.
 
 WWW: http://rigaux.org/hexedit.html


More information about the svn-ports-head mailing list