diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-29 08:53:48 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2016-03-29 08:53:48 +0800 |
commit | 02701cc2054f067686de8a9d43e41f8881ec4e90 (patch) | |
tree | d33c86a587c2fd9eea9d079642d34e7d9839cf95 /editors/lfhex | |
parent | 33329d8a8ee32d2cc209636203499c1a344716de (diff) | |
download | freebsd-ports-gnome-02701cc2054f067686de8a9d43e41f8881ec4e90.tar.gz freebsd-ports-gnome-02701cc2054f067686de8a9d43e41f8881ec4e90.tar.zst freebsd-ports-gnome-02701cc2054f067686de8a9d43e41f8881ec4e90.zip |
- Clarify LICENSE
- Switch to WRKSRC_SUBDIR
- Switch to options helpers
- Regenerate patches with `make makepatch`
Diffstat (limited to 'editors/lfhex')
-rw-r--r-- | editors/lfhex/Makefile | 8 | ||||
-rw-r--r-- | editors/lfhex/files/patch-expr.h | 4 | ||||
-rw-r--r-- | editors/lfhex/files/patch-mappings.h | 8 |
3 files changed, 10 insertions, 10 deletions
diff --git a/editors/lfhex/Makefile b/editors/lfhex/Makefile index 1104e2b0c4af..890b183f36f9 100644 --- a/editors/lfhex/Makefile +++ b/editors/lfhex/Makefile @@ -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} diff --git a/editors/lfhex/files/patch-expr.h b/editors/lfhex/files/patch-expr.h index b4a218077384..1911db60164d 100644 --- a/editors/lfhex/files/patch-expr.h +++ b/editors/lfhex/files/patch-expr.h @@ -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 @@ */ diff --git a/editors/lfhex/files/patch-mappings.h b/editors/lfhex/files/patch-mappings.h index bb3a99e35974..33a64a334a2a 100644 --- a/editors/lfhex/files/patch-mappings.h +++ b/editors/lfhex/files/patch-mappings.h @@ -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", }; |