From 8a185c6036cc69955475d45caf88e132f819ea73 Mon Sep 17 00:00:00 2001 From: Dmitry Marakasov Date: Tue, 8 Nov 2016 11:23:32 +0000 Subject: [PATCH] - Add LICENSE - Regenerate patches --- emulators/qtemu/Makefile | 7 +++++-- emulators/qtemu/files/patch-helpwindow.cpp | 8 ++++---- emulators/qtemu/files/patch-main.cpp | 6 +++--- emulators/qtemu/files/patch-qtemu.pro | 6 +++--- 4 files changed, 15 insertions(+), 12 deletions(-) diff --git a/emulators/qtemu/Makefile b/emulators/qtemu/Makefile index 94a8af48eeb6..066f5a545619 100644 --- a/emulators/qtemu/Makefile +++ b/emulators/qtemu/Makefile @@ -9,9 +9,12 @@ MASTER_SITES= SF MAINTAINER= ports@FreeBSD.org COMMENT= Qt 4 based frontend for QEMU -USE_QT4= gui xml uic_build moc_build rcc_build +LICENSE= GPLv2+ +LICENSE_FILE= ${WRKSRC}/COPYING + USES= qmake tar:bzip2 -CONFIGURE_ENV+= LOCALBASE=${LOCALBASE} +USE_QT4= gui xml uic_build moc_build rcc_build +CONFIGURE_ENV= LOCALBASE=${LOCALBASE} DESKTOP_ENTRIES="QtEmu" "QEMU frontend" "" \ "qtemu" "" true diff --git a/emulators/qtemu/files/patch-helpwindow.cpp b/emulators/qtemu/files/patch-helpwindow.cpp index a35138145efb..260e2378b105 100644 --- a/emulators/qtemu/files/patch-helpwindow.cpp +++ b/emulators/qtemu/files/patch-helpwindow.cpp @@ -1,6 +1,6 @@ ---- ./helpwindow.cpp.orig Mon Mar 19 15:56:21 2007 -+++ ./helpwindow.cpp Tue Jun 12 13:23:44 2007 -@@ -72,7 +72,7 @@ +--- helpwindow.cpp.orig 2007-11-12 19:31:00 UTC ++++ helpwindow.cpp +@@ -80,7 +80,7 @@ QUrl HelpWindow::getHelpFile() return testUrl; //check for case when qtemu executable is in bin/ (installed on linux) @@ -9,7 +9,7 @@ if (QFile::exists(testUrl.toString())) return testUrl; } -@@ -88,7 +88,7 @@ +@@ -96,7 +96,7 @@ QUrl HelpWindow::getHelpFile() return testUrl; //check for case when qtemu executable is in bin/ (installed on linux) diff --git a/emulators/qtemu/files/patch-main.cpp b/emulators/qtemu/files/patch-main.cpp index d887d5085a0b..1f9287bce101 100644 --- a/emulators/qtemu/files/patch-main.cpp +++ b/emulators/qtemu/files/patch-main.cpp @@ -1,6 +1,6 @@ ---- ./main.cpp.orig Mon Mar 19 15:56:21 2007 -+++ ./main.cpp Tue Jun 12 13:17:03 2007 -@@ -45,7 +45,7 @@ +--- main.cpp.orig 2007-11-12 19:31:00 UTC ++++ main.cpp +@@ -45,7 +45,7 @@ int main(int argc, char *argv[]) translator.load(path); else { diff --git a/emulators/qtemu/files/patch-qtemu.pro b/emulators/qtemu/files/patch-qtemu.pro index 95d06dc3684c..7af952ddc603 100644 --- a/emulators/qtemu/files/patch-qtemu.pro +++ b/emulators/qtemu/files/patch-qtemu.pro @@ -1,6 +1,6 @@ ---- ./qtemu.pro.orig 2007-11-12 22:31:00.000000000 +0300 -+++ ./qtemu.pro 2007-11-15 00:11:48.000000000 +0300 -@@ -31,4 +31,4 @@ +--- qtemu.pro.orig 2007-11-12 19:31:00 UTC ++++ qtemu.pro +@@ -31,4 +31,4 @@ TRANSLATIONS = translations/template_q translations/qtemu_es.ts \ translations/qtemu_pt-BR.ts \ translations/qtemu_pl.ts