diff options
author | Max Brazhnikov <makc@FreeBSD.org> | 2011-07-03 13:15:27 +0000 |
---|---|---|
committer | Max Brazhnikov <makc@FreeBSD.org> | 2011-07-03 13:15:27 +0000 |
commit | 1ca864e36e1c095e98f55bfb0b3072e77821dc6f (patch) | |
tree | 34ff70bd9cefcf3505daad2bca5d6c756a10a47c | |
parent | 29a6fdbefd0585a8dd0a57068b6dc7f7a1b92cee (diff) | |
download | ports-1ca864e36e1c095e98f55bfb0b3072e77821dc6f.tar.gz ports-1ca864e36e1c095e98f55bfb0b3072e77821dc6f.zip |
Notes
-rw-r--r-- | deskutils/vym/Makefile | 24 | ||||
-rw-r--r-- | deskutils/vym/distinfo | 4 | ||||
-rw-r--r-- | deskutils/vym/files/patch-vym.pro | 11 | ||||
-rw-r--r-- | deskutils/vym/pkg-plist | 60 |
4 files changed, 55 insertions, 44 deletions
diff --git a/deskutils/vym/Makefile b/deskutils/vym/Makefile index 91f626138e67..179e90308762 100644 --- a/deskutils/vym/Makefile +++ b/deskutils/vym/Makefile @@ -6,19 +6,21 @@ # PORTNAME= vym -PORTVERSION= 1.12.7 +PORTVERSION= 1.13.27 CATEGORIES= deskutils MASTER_SITES= SF MAINTAINER= gerrit.beine@gmx.de -COMMENT= VYM (View Your Mind) is a tool to generate and manipulate maps +COMMENT= VYM is a tool to generate and manipulate mind maps USE_BZIP2= yes USE_QT_VER= 4 -QT_COMPONENTS= qmake_build uic_build moc_build qt3support network xml +QT_COMPONENTS= qmake_build uic_build moc_build \ + qt3support network xml dbus svg QMAKE_ARGS= PREFIX=${PREFIX} \ - DATADIR=${DATADIR:S,/vym,,} \ + DATADIR=${DATADIR:C,/vym$,,} \ DOCDIR=${DOCSDIR} +QT_LRELEASE= ${LOCALBASE}/bin/lrelease-qt4 MAKE_JOBS_SAFE= yes STRIP_FILES= bin/vym @@ -30,16 +32,30 @@ DESKTOP_ENTRIES= "VYM" \ "" \ false +.if !defined(WITHOUT_NLS) +QT_COMPONENTS+= linguist_build +PLIST_SUB+= NLS="" +.else +PLIST_SUB+= NLS="@comment " +.endif + post-patch: .if defined(NOPORTDOCS) ${REINPLACE_CMD} -e '/INSTALLS += doc/d' ${WRKSRC}/vym.pro .endif do-configure: +.if !defined(WITHOUT_NLS) + cd ${WRKSRC} && ${QT_LRELEASE} vym.pro +.endif @cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} \ ${QMAKEFLAGS} ${QMAKE_ARGS} vym.pro post-install: ${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,} +.if !defined(WITHOUT_NLS) + ${MKDIR} ${DATADIR}/lang + ${INSTALL_DATA} ${WRKSRC}/lang/*.qm ${DATADIR}/lang/ +.endif .include <bsd.port.mk> diff --git a/deskutils/vym/distinfo b/deskutils/vym/distinfo index 5ce6589830fe..c75c73d1dae0 100644 --- a/deskutils/vym/distinfo +++ b/deskutils/vym/distinfo @@ -1,2 +1,2 @@ -SHA256 (vym-1.12.7.tar.bz2) = ad1c90ca66d407c90407a54fc96d56655856d3d8c3202ec2e4acd08dd982a0ad -SIZE (vym-1.12.7.tar.bz2) = 4231782 +SHA256 (vym-1.13.27.tar.bz2) = 1a7846e42c2744e4c087bd3775ce7394855aa72aa6be69c6725d28f622c52e16 +SIZE (vym-1.13.27.tar.bz2) = 3418197 diff --git a/deskutils/vym/files/patch-vym.pro b/deskutils/vym/files/patch-vym.pro new file mode 100644 index 000000000000..7a2adc423d75 --- /dev/null +++ b/deskutils/vym/files/patch-vym.pro @@ -0,0 +1,11 @@ +--- ./vym.pro.orig 2011-01-24 18:42:33.000000000 +0300 ++++ ./vym.pro 2011-07-03 16:02:05.500883581 +0400 +@@ -217,7 +217,7 @@ + target.path = $${BINDIR} + INSTALLS += target + +-support.files = styles/ scripts/ icons/ flags/ lang/ macros/ exports/ demos/ ++support.files = styles/ scripts/ icons/ flags/ macros/ exports/ demos/ + support.path = $${DATADIR}/vym + INSTALLS += support + diff --git a/deskutils/vym/pkg-plist b/deskutils/vym/pkg-plist index 9e36236fc629..eeb99df2bf4b 100644 --- a/deskutils/vym/pkg-plist +++ b/deskutils/vym/pkg-plist @@ -3,6 +3,7 @@ bin/vym %%DATADIR%%/demos/lifeforms.vym %%DATADIR%%/demos/math.vym %%DATADIR%%/demos/time-management.vym +%%DATADIR%%/demos/vym-contribute.vym %%DATADIR%%/demos/vym-projectplan.vym %%DATADIR%%/exports/orange-blue.conf %%DATADIR%%/exports/template-orange-blue/META-INF/manifest.xml @@ -13,7 +14,6 @@ bin/vym %%DATADIR%%/exports/template-orange-blue/meta.xml %%DATADIR%%/exports/template-orange-blue/mimetype %%DATADIR%%/exports/template-orange-blue/page-template.xml -%%DATADIR%%/exports/template-orange-blue/section-template.xml %%DATADIR%%/exports/template-orange-blue/settings.xml %%DATADIR%%/exports/template-orange-blue/styles.xml %%DATADIR%%/flags/flag-arrow-2down.png @@ -40,13 +40,16 @@ bin/vym %%DATADIR%%/flags/flag-smiley-omg.png %%DATADIR%%/flags/flag-smiley-sad.png %%DATADIR%%/flags/flag-stopsign.png +%%DATADIR%%/flags/flag-target.png %%DATADIR%%/flags/flag-thumb-down.png %%DATADIR%%/flags/flag-thumb-up.png %%DATADIR%%/flags/flag-tmpUnscrolled-right.png %%DATADIR%%/flags/flag-url-16x16.png +%%DATADIR%%/flags/flag-url-bugzilla-novell-closed.png +%%DATADIR%%/flags/flag-url-bugzilla-novell.png %%DATADIR%%/flags/flag-url.png %%DATADIR%%/flags/flag-vymlink.png -%%DATADIR%%/flags/flags.xcf +%%DATADIR%%/flags/flag-wip.png %%DATADIR%%/flags/freemind/attach.png %%DATADIR%%/flags/freemind/back.png %%DATADIR%%/flags/freemind/bell.png @@ -77,8 +80,6 @@ bin/vym %%DATADIR%%/flags/freemind/warning.png %%DATADIR%%/flags/freemind/wizard.png %%DATADIR%%/flags/freemind/xmag.png -%%DATADIR%%/icons/cursor.xcf -%%DATADIR%%/icons/cursor16.xcf %%DATADIR%%/icons/cursorcolorpicker.png %%DATADIR%%/icons/cursorcolorpicker16.png %%DATADIR%%/icons/cursorcopy.png @@ -90,8 +91,10 @@ bin/vym %%DATADIR%%/icons/editcut.png %%DATADIR%%/icons/editpaste.png %%DATADIR%%/icons/editsort.png +%%DATADIR%%/icons/editsortback.png %%DATADIR%%/icons/edittrash.png %%DATADIR%%/icons/exit.png +%%DATADIR%%/icons/file-document-export.png %%DATADIR%%/icons/fileclose.png %%DATADIR%%/icons/filenew.png %%DATADIR%%/icons/filenewcopy.png @@ -107,12 +110,13 @@ bin/vym %%DATADIR%%/icons/formatcolorsubtree.png %%DATADIR%%/icons/formatfixedfont.png %%DATADIR%%/icons/formatvarfont.png +%%DATADIR%%/icons/headingeditor.png %%DATADIR%%/icons/history.png -%%DATADIR%%/icons/icons.xcf %%DATADIR%%/icons/modecolor.png %%DATADIR%%/icons/modecopy.png %%DATADIR%%/icons/modelink.png %%DATADIR%%/icons/newbranch.png +%%DATADIR%%/icons/newmapcenter.png %%DATADIR%%/icons/redo.png %%DATADIR%%/icons/text_block.png %%DATADIR%%/icons/text_bold.png @@ -123,6 +127,7 @@ bin/vym %%DATADIR%%/icons/text_sub.png %%DATADIR%%/icons/text_super.png %%DATADIR%%/icons/text_under.png +%%DATADIR%%/icons/treeeditor.png %%DATADIR%%/icons/undo.png %%DATADIR%%/icons/up.png %%DATADIR%%/icons/viewmag+.png @@ -135,28 +140,18 @@ bin/vym %%DATADIR%%/icons/vym.icns %%DATADIR%%/icons/vym.ico %%DATADIR%%/icons/vym.png -%%DATADIR%%/icons/vym.xcf %%DATADIR%%/icons/vym.xpm -%%DATADIR%%/lang/vym_de.qm -%%DATADIR%%/lang/vym_de.ts -%%DATADIR%%/lang/vym_en.qm -%%DATADIR%%/lang/vym_en.ts -%%DATADIR%%/lang/vym_es.qm -%%DATADIR%%/lang/vym_es.ts -%%DATADIR%%/lang/vym_fr.qm -%%DATADIR%%/lang/vym_fr.ts -%%DATADIR%%/lang/vym_it.qm -%%DATADIR%%/lang/vym_it.ts -%%DATADIR%%/lang/vym_pt_BR.qm -%%DATADIR%%/lang/vym_pt_BR.ts -%%DATADIR%%/lang/vym_ru.qm -%%DATADIR%%/lang/vym_ru.ts -%%DATADIR%%/lang/vym_sv.qm -%%DATADIR%%/lang/vym_sv.ts -%%DATADIR%%/lang/vym_zh_CN.qm -%%DATADIR%%/lang/vym_zh_CN.ts -%%DATADIR%%/lang/vym_zh_TW.qm -%%DATADIR%%/lang/vym_zh_TW.ts +%%NLS%%%%DATADIR%%/lang/vym_cs_CZ.qm +%%NLS%%%%DATADIR%%/lang/vym_de_DE.qm +%%NLS%%%%DATADIR%%/lang/vym_en.qm +%%NLS%%%%DATADIR%%/lang/vym_es.qm +%%NLS%%%%DATADIR%%/lang/vym_fr.qm +%%NLS%%%%DATADIR%%/lang/vym_it.qm +%%NLS%%%%DATADIR%%/lang/vym_pt_BR.qm +%%NLS%%%%DATADIR%%/lang/vym_ru.qm +%%NLS%%%%DATADIR%%/lang/vym_sv.qm +%%NLS%%%%DATADIR%%/lang/vym_zh_CN.qm +%%NLS%%%%DATADIR%%/lang/vym_zh_TW.qm %%DATADIR%%/macros/macro-1.vys %%DATADIR%%/macros/macro-10.vys %%DATADIR%%/macros/macro-11.vys @@ -169,24 +164,13 @@ bin/vym %%DATADIR%%/macros/macro-7.vys %%DATADIR%%/macros/macro-8.vys %%DATADIR%%/macros/macro-9.vys -%%DATADIR%%/scripts/exportvym -%%DATADIR%%/scripts/niceXML -%%DATADIR%%/scripts/release-mac -%%DATADIR%%/scripts/update-bookmarks -%%DATADIR%%/styles/cm.xsl %%DATADIR%%/styles/kdebookmarks2vym.xsl -%%DATADIR%%/styles/mmap2vym.xsl -%%DATADIR%%/styles/tm.xsl %%DATADIR%%/styles/vym.css -%%DATADIR%%/styles/vym2html.xsl %%DATADIR%%/styles/vym2kdebookmarks.xsl %%DATADIR%%/styles/vym2taskjuggler.xsl -%%DATADIR%%/styles/vym2txt.xsl -%%DATADIR%%/styles/vym2xhtml.xsl @dirrm %%DATADIR%%/styles -@dirrm %%DATADIR%%/scripts @dirrm %%DATADIR%%/macros -@dirrm %%DATADIR%%/lang +%%NLS%%@dirrm %%DATADIR%%/lang @dirrm %%DATADIR%%/icons @dirrm %%DATADIR%%/flags/freemind @dirrm %%DATADIR%%/flags |