diff options
author | Pav Lucistnik <pav@FreeBSD.org> | 2009-03-19 13:30:57 +0000 |
---|---|---|
committer | Pav Lucistnik <pav@FreeBSD.org> | 2009-03-19 13:30:57 +0000 |
commit | ecba3c57381425186cf14677962ce694236dac86 (patch) | |
tree | 761a10f5274e276cc166e9c20d642548759e9045 | |
parent | 4da3ffc97aa1d17a8cc6de69c9eb120b40910dfa (diff) | |
download | ports-ecba3c57381425186cf14677962ce694236dac86.tar.gz ports-ecba3c57381425186cf14677962ce694236dac86.zip |
Notes
-rw-r--r-- | misc/gcstar/Makefile | 15 | ||||
-rw-r--r-- | misc/gcstar/distinfo | 6 | ||||
-rw-r--r-- | misc/gcstar/files/patch-GCDiscogs.pm | 10 | ||||
-rw-r--r-- | misc/gcstar/files/patch-GCmusics.gcm | 11 | ||||
-rw-r--r-- | misc/gcstar/files/patch-install | 31 | ||||
-rw-r--r-- | misc/gcstar/pkg-plist | 40 |
6 files changed, 95 insertions, 18 deletions
diff --git a/misc/gcstar/Makefile b/misc/gcstar/Makefile index 1880d943b168..33b7cca3f4e5 100644 --- a/misc/gcstar/Makefile +++ b/misc/gcstar/Makefile @@ -5,7 +5,7 @@ # $FreeBSD$ PORTNAME= gcstar -PORTVERSION= 1.4.0 +PORTVERSION= 1.4.3 CATEGORIES= misc MASTER_SITES= http://download.gna.org/gcstar/ \ http://djdomics.free.fr/distfiles/ @@ -35,10 +35,17 @@ USE_PERL5_RUN= yes NO_BUILD= yes -post-patch: - @${FIND} ${WRKSRC}/ -name '*.orig' -delete - do-install: + @${MKDIR} ${PREFIX}/share/mime/application + @${MKDIR} ${PREFIX}/share/pixmaps + @${MKDIR} ${PREFIX}/share/applications + @${FIND} ${WRKSRC}/ -name '*.orig' -delete ${PERL} ${WRKSRC}/install --prefix ${PREFIX} + ${INSTALL_DATA} ${WRKSRC}/share/applications/gcstar.desktop \ + ${PREFIX}/share/applications/gcstar.desktop + ${INSTALL_DATA} ${WRKSRC}/share/applications/gcstar.xml \ + ${PREFIX}/share/mime/application/gcstar.xml + ${INSTALL_DATA} ${WRKSRC}/share/gcstar/icons/gcstar_48x48.png \ + ${PREFIX}/share/pixmaps/gcstar.png .include <bsd.port.mk> diff --git a/misc/gcstar/distinfo b/misc/gcstar/distinfo index 777cfa649a90..60ee647b5e6f 100644 --- a/misc/gcstar/distinfo +++ b/misc/gcstar/distinfo @@ -1,3 +1,3 @@ -MD5 (gcstar-1.4.0.tar.gz) = 70bebd9e52e2f9d1532e91080604b26f -SHA256 (gcstar-1.4.0.tar.gz) = 6c3175303f3bfb9e6421ccb5df517623fd45550d81e77f700367d642434e45fa -SIZE (gcstar-1.4.0.tar.gz) = 2482183 +MD5 (gcstar-1.4.3.tar.gz) = a4182efaf0f81fba39d1ab8b9b582417 +SHA256 (gcstar-1.4.3.tar.gz) = 1d0e079fc5c1bae9f5f5590ba07bff005136fe0a53876c55022689e5e14e4629 +SIZE (gcstar-1.4.3.tar.gz) = 2505623 diff --git a/misc/gcstar/files/patch-GCDiscogs.pm b/misc/gcstar/files/patch-GCDiscogs.pm new file mode 100644 index 000000000000..d6f31b4a912f --- /dev/null +++ b/misc/gcstar/files/patch-GCDiscogs.pm @@ -0,0 +1,10 @@ +--- lib/gcstar/GCPlugins/GCmusics/GCDiscogs.pm.orig 2008-12-29 14:20:09.000000000 +0100 ++++ lib/gcstar/GCPlugins/GCmusics/GCDiscogs.pm 2008-12-29 14:23:04.000000000 +0100 +@@ -165,6 +165,7 @@ + $self->{curInfo}->{origin} =~ s/,$//; + $self->{curInfo}->{format} = $xml->{release}->{formats}->{format}->{name}; + $self->{curInfo}->{format} =~ s/,$//; ++ $self->{curInfo}->{web} = "http://www.discogs.com/release/" . $xml->{release}->{id}; + } + } + diff --git a/misc/gcstar/files/patch-GCmusics.gcm b/misc/gcstar/files/patch-GCmusics.gcm deleted file mode 100644 index 419b169839f5..000000000000 --- a/misc/gcstar/files/patch-GCmusics.gcm +++ /dev/null @@ -1,11 +0,0 @@ ---- lib/gcstar/GCModels/GCmusics.gcm.orig 2008-06-12 23:16:01.000000000 +0200 -+++ lib/gcstar/GCModels/GCmusics.gcm 2008-06-12 23:17:20.000000000 +0200 -@@ -56,7 +56,7 @@ - <field value="unique" group="main" init="" label="Unique" type="short text" /> - <field value="title" group="main" init="NewItem" label="Title" type="short text" imported="true"/> - <field value="cover" default="view" group="main" init="" label="Cover" type="image" imported="true"/> -- <field value="backpic" type="image" label="ContextImgBack" init="" group="info" linkedto="cover" imported="true"/> -+ <field value="backpic" type="image" label="ContextImgBack" init="" group="main" linkedto="cover" imported="true"/> - <field value="artist" group="main" init="" label="Artist" type="short text" imported="true" /> - <field value="format" group="main" init="" label="Format" type="history text" /> - <field value="origin" group="main" init="" label="Origin" type="history text" /> diff --git a/misc/gcstar/files/patch-install b/misc/gcstar/files/patch-install new file mode 100644 index 000000000000..3c5e04041a0a --- /dev/null +++ b/misc/gcstar/files/patch-install @@ -0,0 +1,31 @@ +--- install.old 2008-09-15 09:43:39.000000000 +0200 ++++ install 2008-09-15 09:44:04.000000000 +0200 +@@ -151,28 +151,6 @@ + + sub installMenu + { +- my $home = $ENV{HOME}; +- +- if (-w '/usr/share/applications') +- { +- verbosePrint $lang{InstallCopyDesktop}, '/usr/share/applications'; +- copy 'share/applications/gcstar.desktop', '/usr/share/applications'; +- } +- else +- { +- verbosePrint $lang{InstallCopyDesktop}, $home.'/.local/share/applications'; +- copy 'share/applications/gcstar.desktop', $home.'/.local/share/applications'; +- } +- +- copy 'share/gcstar/icons/gcstar_48x48.png', '/usr/share/pixmaps/gcstar.png' +- if (-w '/usr/share/pixmaps'); +- +- copy 'share/applications/gcstar.xml', '/usr/share/mime/packages' +- if (-w '/usr/share/mime/packages'); +- +- system 'update-desktop-database'; +- system 'update-mime-database /usr/share/mime'; +- + } + + sub doInstall diff --git a/misc/gcstar/pkg-plist b/misc/gcstar/pkg-plist index d8f9b19358cf..ea186e3b1581 100644 --- a/misc/gcstar/pkg-plist +++ b/misc/gcstar/pkg-plist @@ -33,6 +33,7 @@ lib/gcstar/GCImport/GCImportFolder.pm lib/gcstar/GCImport/GCImportGCfilms.pm lib/gcstar/GCImport/GCImportGCstar.pm lib/gcstar/GCImport/GCImportList.pm +lib/gcstar/GCImport/GCImportMyMovies.pm lib/gcstar/GCImport/GCImportTarGz.pm lib/gcstar/GCImport/GCImportTellico.pm lib/gcstar/GCItemsLists.pm @@ -325,6 +326,28 @@ lib/gcstar/GCLang/IT/GCModels/GCmusics.pm lib/gcstar/GCLang/IT/GCModels/GCwines.pm lib/gcstar/GCLang/IT/GCstar.pm lib/gcstar/GCLang/IT/README.txt +lib/gcstar/GCLang/NL/GCExport/GCExportCSV.pm +lib/gcstar/GCLang/NL/GCExport/GCExportHTML.pm +lib/gcstar/GCLang/NL/GCExport/GCExportSQL.pm +lib/gcstar/GCLang/NL/GCExport/GCExportTarGz.pm +lib/gcstar/GCLang/NL/GCExport/GCExportXML.pm +lib/gcstar/GCLang/NL/GCImport/GCImportAlexandria.pm +lib/gcstar/GCLang/NL/GCImport/GCImportCSV.pm +lib/gcstar/GCLang/NL/GCImport/GCImportFolder.pm +lib/gcstar/GCLang/NL/GCImport/GCImportGCstar.pm +lib/gcstar/GCLang/NL/GCImport/GCImportList.pm +lib/gcstar/GCLang/NL/GCImport/GCImportTellico.pm +lib/gcstar/GCLang/NL/GCModels/GCTVepisodes.pm +lib/gcstar/GCLang/NL/GCModels/GCTVseries.pm +lib/gcstar/GCLang/NL/GCModels/GCboardgames.pm +lib/gcstar/GCLang/NL/GCModels/GCbooks.pm +lib/gcstar/GCLang/NL/GCModels/GCcoins.pm +lib/gcstar/GCLang/NL/GCModels/GCcomics.pm +lib/gcstar/GCLang/NL/GCModels/GCfilms.pm +lib/gcstar/GCLang/NL/GCModels/GCgames.pm +lib/gcstar/GCLang/NL/GCModels/GCmusics.pm +lib/gcstar/GCLang/NL/GCModels/GCwines.pm +lib/gcstar/GCLang/NL/GCstar.pm lib/gcstar/GCLang/PL/GCExport/GCExportCSV.pm lib/gcstar/GCLang/PL/GCExport/GCExportHTML.pm lib/gcstar/GCLang/PL/GCExport/GCExportSQL.pm @@ -514,6 +537,8 @@ lib/gcstar/GCModels/GCfilms.gcm lib/gcstar/GCModels/GCgames.gcm lib/gcstar/GCModels/GCmusics.gcm lib/gcstar/GCModels/GCwines.gcm +lib/gcstar/GCModule.pm +lib/gcstar/GCModule/GCModuleFirst.pm lib/gcstar/GCOptions.pm lib/gcstar/GCPanel.pm lib/gcstar/GCPlugins.pm @@ -551,9 +576,11 @@ lib/gcstar/GCPlugins/GCbooks/GCMareno.pm lib/gcstar/GCPlugins/GCbooks/GCMediabooks.pm lib/gcstar/GCPlugins/GCbooks/GCMerlin.pm lib/gcstar/GCPlugins/GCbooks/GCNUKat.pm +lib/gcstar/GCPlugins/GCbooks/GCNooSFere.pm lib/gcstar/GCPlugins/GCbooks/GCbooksAdlibrisCommon.pm lib/gcstar/GCPlugins/GCbooks/GCbooksAmazonCommon.pm lib/gcstar/GCPlugins/GCbooks/GCbooksCommon.pm +lib/gcstar/GCPlugins/GCcomics/GCbedetheque.pm lib/gcstar/GCPlugins/GCcomics/GCcomicbookdb.pm lib/gcstar/GCPlugins/GCcomics/GCcomicsCommon.pm lib/gcstar/GCPlugins/GCfilms/GCAlapage.pm @@ -606,6 +633,7 @@ lib/gcstar/GCPlugins/GCgames/GCJeuxVideoCom.pm lib/gcstar/GCPlugins/GCgames/GCJeuxVideoFr.pm lib/gcstar/GCPlugins/GCgames/GCLudus.pm lib/gcstar/GCPlugins/GCgames/GCMobyGames.pm +lib/gcstar/GCPlugins/GCgames/GCTheLegacy.pm lib/gcstar/GCPlugins/GCgames/GCgamesAmazonCommon.pm lib/gcstar/GCPlugins/GCgames/GCgamesCommon.pm lib/gcstar/GCPlugins/GCmusics/GCDiscogs.pm @@ -617,6 +645,7 @@ lib/gcstar/GCStyle.pm lib/gcstar/GCUpdater.pm lib/gcstar/GCUtils.pm lib/gcstar/GCWidgets.pm +share/applications/gcstar.desktop %%DATADIR%%/LICENSE %%DATADIR%%/genres/EN.genres %%DATADIR%%/genres/ES.genres @@ -642,6 +671,7 @@ lib/gcstar/GCWidgets.pm %%DATADIR%%/html_models/GCfilms/Tabs.png %%DATADIR%%/html_models/GCfilms/Tian %%DATADIR%%/html_models/GCfilms/Tian-Mario +%%DATADIR%%/html_models/GCfilms/Tian-Mario-Kim %%DATADIR%%/html_models/GCfilms/Tian-Mario.png %%DATADIR%%/html_models/GCfilms/Tian.png %%DATADIR%%/html_models/GCfilms/float @@ -852,6 +882,10 @@ lib/gcstar/GCWidgets.pm %%DATADIR%%/xml_models/GCfilms/DVDProfiler %%DATADIR%%/xslt/applyXSLT.pl %%DATADIR%%/xslt/createGCSValidator.xsl +share/mime/application/gcstar.xml +share/pixmaps/gcstar.png +@dirrmtry share/mime/application +@dirrmtry share/mime @dirrm %%DATADIR%%/xslt @dirrm %%DATADIR%%/xml_models/GCfilms @dirrm %%DATADIR%%/xml_models @@ -916,6 +950,7 @@ lib/gcstar/GCWidgets.pm @dirrm %%DATADIR%%/helpers @dirrm %%DATADIR%%/genres @dirrm %%DATADIR%% +@dirrmtry share/applications @dirrm lib/gcstar/GCPlugins/GCstar @dirrm lib/gcstar/GCPlugins/GCmusics @dirrm lib/gcstar/GCPlugins/GCgames @@ -925,6 +960,7 @@ lib/gcstar/GCWidgets.pm @dirrm lib/gcstar/GCPlugins/GCboardgames @dirrm lib/gcstar/GCPlugins/GCTVepisodes @dirrm lib/gcstar/GCPlugins +@dirrm lib/gcstar/GCModule @dirrm lib/gcstar/GCModels @dirrm lib/gcstar/GCLang/UK/GCModels @dirrm lib/gcstar/GCLang/UK/GCImport @@ -958,6 +994,10 @@ lib/gcstar/GCWidgets.pm @dirrm lib/gcstar/GCLang/PL/GCImport @dirrm lib/gcstar/GCLang/PL/GCExport @dirrm lib/gcstar/GCLang/PL +@dirrm lib/gcstar/GCLang/NL/GCModels +@dirrm lib/gcstar/GCLang/NL/GCImport +@dirrm lib/gcstar/GCLang/NL/GCExport +@dirrm lib/gcstar/GCLang/NL @dirrm lib/gcstar/GCLang/IT/GCModels @dirrm lib/gcstar/GCLang/IT/GCImport @dirrm lib/gcstar/GCLang/IT/GCExport |