Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Mar 2016 00:53:48 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r412086 - in head/editors/lfhex: . files
Message-ID:  <201603290053.u2T0rmnp088941@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Mar 29 00:53:48 2016
New Revision: 412086
URL: https://svnweb.freebsd.org/changeset/ports/412086

Log:
  - Clarify LICENSE
  - Switch to WRKSRC_SUBDIR
  - Switch to options helpers
  - Regenerate patches with `make makepatch`

Modified:
  head/editors/lfhex/Makefile
  head/editors/lfhex/files/patch-expr.h
  head/editors/lfhex/files/patch-mappings.h

Modified: head/editors/lfhex/Makefile
==============================================================================
--- head/editors/lfhex/Makefile	Tue Mar 29 00:41:00 2016	(r412085)
+++ head/editors/lfhex/Makefile	Tue Mar 29 00:53:48 2016	(r412086)
@@ -10,27 +10,27 @@ MASTER_SITES=	http://stoopidsimple.com/f
 MAINTAINER=	ports@FreeBSD.org
 COMMENT=	Large file hex editor
 
-LICENSE=	GPLv2
+LICENSE=	GPLv2 # only
 LICENSE_FILE=	${WRKSRC}/../COPYING
 
 USES=		bison qmake
 USE_QT4=	corelib gui moc_build rcc_build
 
-WRKSRC=		${WRKDIR}/${DISTNAME}/src
+WRKSRC_SUBDIR=	src
 
 PORTDOCS=	README
 PLIST_FILES=	bin/lfhex
 
 OPTIONS_DEFINE=	DOCS
 
-.include <bsd.port.options.mk>
-
 post-patch:
 	@${REINPLACE_CMD} -e 's|^DEFINES|# DEFINES|g' ${WRKSRC}/lfhex.pro
 	@${REINPLACE_CMD} -e 's| abs| llabs|g' ${WRKSRC}/reader.cpp
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/lfhex ${STAGEDIR}${PREFIX}/bin
+
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${WRKSRC}/../README ${STAGEDIR}${DOCSDIR}
 

Modified: head/editors/lfhex/files/patch-expr.h
==============================================================================
--- head/editors/lfhex/files/patch-expr.h	Tue Mar 29 00:41:00 2016	(r412085)
+++ head/editors/lfhex/files/patch-expr.h	Tue Mar 29 00:53:48 2016	(r412086)
@@ -1,5 +1,5 @@
---- expr.h.orig	Sun Nov  5 13:26:04 2006
-+++ expr.h	Wed Dec 26 02:53:48 2007
+--- expr.h.orig	2008-09-19 00:36:49 UTC
++++ expr.h
 @@ -19,6 +19,7 @@
   */
  

Modified: head/editors/lfhex/files/patch-mappings.h
==============================================================================
--- head/editors/lfhex/files/patch-mappings.h	Tue Mar 29 00:41:00 2016	(r412085)
+++ head/editors/lfhex/files/patch-mappings.h	Tue Mar 29 00:53:48 2016	(r412086)
@@ -1,5 +1,5 @@
---- mappings.h.orig	Sun Nov  5 13:26:04 2006
-+++ mappings.h	Wed Dec 26 02:53:48 2007
+--- mappings.h.orig	2008-09-19 00:36:49 UTC
++++ mappings.h
 @@ -19,7 +19,7 @@
  /* automatically generated mappings from gen*To*Map.pl scripts          */
  
@@ -9,7 +9,7 @@
      "00000000", "00000001", "00000010", "00000011", "00000100", "00000101", 
      "00000110", "00000111", "00001000", "00001001", "00001010", "00001011", 
      "00001100", "00001101", "00001110", "00001111", "00010000", "00010001", 
-@@ -92,7 +92,7 @@
+@@ -92,7 +92,7 @@ namespace TranslationTables {
      '.','.','.','.','.','.','.','.','.','.',
      '.','.','.','.','.','.',
    };
@@ -18,7 +18,7 @@
      "00", "01", "02", "03", "04", "05", "06", "07", "08", "09", 
      "0a", "0b", "0c", "0d", "0e", "0f", "10", "11", "12", "13", 
      "14", "15", "16", "17", "18", "19", "1a", "1b", "1c", "1d", 
-@@ -120,7 +120,7 @@
+@@ -120,7 +120,7 @@ namespace TranslationTables {
      "f0", "f1", "f2", "f3", "f4", "f5", "f6", "f7", "f8", "f9", 
      "fa", "fb", "fc", "fd", "fe", "ff", 
    };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201603290053.u2T0rmnp088941>