misc/saaghar: update 1.0.94 -> 2.5.0

PR:		198070
Submitted by:	Javad Kouchi <javad.kouhi@gmail.com>
This commit is contained in:
Bartek Rutkowski 2015-03-05 12:32:57 +00:00
parent 02dbbbd607
commit 3145186d09
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=380486
3 changed files with 246 additions and 134 deletions

View file

@ -1,13 +1,12 @@
# $FreeBSD$
PORTNAME= saaghar
PORTVERSION= 1.0.94
PORTREVISION= 1
PORTVERSION= 2.5.0
CATEGORIES= misc
MASTER_SITES= SF/saaghar/Source%20Code/:saaghar \
SF/ganjoor/s3db:ganjoor
DISTFILES= Saaghar-${PORTVERSION}.tar.gz:saaghar \
ganjoor-s3db-910612.zip:ganjoor
ganjoor-s3db-930711.zip:ganjoor
DIST_SUBDIR= ${PORTNAME}
MAINTAINER= javad.kouhi@gmail.com
@ -17,11 +16,16 @@ LICENSE= GPLv3
EXTRACT_DEPENDS= ${LOCALBASE}/bin/unzip:${PORTSDIR}/archivers/unzip
USES= qmake
OPTIONS_DEFINE= DEBUG
USES= qmake dos2unix
USE_QT4= gui network sql xml sql-sqlite3_run \
moc_build rcc_build uic_build
moc_build rcc_build uic_build phonon \
dbus declarative xmlpatterns svg script
WRKSRC= ${WRKDIR}/Saaghar
DOS2UNIX_REGEX= .*\.([ch]|cpp)
.include <bsd.port.options.mk>
.if !${PORT_OPTIONS:MDEBUG}
@ -30,16 +34,12 @@ QMAKE_ARGS+= -config release
post-extract:
${UNZIP_CMD} -d ${WRKDIR}/ganjoor \
${DISTDIR}/${DIST_SUBDIR}/ganjoor-s3db-910612.zip
${DISTDIR}/${DIST_SUBDIR}/ganjoor-s3db-930711.zip
post-patch:
@${REINPLACE_CMD} -e 's|/usr/share/saaghar|${PREFIX}/share/saaghar|g' \
${WRKSRC}/mainwindow.cpp \
${WRKSRC}/main.cpp
@${REINPLACE_CMD} -e '1 s|^.*/|/|g' \
${WRKSRC}/QGanjoorDbBrowser.cpp \
${WRKSRC}/QGanjoorDbStuff.h \
${WRKSRC}/mainwindow.cpp
${WRKSRC}/src/saagharwindow.cpp \
${WRKSRC}/src/version.h
post-install:
cd ${WRKDIR}/ganjoor && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}

View file

@ -1,4 +1,4 @@
SHA256 (saaghar/Saaghar-1.0.94.tar.gz) = 03a5d0e3f0e1ad65aefd6fa083d6bc7920c47c16fecafe0b5005bc2fe42b6391
SIZE (saaghar/Saaghar-1.0.94.tar.gz) = 3907520
SHA256 (saaghar/ganjoor-s3db-910612.zip) = 16c3ec40d6e6ba413e560053fbcfc2e76571f4a4b7c72cdc633edbd0fc0a3d96
SIZE (saaghar/ganjoor-s3db-910612.zip) = 33854736
SHA256 (saaghar/Saaghar-2.5.0.tar.gz) = 332debb601fdfcd44df06cce0cdf9066a75c08620aca9219e2e8ecaa8db4ad4e
SIZE (saaghar/Saaghar-2.5.0.tar.gz) = 5284853
SHA256 (saaghar/ganjoor-s3db-930711.zip) = 93ece9bf7dc9f175b0a569fdbe3f7f5cdc2df8bef9be7fcf7760b911572581bd
SIZE (saaghar/ganjoor-s3db-930711.zip) = 42011404

View file

@ -1,120 +1,232 @@
bin/saaghar
%%QT_BINDIR%%/saaghar
share/applications/Saaghar.desktop
share/pixmaps/saaghar.png
share/saaghar/AUTHORS
share/saaghar/CHANGELOG
share/saaghar/COPYING
share/saaghar/LICENSE
share/saaghar/README
share/saaghar/Saaghar-Manual.pdf
share/saaghar/TODO
share/saaghar/ganjoor.s3db
share/saaghar/poets_images/10.png
share/saaghar/poets_images/11.png
share/saaghar/poets_images/12.png
share/saaghar/poets_images/13.png
share/saaghar/poets_images/14.png
share/saaghar/poets_images/15.png
share/saaghar/poets_images/16.png
share/saaghar/poets_images/17.png
share/saaghar/poets_images/18.png
share/saaghar/poets_images/19.png
share/saaghar/poets_images/2.png
share/saaghar/poets_images/20.png
share/saaghar/poets_images/21.png
share/saaghar/poets_images/22.png
share/saaghar/poets_images/23.png
share/saaghar/poets_images/24.png
share/saaghar/poets_images/25.png
share/saaghar/poets_images/26.png
share/saaghar/poets_images/27.png
share/saaghar/poets_images/28.png
share/saaghar/poets_images/29.png
share/saaghar/poets_images/3.png
share/saaghar/poets_images/30.png
share/saaghar/poets_images/31.png
share/saaghar/poets_images/32.png
share/saaghar/poets_images/33.png
share/saaghar/poets_images/34.png
share/saaghar/poets_images/35.png
share/saaghar/poets_images/37.png
share/saaghar/poets_images/38.png
share/saaghar/poets_images/39.png
share/saaghar/poets_images/4.png
share/saaghar/poets_images/40.png
share/saaghar/poets_images/41.png
share/saaghar/poets_images/42.png
share/saaghar/poets_images/43.png
share/saaghar/poets_images/44.png
share/saaghar/poets_images/45.png
share/saaghar/poets_images/46.png
share/saaghar/poets_images/47.png
share/saaghar/poets_images/48.png
share/saaghar/poets_images/49.png
share/saaghar/poets_images/5.png
share/saaghar/poets_images/50.png
share/saaghar/poets_images/501.png
share/saaghar/poets_images/502.png
share/saaghar/poets_images/503.png
share/saaghar/poets_images/504.png
share/saaghar/poets_images/505.png
share/saaghar/poets_images/506.png
share/saaghar/poets_images/51.png
share/saaghar/poets_images/6.png
share/saaghar/poets_images/600.png
share/saaghar/poets_images/602.png
share/saaghar/poets_images/610.png
share/saaghar/poets_images/7.png
share/saaghar/poets_images/8.png
share/saaghar/poets_images/9.png
share/saaghar/qt_fa.qm
share/saaghar/saaghar_fa.qm
share/saaghar/themes/backgrounds/bgpatterns_1.png
share/saaghar/themes/backgrounds/bgpatterns_2.png
share/saaghar/themes/backgrounds/bgpatterns_3.png
share/saaghar/themes/backgrounds/bgpatterns_4.png
share/saaghar/themes/backgrounds/grav-rand_1.png
share/saaghar/themes/backgrounds/grav-rand_2.png
share/saaghar/themes/backgrounds/grav-rand_3.png
share/saaghar/themes/backgrounds/grav-rand_4.png
share/saaghar/themes/backgrounds/saaghar-pattern_1.png
share/saaghar/themes/backgrounds/woodw-blue_1.png
share/saaghar/themes/backgrounds/woodw-golden_1.png
share/saaghar/themes/backgrounds/woodw-golden_2.png
share/saaghar/themes/backgrounds/woodw-green_1.png
share/saaghar/themes/backgrounds/woodw_3d_1.png
share/saaghar/themes/iconsets/light-gray/README
share/saaghar/themes/iconsets/light-gray/browse_net.png
share/saaghar/themes/iconsets/light-gray/cancel.png
share/saaghar/themes/iconsets/light-gray/check-updates.png
share/saaghar/themes/iconsets/light-gray/clear-left.png
share/saaghar/themes/iconsets/light-gray/clear-right.png
share/saaghar/themes/iconsets/light-gray/close-tab.png
share/saaghar/themes/iconsets/light-gray/copy.png
share/saaghar/themes/iconsets/light-gray/down.png
share/saaghar/themes/iconsets/light-gray/exit.png
share/saaghar/themes/iconsets/light-gray/export-pdf.png
share/saaghar/themes/iconsets/light-gray/export.png
share/saaghar/themes/iconsets/light-gray/faal.png
share/saaghar/themes/iconsets/light-gray/filter.png
share/saaghar/themes/iconsets/light-gray/fullscreen.png
share/saaghar/themes/iconsets/light-gray/home.png
share/saaghar/themes/iconsets/light-gray/import-to-database.png
share/saaghar/themes/iconsets/light-gray/left.png
share/saaghar/themes/iconsets/light-gray/new_tab.png
share/saaghar/themes/iconsets/light-gray/new_window.png
share/saaghar/themes/iconsets/light-gray/next.png
share/saaghar/themes/iconsets/light-gray/no-fullscreen.png
share/saaghar/themes/iconsets/light-gray/ocr-verification.png
share/saaghar/themes/iconsets/light-gray/previous.png
share/saaghar/themes/iconsets/light-gray/print-preview.png
share/saaghar/themes/iconsets/light-gray/print.png
share/saaghar/themes/iconsets/light-gray/qt-logo.png
share/saaghar/themes/iconsets/light-gray/random.png
share/saaghar/themes/iconsets/light-gray/remove-poet.png
share/saaghar/themes/iconsets/light-gray/right.png
share/saaghar/themes/iconsets/light-gray/search-options.png
share/saaghar/themes/iconsets/light-gray/search.png
share/saaghar/themes/iconsets/light-gray/select-mask.png
share/saaghar/themes/iconsets/light-gray/settings.png
share/saaghar/themes/iconsets/light-gray/up.png
%%DATADIR%%/AUTHORS
%%DATADIR%%/CHANGELOG
%%DATADIR%%/GPLv2Fa
%%DATADIR%%/GPLv3
%%DATADIR%%/LICENSE
%%DATADIR%%/README.md
%%DATADIR%%/Saaghar-Manual.pdf
%%DATADIR%%/TODO
%%DATADIR%%/fonts/Apache-license-v2.txt
%%DATADIR%%/fonts/DroidNaskh-Bold_withdot.ttf
%%DATADIR%%/fonts/DroidNaskh-Regular_withdot.ttf
%%DATADIR%%/fonts/DroidNaskh_withdot-license.txt
%%DATADIR%%/ganjoor.s3db
%%DATADIR%%/poets_images/10.png
%%DATADIR%%/poets_images/11.png
%%DATADIR%%/poets_images/12.png
%%DATADIR%%/poets_images/13.png
%%DATADIR%%/poets_images/14.png
%%DATADIR%%/poets_images/15.png
%%DATADIR%%/poets_images/16.png
%%DATADIR%%/poets_images/17.png
%%DATADIR%%/poets_images/18.png
%%DATADIR%%/poets_images/19.png
%%DATADIR%%/poets_images/2.png
%%DATADIR%%/poets_images/20.png
%%DATADIR%%/poets_images/21.png
%%DATADIR%%/poets_images/22.png
%%DATADIR%%/poets_images/23.png
%%DATADIR%%/poets_images/24.png
%%DATADIR%%/poets_images/25.png
%%DATADIR%%/poets_images/26.png
%%DATADIR%%/poets_images/27.png
%%DATADIR%%/poets_images/28.png
%%DATADIR%%/poets_images/29.png
%%DATADIR%%/poets_images/3.png
%%DATADIR%%/poets_images/30.png
%%DATADIR%%/poets_images/31.png
%%DATADIR%%/poets_images/32.png
%%DATADIR%%/poets_images/33.png
%%DATADIR%%/poets_images/34.png
%%DATADIR%%/poets_images/35.png
%%DATADIR%%/poets_images/37.png
%%DATADIR%%/poets_images/38.png
%%DATADIR%%/poets_images/39.png
%%DATADIR%%/poets_images/4.png
%%DATADIR%%/poets_images/40.png
%%DATADIR%%/poets_images/41.png
%%DATADIR%%/poets_images/42.png
%%DATADIR%%/poets_images/43.png
%%DATADIR%%/poets_images/44.png
%%DATADIR%%/poets_images/45.png
%%DATADIR%%/poets_images/46.png
%%DATADIR%%/poets_images/47.png
%%DATADIR%%/poets_images/48.png
%%DATADIR%%/poets_images/49.png
%%DATADIR%%/poets_images/5.png
%%DATADIR%%/poets_images/50.png
%%DATADIR%%/poets_images/501.png
%%DATADIR%%/poets_images/502.png
%%DATADIR%%/poets_images/503.png
%%DATADIR%%/poets_images/504.png
%%DATADIR%%/poets_images/505.png
%%DATADIR%%/poets_images/506.png
%%DATADIR%%/poets_images/51.png
%%DATADIR%%/poets_images/512.png
%%DATADIR%%/poets_images/514.png
%%DATADIR%%/poets_images/52.png
%%DATADIR%%/poets_images/53.png
%%DATADIR%%/poets_images/54.png
%%DATADIR%%/poets_images/56.png
%%DATADIR%%/poets_images/6.png
%%DATADIR%%/poets_images/602.png
%%DATADIR%%/poets_images/615.png
%%DATADIR%%/poets_images/7.png
%%DATADIR%%/poets_images/8.png
%%DATADIR%%/poets_images/9.png
%%DATADIR%%/qt_fa.qm
%%DATADIR%%/saaghar_fa.qm
%%DATADIR%%/themes/backgrounds/bgpatterns_1.png
%%DATADIR%%/themes/backgrounds/bgpatterns_2.png
%%DATADIR%%/themes/backgrounds/bgpatterns_3.png
%%DATADIR%%/themes/backgrounds/bgpatterns_4.png
%%DATADIR%%/themes/backgrounds/grav-rand_1.png
%%DATADIR%%/themes/backgrounds/grav-rand_2.png
%%DATADIR%%/themes/backgrounds/grav-rand_3.png
%%DATADIR%%/themes/backgrounds/grav-rand_4.png
%%DATADIR%%/themes/backgrounds/saaghar-pattern_1.png
%%DATADIR%%/themes/backgrounds/woodw-blue_1.png
%%DATADIR%%/themes/backgrounds/woodw-golden_1.png
%%DATADIR%%/themes/backgrounds/woodw-golden_2.png
%%DATADIR%%/themes/backgrounds/woodw-green_1.png
%%DATADIR%%/themes/backgrounds/woodw_3d_1.png
%%DATADIR%%/themes/iconsets/classic/README
%%DATADIR%%/themes/iconsets/classic/add-tab.png
%%DATADIR%%/themes/iconsets/classic/album.png
%%DATADIR%%/themes/iconsets/classic/arrow-down.png
%%DATADIR%%/themes/iconsets/classic/bookmark-folder.png
%%DATADIR%%/themes/iconsets/classic/bookmark-off.png
%%DATADIR%%/themes/iconsets/classic/bookmark-on.png
%%DATADIR%%/themes/iconsets/classic/bookmarks-import.png
%%DATADIR%%/themes/iconsets/classic/browse_net.png
%%DATADIR%%/themes/iconsets/classic/cancel.png
%%DATADIR%%/themes/iconsets/classic/check-updates.png
%%DATADIR%%/themes/iconsets/classic/clear-left.png
%%DATADIR%%/themes/iconsets/classic/clear-right.png
%%DATADIR%%/themes/iconsets/classic/close-tab.png
%%DATADIR%%/themes/iconsets/classic/copy.png
%%DATADIR%%/themes/iconsets/classic/down.png
%%DATADIR%%/themes/iconsets/classic/exit.png
%%DATADIR%%/themes/iconsets/classic/export-pdf.png
%%DATADIR%%/themes/iconsets/classic/export.png
%%DATADIR%%/themes/iconsets/classic/faal.png
%%DATADIR%%/themes/iconsets/classic/filter.png
%%DATADIR%%/themes/iconsets/classic/fullscreen.png
%%DATADIR%%/themes/iconsets/classic/home.png
%%DATADIR%%/themes/iconsets/classic/import-to-database.png
%%DATADIR%%/themes/iconsets/classic/left.png
%%DATADIR%%/themes/iconsets/classic/music-player.png
%%DATADIR%%/themes/iconsets/classic/new_tab.png
%%DATADIR%%/themes/iconsets/classic/new_window.png
%%DATADIR%%/themes/iconsets/classic/next.png
%%DATADIR%%/themes/iconsets/classic/no-fullscreen.png
%%DATADIR%%/themes/iconsets/classic/no-photo.png
%%DATADIR%%/themes/iconsets/classic/ocr-verification.png
%%DATADIR%%/themes/iconsets/classic/one-hemistich-line.png
%%DATADIR%%/themes/iconsets/classic/outline.png
%%DATADIR%%/themes/iconsets/classic/previous.png
%%DATADIR%%/themes/iconsets/classic/print-preview.png
%%DATADIR%%/themes/iconsets/classic/print.png
%%DATADIR%%/themes/iconsets/classic/qt-logo.png
%%DATADIR%%/themes/iconsets/classic/random.png
%%DATADIR%%/themes/iconsets/classic/redo.png
%%DATADIR%%/themes/iconsets/classic/refresh.png
%%DATADIR%%/themes/iconsets/classic/remove-poet.png
%%DATADIR%%/themes/iconsets/classic/right.png
%%DATADIR%%/themes/iconsets/classic/search-options.png
%%DATADIR%%/themes/iconsets/classic/search.png
%%DATADIR%%/themes/iconsets/classic/select-mask.png
%%DATADIR%%/themes/iconsets/classic/settings.png
%%DATADIR%%/themes/iconsets/classic/stepped-hemistich-line.png
%%DATADIR%%/themes/iconsets/classic/two-hemistich-line.png
%%DATADIR%%/themes/iconsets/classic/un-bookmark.png
%%DATADIR%%/themes/iconsets/classic/undo.png
%%DATADIR%%/themes/iconsets/classic/up.png
%%DATADIR%%/themes/iconsets/iconic-cyan/README
%%DATADIR%%/themes/iconsets/iconic-cyan/add-tab.png
%%DATADIR%%/themes/iconsets/iconic-cyan/album.png
%%DATADIR%%/themes/iconsets/iconic-cyan/arrow-down.png
%%DATADIR%%/themes/iconsets/iconic-cyan/bookmark-folder.png
%%DATADIR%%/themes/iconsets/iconic-cyan/bookmark-off.png
%%DATADIR%%/themes/iconsets/iconic-cyan/bookmark-off1.png
%%DATADIR%%/themes/iconsets/iconic-cyan/bookmark-on-0.png
%%DATADIR%%/themes/iconsets/iconic-cyan/bookmark-on.png
%%DATADIR%%/themes/iconsets/iconic-cyan/cancel.png
%%DATADIR%%/themes/iconsets/iconic-cyan/check-updates.png
%%DATADIR%%/themes/iconsets/iconic-cyan/clear-left.png
%%DATADIR%%/themes/iconsets/iconic-cyan/clear-right.png
%%DATADIR%%/themes/iconsets/iconic-cyan/close-tab.png
%%DATADIR%%/themes/iconsets/iconic-cyan/copy.png
%%DATADIR%%/themes/iconsets/iconic-cyan/down.png
%%DATADIR%%/themes/iconsets/iconic-cyan/download-sets-repositories.png
%%DATADIR%%/themes/iconsets/iconic-cyan/exit.png
%%DATADIR%%/themes/iconsets/iconic-cyan/export-pdf.png
%%DATADIR%%/themes/iconsets/iconic-cyan/faal.png
%%DATADIR%%/themes/iconsets/iconic-cyan/fullscreen.png
%%DATADIR%%/themes/iconsets/iconic-cyan/help-contents.png
%%DATADIR%%/themes/iconsets/iconic-cyan/home.png
%%DATADIR%%/themes/iconsets/iconic-cyan/left.png
%%DATADIR%%/themes/iconsets/iconic-cyan/lock-toolbars.png
%%DATADIR%%/themes/iconsets/iconic-cyan/music-player.png
%%DATADIR%%/themes/iconsets/iconic-cyan/new_tab.png
%%DATADIR%%/themes/iconsets/iconic-cyan/new_window.png
%%DATADIR%%/themes/iconsets/iconic-cyan/next.png
%%DATADIR%%/themes/iconsets/iconic-cyan/next1.png
%%DATADIR%%/themes/iconsets/iconic-cyan/no-fullscreen.png
%%DATADIR%%/themes/iconsets/iconic-cyan/no-photo.png
%%DATADIR%%/themes/iconsets/iconic-cyan/ocr-verification.png
%%DATADIR%%/themes/iconsets/iconic-cyan/one-hemistich-line.png
%%DATADIR%%/themes/iconsets/iconic-cyan/outline.png
%%DATADIR%%/themes/iconsets/iconic-cyan/previous.png
%%DATADIR%%/themes/iconsets/iconic-cyan/previous1.png
%%DATADIR%%/themes/iconsets/iconic-cyan/qt-logo.png
%%DATADIR%%/themes/iconsets/iconic-cyan/random.png
%%DATADIR%%/themes/iconsets/iconic-cyan/redo.png
%%DATADIR%%/themes/iconsets/iconic-cyan/refresh.png
%%DATADIR%%/themes/iconsets/iconic-cyan/right.png
%%DATADIR%%/themes/iconsets/iconic-cyan/search-options.png
%%DATADIR%%/themes/iconsets/iconic-cyan/search.png
%%DATADIR%%/themes/iconsets/iconic-cyan/select-mask.png
%%DATADIR%%/themes/iconsets/iconic-cyan/settings.png
%%DATADIR%%/themes/iconsets/iconic-cyan/stepped-hemistich-line.png
%%DATADIR%%/themes/iconsets/iconic-cyan/two-hemistich-line.png
%%DATADIR%%/themes/iconsets/iconic-cyan/undo.png
%%DATADIR%%/themes/iconsets/iconic-cyan/up.png
%%DATADIR%%/themes/iconsets/light-gray/README
%%DATADIR%%/themes/iconsets/light-gray/browse_net.png
%%DATADIR%%/themes/iconsets/light-gray/cancel.png
%%DATADIR%%/themes/iconsets/light-gray/check-updates.png
%%DATADIR%%/themes/iconsets/light-gray/clear-left.png
%%DATADIR%%/themes/iconsets/light-gray/clear-right.png
%%DATADIR%%/themes/iconsets/light-gray/close-tab.png
%%DATADIR%%/themes/iconsets/light-gray/copy.png
%%DATADIR%%/themes/iconsets/light-gray/down.png
%%DATADIR%%/themes/iconsets/light-gray/exit.png
%%DATADIR%%/themes/iconsets/light-gray/export-pdf.png
%%DATADIR%%/themes/iconsets/light-gray/export.png
%%DATADIR%%/themes/iconsets/light-gray/faal.png
%%DATADIR%%/themes/iconsets/light-gray/filter.png
%%DATADIR%%/themes/iconsets/light-gray/fullscreen.png
%%DATADIR%%/themes/iconsets/light-gray/home.png
%%DATADIR%%/themes/iconsets/light-gray/import-to-database.png
%%DATADIR%%/themes/iconsets/light-gray/left.png
%%DATADIR%%/themes/iconsets/light-gray/new_tab.png
%%DATADIR%%/themes/iconsets/light-gray/new_window.png
%%DATADIR%%/themes/iconsets/light-gray/next.png
%%DATADIR%%/themes/iconsets/light-gray/no-fullscreen.png
%%DATADIR%%/themes/iconsets/light-gray/ocr-verification.png
%%DATADIR%%/themes/iconsets/light-gray/previous.png
%%DATADIR%%/themes/iconsets/light-gray/print-preview.png
%%DATADIR%%/themes/iconsets/light-gray/print.png
%%DATADIR%%/themes/iconsets/light-gray/qt-logo.png
%%DATADIR%%/themes/iconsets/light-gray/random.png
%%DATADIR%%/themes/iconsets/light-gray/remove-poet.png
%%DATADIR%%/themes/iconsets/light-gray/right.png
%%DATADIR%%/themes/iconsets/light-gray/search-options.png
%%DATADIR%%/themes/iconsets/light-gray/search.png
%%DATADIR%%/themes/iconsets/light-gray/select-mask.png
%%DATADIR%%/themes/iconsets/light-gray/settings.png
%%DATADIR%%/themes/iconsets/light-gray/up.png