summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--deskutils/alexandria/Makefile55
-rw-r--r--deskutils/alexandria/distinfo3
-rw-r--r--deskutils/alexandria/pkg-descr3
-rw-r--r--deskutils/alexandria/pkg-plist66
4 files changed, 127 insertions, 0 deletions
diff --git a/deskutils/alexandria/Makefile b/deskutils/alexandria/Makefile
new file mode 100644
index 000000000..afed34a7e
--- /dev/null
+++ b/deskutils/alexandria/Makefile
@@ -0,0 +1,55 @@
+# New ports collection makefile for: Alexandria
+# Date created: 18 March 2005
+# Whom: Mitsuru YOSHIDA <mitsuru@riken.jp>
+#
+# $FreeBSD$
+#
+
+PORTNAME= alexandria
+PORTVERSION= 0.5.0
+PORTREVISION= 3
+CATEGORIES= deskutils ruby
+MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
+MASTER_SITE_SUBDIR= ${PORTNAME}
+PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
+DIST_SUBDIR= ruby
+
+MAINTAINER= mitsuru@riken.jp
+COMMENT= A GNOME application to help you manage your book collection
+
+RUN_DEPENDS= ${RUBY_SITELIBDIR}/amazon.rb:${PORTSDIR}/www/ruby-amazon \
+ ${RUBY_SITEARCHLIBDIR}/locale_system.so:${PORTSDIR}/devel/ruby-gettext \
+ ${RUBY_SITEARCHLIBDIR}/libglade2.so:${PORTSDIR}/devel/ruby-libglade2 \
+ ${RUBY_SITEARCHLIBDIR}/gnome2.so:${PORTSDIR}/x11/ruby-gnome2 \
+ ${RUBY_SITEARCHLIBDIR}/gdk_pixbuf2.so:${PORTSDIR}/graphics/ruby-gdk_pixbuf2 \
+ ${RUBY_SITEARCHLIBDIR}/gconf2.so:${PORTSDIR}/devel/ruby-gconf2
+
+USE_GNOME= gnomehier
+USE_GETTEXT= yes
+USE_RUBY= yes
+USE_RUBY_SETUP= yes
+RUBY_SETUP= install.rb
+
+DOCS= NEWS README TODO
+GCONF_SCHEMAS= alexandria.schemas
+
+RUBY_REQUIRE= Ruby > 180
+
+.include <bsd.port.pre.mk>
+
+.if !defined(RUBY_PROVIDED)
+IGNORE= only works with Ruby 1.8.0 or later
+.endif
+
+post-install:
+ @${MKDIR} ${LOCALBASE}/etc/gconf/schemas
+ @${INSTALL_DATA} ${WRKSRC}/schemas/alexandria.schemas \
+ ${LOCALBASE}/etc/gconf/schemas/
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${RUBY_MODDOCDIR}
+.for f in ${DOCS}
+ @${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
+.endfor
+.endif
+
+.include <bsd.port.post.mk>
diff --git a/deskutils/alexandria/distinfo b/deskutils/alexandria/distinfo
new file mode 100644
index 000000000..61360dfc5
--- /dev/null
+++ b/deskutils/alexandria/distinfo
@@ -0,0 +1,3 @@
+MD5 (ruby/alexandria-0.5.0.tar.gz) = d5a7bf954560faefb9b9556051e1ffda
+SHA256 (ruby/alexandria-0.5.0.tar.gz) = b2719350ab4586829d85354d474231f7252800b774ef105bbdbdc00adb5031c3
+SIZE (ruby/alexandria-0.5.0.tar.gz) = 123506
diff --git a/deskutils/alexandria/pkg-descr b/deskutils/alexandria/pkg-descr
new file mode 100644
index 000000000..69eea48f6
--- /dev/null
+++ b/deskutils/alexandria/pkg-descr
@@ -0,0 +1,3 @@
+Alexandria is a GNOME application to help you manage your book collection.
+
+WWW: http://alexandria.rubyforge.org/
diff --git a/deskutils/alexandria/pkg-plist b/deskutils/alexandria/pkg-plist
new file mode 100644
index 000000000..d74456a20
--- /dev/null
+++ b/deskutils/alexandria/pkg-plist
@@ -0,0 +1,66 @@
+bin/alexandria
+%%RUBY_SITELIBDIR%%/alexandria.rb
+%%RUBY_SITELIBDIR%%/alexandria/book.rb
+%%RUBY_SITELIBDIR%%/alexandria/book_providers.rb
+%%RUBY_SITELIBDIR%%/alexandria/book_providers/amazon.rb
+%%RUBY_SITELIBDIR%%/alexandria/book_providers/bn.rb
+%%RUBY_SITELIBDIR%%/alexandria/book_providers/mcu.rb
+%%RUBY_SITELIBDIR%%/alexandria/book_providers/proxis.rb
+%%RUBY_SITELIBDIR%%/alexandria/config.rb
+%%RUBY_SITELIBDIR%%/alexandria/execution_queue.rb
+%%RUBY_SITELIBDIR%%/alexandria/export_library.rb
+%%RUBY_SITELIBDIR%%/alexandria/import_library.rb
+%%RUBY_SITELIBDIR%%/alexandria/library.rb
+%%RUBY_SITELIBDIR%%/alexandria/preferences.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/about_dialog.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/alert_dialog.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/book_properties_dialog.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/book_properties_dialog_base.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/export_dialog.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/glade_base.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/icons.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/import_dialog.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/main_app.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/new_book_dialog.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/new_book_dialog_manual.rb
+%%RUBY_SITELIBDIR%%/alexandria/ui/preferences_dialog.rb
+%%RUBY_SITELIBDIR%%/alexandria/web_themes.rb
+%%RUBY_SITELIBDIR%%/alexandria/version.rb
+%%DATADIR%%/COPYING
+%%DATADIR%%/glade/book_properties_dialog.glade
+%%DATADIR%%/glade/main_app.glade
+%%DATADIR%%/glade/new_book_dialog.glade
+%%DATADIR%%/glade/preferences_dialog.glade
+%%DATADIR%%/icons/alexandria.png
+%%DATADIR%%/icons/alexandria_small.png
+%%DATADIR%%/icons/book.png
+%%DATADIR%%/icons/cuecat.png
+%%DATADIR%%/icons/cuecat_inactive.png
+%%DATADIR%%/icons/library.png
+%%DATADIR%%/icons/library_small.png
+%%DATADIR%%/icons/star_set.png
+%%DATADIR%%/icons/star_unset.png
+%%DATADIR%%/ui/menus.xml
+%%DATADIR%%/ui/popups.xml
+%%DATADIR%%/web-themes/clean/clean.css
+%%DATADIR%%/web-themes/clean/preview.jpg
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/NEWS
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/README
+%%PORTDOCS%%%%RUBY_MODDOCDIR%%/TODO
+share/locale/cy/LC_MESSAGES/alexandria.mo
+share/locale/de/LC_MESSAGES/alexandria.mo
+share/locale/es/LC_MESSAGES/alexandria.mo
+share/locale/fr/LC_MESSAGES/alexandria.mo
+share/locale/ja/LC_MESSAGES/alexandria.mo
+share/locale/sv/LC_MESSAGES/alexandria.mo
+@dirrm %%RUBY_SITELIBDIR%%/alexandria/book_providers
+@dirrm %%RUBY_SITELIBDIR%%/alexandria/ui
+@dirrm %%RUBY_SITELIBDIR%%/alexandria
+@dirrm %%DATADIR%%/glade
+@dirrm %%DATADIR%%/icons
+@dirrm %%DATADIR%%/ui
+@dirrm %%DATADIR%%/web-themes/clean
+@dirrm %%DATADIR%%/web-themes
+@dirrm %%DATADIR%%
+@dirrm %%PORTDOCS%%%%RUBY_MODDOCDIR%%