summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-26 10:08:17 +0800
committermezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059>2006-07-26 10:08:17 +0800
commitb50f4ffdae49418b5bf1a43b0e6d840952613429 (patch)
tree7444709230d2be454b4ab2bf70872b220788cd29
parent368b72c003a973775a8fa734662d99840950808b (diff)
downloadmarcuscom-ports-b50f4ffdae49418b5bf1a43b0e6d840952613429.tar.gz
marcuscom-ports-b50f4ffdae49418b5bf1a43b0e6d840952613429.tar.zst
marcuscom-ports-b50f4ffdae49418b5bf1a43b0e6d840952613429.zip
X11BASE -> LOCALBASE, gecko ports live in LOCALBASE. Bump the PORTREVISION.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@6814 df743ca5-7f9a-e211-a948-0013205c9059
-rw-r--r--deskutils/mcatalog/Makefile56
-rw-r--r--deskutils/mcatalog/distinfo3
-rw-r--r--deskutils/mcatalog/files/patch-src::Defines.cs.in14
-rw-r--r--deskutils/mcatalog/files/patch-src_mcatalog.in16
-rw-r--r--deskutils/mcatalog/pkg-descr9
-rw-r--r--deskutils/mcatalog/pkg-plist70
6 files changed, 168 insertions, 0 deletions
diff --git a/deskutils/mcatalog/Makefile b/deskutils/mcatalog/Makefile
new file mode 100644
index 000000000..9637c3d23
--- /dev/null
+++ b/deskutils/mcatalog/Makefile
@@ -0,0 +1,56 @@
+# New ports collection makefile for: mcatalog
+# Date created: 24 October 2004
+# Whom: Mezz <mezz@FreeBSD.org>
+#
+# $FreeBSD$
+# $Id: Makefile,v 1.1 2006-07-26 02:08:17 mezz Exp $
+#
+
+PORTNAME= mcatalog
+PORTVERSION= 0.2
+PORTREVISION= 3
+CATEGORIES= deskutils gnome
+MASTER_SITES= http://www.mcatalog.net/releases/
+
+MAINTAINER= bsd-sharp-list@forge.novell.com
+COMMENT= An application for catalogue films and books
+
+BUILD_DEPENDS= gapi2-parser:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
+ ${X11BASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp \
+ ${X11BASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20
+RUN_DEPENDS= gapi2-parser:${PORTSDIR}/x11-toolkits/gtk-sharp20 \
+ ${X11BASE}/libdata/pkgconfig/evolution-sharp.pc:${PORTSDIR}/mail/evolution-sharp \
+ ${X11BASE}/libdata/pkgconfig/gecko-sharp-2.0.pc:${PORTSDIR}/www/gecko-sharp20
+
+USE_GECKO= mozilla firefox
+USE_GNOME= gnomeprefix gnomehack gconf2 intlhack
+USE_SQLITE= 2
+USE_GMAKE= yes
+USE_X_PREFIX= yes
+GNU_CONFIGURE= yes
+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
+ @${REINPLACE_CMD} -e 's|@prefix@/share|${PREFIX}/share/gnome|g' \
+ ${WRKSRC}/mcatalog.desktop.in
+ @${REINPLACE_CMD} -e 's|%%MOZILLA%%|${LOCALBASE}/lib/${GECKO}|g' \
+ ${WRKSRC}/src/mcatalog.in
+
+.ifndef (NOPORTDOCS)
+post-install:
+ @${MKDIR} ${DOCSDIR}
+.for i in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${i} ${DOCSDIR}
+.endfor
+.endif
+
+.include "${.CURDIR}/../../lang/mono/bsd.mono.mk"
+.include <bsd.port.pre.mk>
+.include "${.CURDIR}/../../www/mozilla/bsd.gecko.mk"
+.include <bsd.port.post.mk>
diff --git a/deskutils/mcatalog/distinfo b/deskutils/mcatalog/distinfo
new file mode 100644
index 000000000..5c7818f96
--- /dev/null
+++ b/deskutils/mcatalog/distinfo
@@ -0,0 +1,3 @@
+MD5 (mcatalog-0.2.tar.gz) = 2b88fda7c47b808ab38b80ba63ba2fd6
+SHA256 (mcatalog-0.2.tar.gz) = 6d1f6fcbfc9c2937303b1e900f444cbd9116076274257ab785bd542f7a790baf
+SIZE (mcatalog-0.2.tar.gz) = 584389
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 000000000..ce9beac64
--- /dev/null
+++ b/deskutils/mcatalog/files/patch-src::Defines.cs.in
@@ -0,0 +1,14 @@
+--- src/Defines.cs.in.orig Sun Aug 7 13:40:06 2005
++++ src/Defines.cs.in Sun Aug 7 13:40:44 2005
+@@ -9,9 +9,9 @@
+
+ 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 = APP_DATADIR + "/pixmaps";
+ public static string TEMPLATES_DATADIR = APP_DATADIR + "/templates";
+- 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_mcatalog.in b/deskutils/mcatalog/files/patch-src_mcatalog.in
new file mode 100644
index 000000000..0962d28a1
--- /dev/null
+++ b/deskutils/mcatalog/files/patch-src_mcatalog.in
@@ -0,0 +1,16 @@
+--- src/mcatalog.in.orig Sun Aug 7 14:51:42 2005
++++ src/mcatalog.in Sun Aug 7 14:51:49 2005
+@@ -1,6 +1,12 @@
+ #!/bin/sh
+
+-export LD_LIBRARY_PATH="@prefix@/lib/mcatalog:$LD_LIBRARY_PATH"
++MOZILLA_HOME=%%MOZILLA%%
++export MOZILLA_HOME
++
++MOZILLA_FIVE_HOME=%%MOZILLA%%
++export MOZILLA_FIVE_HOME
++
++export LD_LIBRARY_PATH="@prefix@/lib/mcatalog:%%MOZILLA%%:$LD_LIBRARY_PATH"
+ EXE_TO_RUN="@prefix@/lib/mcatalog/mcatalog.exe"
+
+ mono $EXE_TO_RUN "$@"
diff --git a/deskutils/mcatalog/pkg-descr b/deskutils/mcatalog/pkg-descr
new file mode 100644
index 000000000..0b8fe2510
--- /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://www.mcatalog.net
diff --git a/deskutils/mcatalog/pkg-plist b/deskutils/mcatalog/pkg-plist
new file mode 100644
index 000000000..7c15a2b84
--- /dev/null
+++ b/deskutils/mcatalog/pkg-plist
@@ -0,0 +1,70 @@
+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/application-registry/mcatalog.applications
+share/gnome/applications/mcatalog.desktop
+share/gnome/mcatalog/pixmaps/bigstar.png
+share/gnome/mcatalog/pixmaps/borrowed.png
+share/gnome/mcatalog/pixmaps/default/background.jpg
+share/gnome/mcatalog/pixmaps/default/shelf.png
+share/gnome/mcatalog/pixmaps/grass/background.jpg
+share/gnome/mcatalog/pixmaps/grass/shelf.png
+share/gnome/mcatalog/pixmaps/leather/background.jpg
+share/gnome/mcatalog/pixmaps/leather/shelf.png
+share/gnome/mcatalog/pixmaps/littlestar.png
+share/gnome/mcatalog/pixmaps/logo.png
+share/gnome/mcatalog/pixmaps/mcatalog.png
+share/gnome/mcatalog/pixmaps/metal/background.jpg
+share/gnome/mcatalog/pixmaps/metal/shelf.png
+share/gnome/mcatalog/pixmaps/shelfbg.png
+share/gnome/mcatalog/pixmaps/shelfbgnp.png
+share/gnome/mcatalog/pixmaps/wood/background.jpg
+share/gnome/mcatalog/pixmaps/wood/shelf.png
+share/gnome/mcatalog/templates/albums_printable.html
+share/gnome/mcatalog/templates/albums_printable.png
+share/gnome/mcatalog/templates/albums_printable.rc
+share/gnome/mcatalog/templates/albums_simple.html
+share/gnome/mcatalog/templates/albums_simple.png
+share/gnome/mcatalog/templates/albums_simple.rc
+share/gnome/mcatalog/templates/books_printable.html
+share/gnome/mcatalog/templates/books_printable.png
+share/gnome/mcatalog/templates/books_printable.rc
+share/gnome/mcatalog/templates/books_simple.html
+share/gnome/mcatalog/templates/books_simple.png
+share/gnome/mcatalog/templates/books_simple.rc
+share/gnome/mcatalog/templates/films_printable.html
+share/gnome/mcatalog/templates/films_printable.png
+share/gnome/mcatalog/templates/films_printable.rc
+share/gnome/mcatalog/templates/films_simple.html
+share/gnome/mcatalog/templates/films_simple.png
+share/gnome/mcatalog/templates/films_simple.rc
+share/locale/cs/LC_MESSAGES/mcatalog.mo
+share/locale/de/LC_MESSAGES/mcatalog.mo
+share/locale/en_CA/LC_MESSAGES/mcatalog.mo
+share/locale/en_GB/LC_MESSAGES/mcatalog.mo
+share/locale/es/LC_MESSAGES/mcatalog.mo
+share/locale/fr/LC_MESSAGES/mcatalog.mo
+share/locale/hu/LC_MESSAGES/mcatalog.mo
+share/locale/it/LC_MESSAGES/mcatalog.mo
+share/locale/nl/LC_MESSAGES/mcatalog.mo
+share/locale/pt_BR/LC_MESSAGES/mcatalog.mo
+share/locale/rw/LC_MESSAGES/mcatalog.mo
+share/locale/sv/LC_MESSAGES/mcatalog.mo
+share/locale/zh_CN/LC_MESSAGES/mcatalog.mo
+@dirrmtry share/locale/rw/LC_MESSAGES
+@dirrmtry share/locale/rw
+@dirrm share/gnome/mcatalog/templates
+@dirrm share/gnome/mcatalog/pixmaps/wood
+@dirrm share/gnome/mcatalog/pixmaps/metal
+@dirrm share/gnome/mcatalog/pixmaps/leather
+@dirrm share/gnome/mcatalog/pixmaps/grass
+@dirrm share/gnome/mcatalog/pixmaps/default
+@dirrm share/gnome/mcatalog/pixmaps
+@dirrm share/gnome/mcatalog
+%%PORTDOCS%%@dirrm %%DOCSDIR%%
+@dirrm lib/mcatalog