2002-11-27 21:12:16 +01:00
|
|
|
# New ports collection makefile for: Ruby-GNOME2
|
2001-02-28 13:52:25 +01:00
|
|
|
# Date created: 28 February 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2005-11-05 06:35:10 +01:00
|
|
|
# $MCom: ports/x11/ruby-gnome2/Makefile,v 1.2 2005/10/17 07:05:42 mezz Exp $
|
2001-02-28 13:52:25 +01:00
|
|
|
#
|
|
|
|
|
2002-11-27 21:12:16 +01:00
|
|
|
PORTNAME= gnome2
|
2001-02-28 13:52:25 +01:00
|
|
|
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
|
|
|
|
CATEGORIES= x11 ruby
|
|
|
|
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
|
2001-11-20 17:35:43 +01:00
|
|
|
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
|
2001-02-28 13:52:25 +01:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= ${RUBY_GNOME_DISTNAME}
|
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2004-05-03 01:36:58 +02:00
|
|
|
MAINTAINER= mezz@FreeBSD.org
|
2003-02-18 06:42:05 +01:00
|
|
|
COMMENT= A set of Ruby bindings for GNOME2
|
2001-02-28 13:52:25 +01:00
|
|
|
|
2005-03-12 12:05:18 +01:00
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/gnomecanvas2.so:${PORTSDIR}/graphics/ruby-gnomecanvas2
|
2001-02-28 13:52:25 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2003-09-18 17:17:23 +02:00
|
|
|
USE_GNOME= libgnomeui
|
2001-02-28 13:52:25 +01:00
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
.include "${.CURDIR}/Makefile.common"
|
|
|
|
|
2002-11-27 21:12:16 +01:00
|
|
|
WRKSRC= ${RUBY_GNOME_WRKSRC}/gnome
|
2001-02-28 13:52:25 +01:00
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2004-08-15 09:11:57 +02:00
|
|
|
DOCS_EN= AUTHORS COPYING.LIB ChangeLog README README.gnome2-all
|
2001-02-28 13:52:25 +01:00
|
|
|
|
2004-08-15 09:11:57 +02:00
|
|
|
post-build:
|
|
|
|
@${CP} ${RUBY_GNOME_WRKSRC}/AUTHORS ${WRKSRC}/AUTHORS
|
|
|
|
@${CP} ${RUBY_GNOME_WRKSRC}/README ${WRKSRC}/README.gnome2-all
|
2001-02-28 13:52:25 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-15 09:11:57 +02:00
|
|
|
@${MKDIR} ${RUBY_MODEXAMPLESDIR}/test-gnome
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample/*.rb ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample/test-gnome/* ${RUBY_MODEXAMPLESDIR}/test-gnome/
|
|
|
|
@${MKDIR} ${RUBY_MODDOCDIR}
|
2001-02-28 13:52:25 +01:00
|
|
|
.for f in ${DOCS_EN}
|
2004-08-15 09:11:57 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-02-28 13:52:25 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|