aboutsummaryrefslogtreecommitdiff
path: root/deskutils
diff options
context:
space:
mode:
authorJeremy Messenger <mezz@FreeBSD.org>2004-11-26 06:32:57 +0000
committerJeremy Messenger <mezz@FreeBSD.org>2004-11-26 06:32:57 +0000
commit9f0e255d09a148fa3d1b8eb90740fe85528b4501 (patch)
treedacccfd6eb0e29247bf1784e2818a77272c40c23 /deskutils
parent11c7f0290386bde6e8eb1c501247e0976211b76a (diff)
downloadports-9f0e255d09a148fa3d1b8eb90740fe85528b4501.tar.gz
ports-9f0e255d09a148fa3d1b8eb90740fe85528b4501.zip
mCatalog is a film and book catalog. It's completely written it C#, and
designed for working in the GNOME desktop. It can get the films/books data from amazon, and has a nice themeable interface. NOTE: The mCatalog interface was based on Delicious Library from Delicious Monster Software, LLC, and is used with permission, although Delicious Monster does not endorse or support this project. WWW: http://mcatalog.sourceforge.net/ Project by: BSD# - http://forge.novell.com/modules/xfmod/project/?bsd-sharp
Notes
Notes: svn path=/head/; revision=122484
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/Makefile1
-rw-r--r--deskutils/mcatalog/Makefile43
-rw-r--r--deskutils/mcatalog/distinfo2
-rw-r--r--deskutils/mcatalog/files/patch-src::Conf.cs38
-rw-r--r--deskutils/mcatalog/files/patch-src::Defines.cs.in13
-rw-r--r--deskutils/mcatalog/files/patch-src::Makefile.in11
-rw-r--r--deskutils/mcatalog/pkg-descr9
-rw-r--r--deskutils/mcatalog/pkg-plist31
8 files changed, 148 insertions, 0 deletions
diff --git a/deskutils/Makefile b/deskutils/Makefile
index e2214082d185..2fdca6f1de79 100644
--- a/deskutils/Makefile
+++ b/deskutils/Makefile
@@ -82,6 +82,7 @@
SUBDIR += ljit
SUBDIR += logjam
SUBDIR += mcal
+ SUBDIR += mcatalog
SUBDIR += mdh
SUBDIR += mencal
SUBDIR += mhc
diff --git a/deskutils/mcatalog/Makefile b/deskutils/mcatalog/Makefile
new file mode 100644
index 000000000000..677948a3c38e
--- /dev/null
+++ b/deskutils/mcatalog/Makefile
@@ -0,0 +1,43 @@
+# New ports collection makefile for: mcatalog
+# Date created: 24 October 2004
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= mcatalog
+PORTVERSION= 0.0.4
+CATEGORIES= deskutils gnome
+MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
+MASTER_SITE_SUBDIR= mcatalog
+
+MAINTAINER= bsd-sharp-list@forge.novell.com
+COMMENT= An application for catalogue films and books
+
+BUILD_DEPENDS= gapi-fixup:${PORTSDIR}/x11-toolkits/gtk-sharp
+LIB_DEPENDS= sqlite.2:${PORTSDIR}/databases/sqlite
+RUN_DEPENDS= ${BUILD_DEPENDS}
+
+USE_GNOME= gnomeprefix gnomehack gconf2
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+USE_LIBTOOL_VER=15
+CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
+ LDFLAGS="-L${LOCALBASE}/lib"
+
+DOCS= AUTHORS COPYING ChangeLog NEWS README TODO
+GCONF_SCHEMAS= mcatalog.schemas
+
+post-patch:
+ @${REINPLACE_CMD} -e 's|/pixmaps/mcatalog|/pixmaps|g' \
+ ${WRKSRC}/images/Makefile.in
+
+.ifndef (NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include <bsd.port.mk>
diff --git a/deskutils/mcatalog/distinfo b/deskutils/mcatalog/distinfo
new file mode 100644
index 000000000000..aca8d35182be
--- /dev/null
+++ b/deskutils/mcatalog/distinfo
@@ -0,0 +1,2 @@
+MD5 (mcatalog-0.0.4.tar.gz) = b2cb20787fc4c4f2c20dd09db37fd9c6
+SIZE (mcatalog-0.0.4.tar.gz) = 450807
diff --git a/deskutils/mcatalog/files/patch-src::Conf.cs b/deskutils/mcatalog/files/patch-src::Conf.cs
new file mode 100644
index 000000000000..9526dbc40459
--- /dev/null
+++ b/deskutils/mcatalog/files/patch-src::Conf.cs
@@ -0,0 +1,38 @@
+--- src/Conf.cs.orig Mon Oct 25 00:05:00 2004
++++ src/Conf.cs Mon Oct 25 00:05:04 2004
+@@ -30,25 +30,20 @@
+
+ public static string HomeDir {
+ get {
+- StringBuilder sbHome = new StringBuilder (home);
+- if (!Directory.Exists(sbHome.ToString())) {
+- Directory.CreateDirectory (sbHome.ToString());
++ if (!Directory.Exists(home)) {
++ Directory.CreateDirectory (home);
+ }
+- StringBuilder sbCache = sbHome.Append ("/cache");
+- if (!Directory.Exists(sbCache.ToString())) {
+- Directory.CreateDirectory (sbCache.ToString());
++ if (!Directory.Exists(home+"/cache")) {
++ Directory.CreateDirectory (home+"/cache");
+ }
+- StringBuilder sbSmall = sbCache.Append ("/small");
+- if (!Directory.Exists(sbSmall.ToString())) {
+- Directory.CreateDirectory (sbSmall.ToString());
++ if (!Directory.Exists(home+"/cache/small")) {
++ Directory.CreateDirectory (home+"/cache/small");
+ }
+- StringBuilder sbMedium = sbCache.Append ("/medium");
+- if (!Directory.Exists(sbMedium.ToString())) {
+- Directory.CreateDirectory (sbMedium.ToString());
++ if (!Directory.Exists(home+"/cache/medium")) {
++ Directory.CreateDirectory (home+"/cache/medium");
+ }
+- StringBuilder sbLarge = sbCache.Append ("/large");
+- if (!Directory.Exists(sbLarge.ToString())) {
+- Directory.CreateDirectory (sbLarge.ToString());
++ if (!Directory.Exists(home+"/cache/large")) {
++ Directory.CreateDirectory (home+"/cache/large");
+ }
+ return home;
+ }
diff --git a/deskutils/mcatalog/files/patch-src::Defines.cs.in b/deskutils/mcatalog/files/patch-src::Defines.cs.in
new file mode 100644
index 000000000000..9238d9dbfc20
--- /dev/null
+++ b/deskutils/mcatalog/files/patch-src::Defines.cs.in
@@ -0,0 +1,13 @@
+--- src/Defines.cs.in.orig Sun Oct 24 23:22:12 2004
++++ src/Defines.cs.in Sun Oct 24 23:24:03 2004
+@@ -9,8 +9,8 @@
+
+ public class Defines {
+ public static string VERSION = "@version@";
+- public static string DATADIR = "@prefix@/share";
++ public static string DATADIR = "@prefix@/share/gnome";
+ public static string APP_DATADIR = DATADIR + "/mcatalog";
+ public static string IMAGE_DATADIR = DATADIR + "/pixmaps/mcatalog";
+- public static string GNOME_LOCALE_DIR = DATADIR + "/locale";
++ public static string GNOME_LOCALE_DIR = "@prefix@/share/locale";
+ }
diff --git a/deskutils/mcatalog/files/patch-src::Makefile.in b/deskutils/mcatalog/files/patch-src::Makefile.in
new file mode 100644
index 000000000000..268d51cd0273
--- /dev/null
+++ b/deskutils/mcatalog/files/patch-src::Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig Sun Oct 24 22:54:23 2004
++++ src/Makefile.in Sun Oct 24 22:55:42 2004
+@@ -152,7 +152,7 @@
+ MCATALOG_CSFILES = $(MCATALOG_ORIGINAL_CSFILES) $(srcdir)/Defines.cs
+
+
+-ASSEMBLIES = /r:System.Data /r:System.Web.Services /r:Mono.Data.SqliteClient /r:Mono.Posix /pkg:gtkhtml-sharp /pkg:glade-sharp /pkg:gconf-sharp
++ASSEMBLIES = /r:System.Data /r:System.Web.Services /r:Mono.Data.SqliteClient /r:Mono.Posix $(shell pkg-config --libs gtkhtml-sharp) $(shell pkg-config --libs glade-sharp) $(shell pkg-config --libs gconf-sharp)
+
+
+ RESOURCES = /resource:$(top_srcdir)/resources/mainwindow.glade,mainwindow.glade /resource:$(top_srcdir)/resources/themeselection.glade,themeselection.glade /resource:$(top_srcdir)/resources/films.png,films.png /resource:$(top_srcdir)/resources/Database.sql,Database.sql /resource:$(top_srcdir)/resources/books.png,books.png /resource:$(top_srcdir)/resources/template_items_books.html,template_items_books.html /resource:$(top_srcdir)/resources/overviewbg.png,overviewbg.png /resource:$(top_srcdir)/resources/overviewbgnp.png,overviewbgnp.png /resource:$(top_srcdir)/resources/overview.png,overview.png /resource:$(top_srcdir)/resources/list.png,list.png /resource:$(top_srcdir)/resources/dialogaddbook.glade,dialogaddbook.glade /resource:$(top_srcdir)/resources/bigstar.png,bigstar.png /resource:$(top_srcdir)/resources/littlestar.png,littlestar.png /resource:$(top_srcdir)/resources/dialogaddfilm.glade,dialogaddfilm.glade /resource:$(top_srcdir)/resources/template_items_films.html,template_items_films.html /resource:$(top_srcdir)/resources/empty.png,empty.png /resource:$(top_srcdir)/resources/borrowed.png,borrowed.png /resource:$(top_srcdir)/resources/music.png,music.png
diff --git a/deskutils/mcatalog/pkg-descr b/deskutils/mcatalog/pkg-descr
new file mode 100644
index 000000000000..cd0de115b746
--- /dev/null
+++ b/deskutils/mcatalog/pkg-descr
@@ -0,0 +1,9 @@
+mCatalog is a film and book catalog. It's completely written it C#, and
+designed for working in the GNOME desktop. It can get the films/books data
+from amazon, and has a nice themeable interface.
+
+NOTE: The mCatalog interface was based on Delicious Library from Delicious
+Monster Software, LLC, and is used with permission, although Delicious Monster
+does not endorse or support this project.
+
+WWW: http://mcatalog.sourceforge.net/
diff --git a/deskutils/mcatalog/pkg-plist b/deskutils/mcatalog/pkg-plist
new file mode 100644
index 000000000000..c0174b614287
--- /dev/null
+++ b/deskutils/mcatalog/pkg-plist
@@ -0,0 +1,31 @@
+bin/mcatalog
+lib/mcatalog/mcatalog.exe
+%%PORTDOCS%%%%DOCSDIR%%/AUTHORS
+%%PORTDOCS%%%%DOCSDIR%%/COPYING
+%%PORTDOCS%%%%DOCSDIR%%/ChangeLog
+%%PORTDOCS%%%%DOCSDIR%%/NEWS
+%%PORTDOCS%%%%DOCSDIR%%/README
+%%PORTDOCS%%%%DOCSDIR%%/TODO
+share/gnome/applications/mcatalog.desktop
+share/gnome/pixmaps/mcatalog.png
+share/gnome/pixmaps/mcatalog/default/background.jpg
+share/gnome/pixmaps/mcatalog/default/shelf.png
+share/gnome/pixmaps/mcatalog/grass/background.jpg
+share/gnome/pixmaps/mcatalog/grass/shelf.png
+share/gnome/pixmaps/mcatalog/leather/background.jpg
+share/gnome/pixmaps/mcatalog/leather/shelf.png
+share/gnome/pixmaps/mcatalog/metal/background.jpg
+share/gnome/pixmaps/mcatalog/metal/shelf.png
+share/gnome/pixmaps/mcatalog/wood/background.jpg
+share/gnome/pixmaps/mcatalog/wood/shelf.png
+share/locale/cs/LC_MESSAGES/mcatalog.mo
+share/locale/es/LC_MESSAGES/mcatalog.mo
+share/locale/hu/LC_MESSAGES/mcatalog.mo
+@dirrm share/gnome/pixmaps/mcatalog/wood
+@dirrm share/gnome/pixmaps/mcatalog/metal
+@dirrm share/gnome/pixmaps/mcatalog/leather
+@dirrm share/gnome/pixmaps/mcatalog/grass
+@dirrm share/gnome/pixmaps/mcatalog/default
+@dirrm share/gnome/pixmaps/mcatalog
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm lib/mcatalog