2002-11-27 21:12:16 +01:00
|
|
|
# New ports collection makefile for: Ruby/GLib2
|
|
|
|
# Date created: 24 November 2002
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= glib2
|
|
|
|
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
|
2002-12-05 21:44:40 +01:00
|
|
|
CATEGORIES= devel ruby
|
2002-11-27 21:12:16 +01: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
|
2003-02-18 06:04:59 +01:00
|
|
|
COMMENT= Ruby binding for GLib2
|
2002-11-27 21:12:16 +01:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2004-02-27 10:36:58 +01:00
|
|
|
USE_GNOME= glib20
|
2002-11-27 21:12:16 +01:00
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
|
|
|
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
|
|
|
|
|
|
|
|
WRKSRC= ${RUBY_GNOME_WRKSRC}/glib
|
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2004-08-15 09:11:57 +02:00
|
|
|
DOCS= COPYING.LIB ChangeLog README
|
2002-11-27 21:12:16 +01:00
|
|
|
|
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
2004-08-15 09:11:57 +02:00
|
|
|
@${MKDIR} ${RUBY_MODEXAMPLESDIR}
|
|
|
|
@${INSTALL_DATA} ${WRKSRC}/sample/* ${RUBY_MODEXAMPLESDIR}/
|
|
|
|
@${MKDIR} ${RUBY_MODDOCDIR}
|
2002-11-27 21:12:16 +01:00
|
|
|
.for f in ${DOCS}
|
2004-08-15 09:11:57 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2002-11-27 21:12:16 +01:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|