1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-18 19:49:40 +00:00

- Fix LICENSE

- Add LICENSE_FILE
- Switch to options helpers
- Regenerate patches
This commit is contained in:
Dmitry Marakasov 2017-12-18 10:51:30 +00:00
parent c0786a569a
commit 84bf3d16e9
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=456609
5 changed files with 17 additions and 15 deletions

View File

@ -11,8 +11,8 @@ DISTNAME= AutoQ3DCommunity${PORTVERSION:C/\./-/}qt4source
MAINTAINER= ports@FreeBSD.org
COMMENT= Qt 4 quick 3D model editor
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
LICENSE= GPLv2+
LICENSE_FILE= ${WRKSRC}/docs/license.txt
USES= dos2unix qmake zip
DOS2UNIX_FILES= *.pro src/cmds/*.cpp src/fgui/*.cpp docs/*.txt
@ -21,11 +21,12 @@ USE_GL= glu
USE_QT4= corelib gui opengl moc_build
PORTDOCS= 3DQformat.txt ChangeLog.txt
OPTIONS_DEFINE= DOCS
DESKTOP_ENTRIES="AutoQ3D" "" "AutoQ3D" \
"AutoQ3D" "Graphics;3DGraphics;Qt;" ""
OPTIONS_DEFINE= DOCS
post-patch:
.for file in src/main.cpp src/fgui/cadform.cpp src/dialogs/prgsettings.cpp
@${REINPLACE_CMD} \
@ -40,6 +41,7 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/AutoQ3D.png \
${STAGEDIR}${PREFIX}/share/pixmaps/
do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/docs/|} ${STAGEDIR}${DOCSDIR}

View File

@ -1,6 +1,6 @@
--- ./AutoQ3D.pro.orig 2012-12-02 18:48:47.000000000 -0500
+++ ./AutoQ3D.pro 2012-12-02 18:48:47.000000000 -0500
@@ -8,6 +8,7 @@
--- AutoQ3D.pro.orig 2016-03-24 23:43:09 UTC
+++ AutoQ3D.pro
@@ -8,6 +8,7 @@ RC_FILE=AutoQ3D.rc
win32:LIBS+= -L$(QTDIR)/plugins/imageformats -lqjpeg4
QT += opengl

View File

@ -1,6 +1,6 @@
--- ./src/cmds/cmds.cpp.orig 2012-12-02 18:48:47.000000000 -0500
+++ ./src/cmds/cmds.cpp 2012-12-02 18:54:38.000000000 -0500
@@ -89,9 +89,9 @@
--- src/cmds/cmds.cpp.orig 2016-03-24 23:43:09 UTC
+++ src/cmds/cmds.cpp
@@ -89,9 +89,9 @@ cmds::cmds( QWidget* parent)
QPalette newPalette = QPalette();

View File

@ -1,6 +1,6 @@
--- ./src/fgui/cadform.cpp.orig 2012-12-02 18:48:47.000000000 -0500
+++ ./src/fgui/cadform.cpp 2012-12-02 18:51:14.000000000 -0500
@@ -475,9 +475,9 @@
--- src/fgui/cadform.cpp.orig 2016-03-24 23:43:09 UTC
+++ src/fgui/cadform.cpp
@@ -475,9 +475,9 @@ CadForm::CadForm()
QPalette newPalette = palette();
@ -13,7 +13,7 @@
@@ -800,7 +800,7 @@
@@ -800,7 +800,7 @@ GLApp* CadForm::newViewPort()
w->GLThisArea->cscalari=hcmd->cscalari;
w->GLThisArea->View=View;

View File

@ -1,5 +1,5 @@
--- ./src/fgui/glapparea.cpp.orig 2012-12-02 18:48:47.000000000 -0500
+++ ./src/fgui/glapparea.cpp 2012-12-02 18:58:20.000000000 -0500
--- src/fgui/glapparea.cpp.orig 2016-03-24 23:43:09 UTC
+++ src/fgui/glapparea.cpp
@@ -23,6 +23,7 @@
#include <qimage.h>
#include <qtimer.h>