- Add LICENSE

- Add missing qt dependency
- Switch to options helpers
- Regenerate patches with `make makepatch`
This commit is contained in:
Dmitry Marakasov 2016-09-13 09:01:33 +00:00
parent 2a58316c80
commit 0f76031dac
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=421990
2 changed files with 19 additions and 12 deletions

View File

@ -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}

View File

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