2004-04-09 16:17:14 +02:00
|
|
|
# New ports collection makefile for: Ruby/Libgda
|
2004-04-09 16:23:40 +02:00
|
|
|
# Date created: 05 April 2004
|
|
|
|
# Whom: Mezz <mezz7@cox.net>
|
2004-04-09 16:17:14 +02:00
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= libgda
|
|
|
|
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
|
2004-04-09 16:23:40 +02:00
|
|
|
CATEGORIES= databases gnome ruby
|
2004-04-09 16:17:14 +02:00
|
|
|
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
|
|
|
|
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
|
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${RUBY_GNOME_DISTNAME}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2004-05-03 01:36:58 +02:00
|
|
|
MAINTAINER= mezz@FreeBSD.org
|
2004-04-09 16:23:40 +02:00
|
|
|
COMMENT= Ruby binding for libgda (GNOME-DB Project)
|
2004-04-09 16:17:14 +02:00
|
|
|
|
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
|
|
|
|
|
|
|
|
USE_RUBY= yes
|
2004-08-15 09:11:57 +02:00
|
|
|
USE_XLIB= yes
|
2004-04-09 16:17:14 +02:00
|
|
|
USE_GNOME= libgda2
|
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
|
|
|
|
|
2004-04-09 16:23:40 +02:00
|
|
|
WRKSRC= ${RUBY_GNOME_WRKSRC}/libgda
|
2004-04-09 16:17:14 +02:00
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2004-08-15 09:11:57 +02:00
|
|
|
DOCS= COPYING.LIB ChangeLog README
|
2004-04-09 16:17:14 +02:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-15 09:11:57 +02:00
|
|
|
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/tests/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
@${MKDIR} ${RUBY_MODDOCDIR}
|
2004-04-09 16:17:14 +02:00
|
|
|
.for f in ${DOCS}
|
2004-08-15 09:11:57 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2004-04-09 16:17:14 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|