2005-03-19 20:01:29 +01:00
|
|
|
# New ports collection makefile for: Alexandria
|
|
|
|
# Date created: 18 March 2005
|
|
|
|
# Whom: Mitsuru YOSHIDA <mitsuru@riken.jp>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= alexandria
|
2006-09-07 18:50:01 +02:00
|
|
|
PORTVERSION= 0.6.1
|
2008-06-06 16:17:21 +02:00
|
|
|
PORTREVISION= 8
|
2005-03-19 20:01:29 +01:00
|
|
|
CATEGORIES= deskutils ruby
|
2006-08-08 13:35:27 +02:00
|
|
|
MASTER_SITES= ${MASTER_SITE_RUBYFORGE}
|
|
|
|
MASTER_SITE_SUBDIR= ${PORTNAME}
|
2005-03-19 20:01:29 +01:00
|
|
|
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 \
|
2006-06-09 16:13:02 +02:00
|
|
|
${RUBY_SITEARCHLIBDIR}/locale_system.so:${PORTSDIR}/devel/ruby-gettext \
|
2005-03-19 20:01:29 +01:00
|
|
|
${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 \
|
2007-01-17 06:23:31 +01:00
|
|
|
${RUBY_SITEARCHLIBDIR}/gconf2.so:${PORTSDIR}/devel/ruby-gconf2 \
|
|
|
|
${RUBY_SITEARCHLIBDIR}/zoom.so:${PORTSDIR}/devel/ruby-zoom
|
2005-03-19 20:01:29 +01:00
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
USE_GNOME= gnomehier
|
2006-09-07 18:50:01 +02:00
|
|
|
INSTALLS_OMF= yes
|
2005-03-22 16:22:27 +01:00
|
|
|
USE_GETTEXT= yes
|
2005-03-19 20:01:29 +01:00
|
|
|
USE_RUBY= yes
|
|
|
|
USE_RUBY_SETUP= yes
|
|
|
|
RUBY_SETUP= install.rb
|
|
|
|
|
2006-10-14 10:54:54 +02:00
|
|
|
DOCS= NEWS README TODO
|
|
|
|
GCONF_SCHEMAS= alexandria.schemas
|
|
|
|
|
2005-03-19 20:01:29 +01:00
|
|
|
RUBY_REQUIRE= Ruby > 180
|
2006-09-07 18:50:01 +02:00
|
|
|
CONFIGURE_ARGS= "--prefix=${PREFIX}"
|
2005-03-19 20:01:29 +01:00
|
|
|
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
|
|
|
.if !defined(RUBY_PROVIDED)
|
|
|
|
IGNORE= only works with Ruby 1.8.0 or later
|
|
|
|
.endif
|
|
|
|
|
|
|
|
post-install:
|
2006-10-14 10:54:54 +02:00
|
|
|
@${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
|
2005-03-19 20:01:29 +01:00
|
|
|
|
|
|
|
.include <bsd.port.post.mk>
|