aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-13 09:01:33 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2016-09-13 09:01:33 +0000
commit0f76031daca7665cd67001abd3a98babfcb8ee2d (patch)
tree131de04c0b63aa8958420d1a66d9150668760136
parent2a58316c809ed63543b31ea81df993b3f0f32b6a (diff)
downloadports-0f76031daca7665cd67001abd3a98babfcb8ee2d.tar.gz
ports-0f76031daca7665cd67001abd3a98babfcb8ee2d.zip
- Add LICENSE
- Add missing qt dependency - Switch to options helpers - Regenerate patches with `make makepatch`
Notes
Notes: svn path=/head/; revision=421990
-rw-r--r--deskutils/qorganizer/Makefile23
-rw-r--r--deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.08
2 files changed, 19 insertions, 12 deletions
diff --git a/deskutils/qorganizer/Makefile b/deskutils/qorganizer/Makefile
index 42dca26fb3ac..0ebdb512d08e 100644
--- a/deskutils/qorganizer/Makefile
+++ b/deskutils/qorganizer/Makefile
@@ -3,7 +3,7 @@
PORTNAME= qorganizer
PORTVERSION= 3.1
-PORTREVISION= 4
+PORTREVISION= 5
CATEGORIES= deskutils
MASTER_SITES= SF/${PORTNAME}/OldFiles
DISTNAME= qOrganizer-${PORTVERSION}
@@ -11,23 +11,30 @@ DISTNAME= qOrganizer-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= General organizer that includes calendar with jurnal and schedule
+LICENSE= GPLv2
+LICENSE_FILE= ${WRKSRC}/../COPYING
+
USES= qmake
-USE_QT4= gui network moc_build rcc_build sql
+USE_QT4= corelib gui network moc_build rcc_build sql
WRKSRC= ${WRKDIR}/qOrganizer/src
PLIST_FILES= bin/qOrganizer share/pixmaps/qOrganizer.png
PORTDOCS= CHANGELOG.txt COPYING
-DESKTOP_ENTRIES= "qOrganizer" \
- "${COMMENT}" \
- "qOrganizer" \
- "qOrganizer" \
- "Qt;KDE;Office;" \
- "true"
+DESKTOP_ENTRIES="qOrganizer" \
+ "${COMMENT}" \
+ "qOrganizer" \
+ "qOrganizer" \
+ "Qt;KDE;Office;" \
+ true
+
+OPTIONS_DEFINE= DOCS
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/qOrganizer ${STAGEDIR}${PREFIX}/bin
${INSTALL_DATA} ${WRKSRC}/../qOrganizer.png ${STAGEDIR}${PREFIX}/share/pixmaps
+
+do-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/../,} ${STAGEDIR}${DOCSDIR}
diff --git a/deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.0 b/deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.0
index 708994d69797..0c3a686da585 100644
--- a/deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.0
+++ b/deskutils/qorganizer/files/patch-qOrganizer-qt-4.5.0
@@ -1,5 +1,5 @@
---- qorganizer.cpp.orig 2009-04-06 07:56:17 +0000
-+++ qorganizer.cpp 2009-04-06 07:56:23 +0000
+--- qorganizer.cpp.orig 2007-10-07 06:41:32 UTC
++++ qorganizer.cpp
@@ -1511,7 +1511,7 @@ void CQTextEdit::insertFromMimeData( con
QImage *image = new QImage(origin);
if(!image->isNull())
@@ -9,8 +9,8 @@
cursor.insertImage(origin);
}
delete image;
---- qorganizer.h.orig 2009-04-06 07:56:12 +0000
-+++ qorganizer.h 2009-04-06 07:56:39 +0000
+--- qorganizer.h.orig 2007-09-07 21:51:40 UTC
++++ qorganizer.h
@@ -104,6 +104,8 @@ class CQTextEdit:public QTextEdit
};