1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

- Clarify LICENSE

- Switch to WRKSRC_SUBDIR
- Switch to options helpers
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-03-29 00:53:48 +00:00
parent 50ad76ee9a
commit 9b726d2857
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=412086
3 changed files with 10 additions and 10 deletions

View File

@ -10,27 +10,27 @@ MASTER_SITES= http://stoopidsimple.com/files/
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}

View File

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

View File

@ -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",
};