2002-11-27 21:12:16 +01:00
|
|
|
# New ports collection makefile for: Ruby/GConf2
|
2001-10-20 13:51:26 +02:00
|
|
|
# Date created: 20 October 2001
|
|
|
|
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
2005-11-05 06:35:10 +01:00
|
|
|
# $MCom: ports/devel/ruby-gconf2/Makefile,v 1.2 2005/10/17 07:05:39 mezz Exp $
|
2001-10-20 13:51:26 +02:00
|
|
|
#
|
|
|
|
|
2002-11-27 21:12:16 +01:00
|
|
|
PORTNAME= gconf2
|
|
|
|
PORTVERSION= ${RUBY_GNOME_PORTVERSION}
|
2004-04-09 16:09:03 +02:00
|
|
|
CATEGORIES= devel gnome ruby
|
2002-11-27 21:12:16 +01:00
|
|
|
MASTER_SITES= ${RUBY_GNOME_MASTER_SITES}
|
|
|
|
MASTER_SITE_SUBDIR= ${RUBY_GNOME_MASTER_SITE_SUBDIR}
|
2001-10-20 13:51:26 +02:00
|
|
|
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
|
2002-11-27 21:12:16 +01:00
|
|
|
DISTNAME= ${RUBY_GNOME_DISTNAME}
|
2001-10-20 13:51:26 +02:00
|
|
|
DIST_SUBDIR= ruby
|
|
|
|
|
2004-05-03 01:36:58 +02:00
|
|
|
MAINTAINER= mezz@FreeBSD.org
|
2003-02-18 06:04:59 +01:00
|
|
|
COMMENT= A Ruby interface to GConf2
|
2001-10-20 13:51:26 +02:00
|
|
|
|
2002-11-27 21:12:16 +01:00
|
|
|
RUN_DEPENDS= ${RUBY_SITEARCHLIBDIR}/glib2.so:${PORTSDIR}/devel/ruby-glib2
|
2001-10-20 13:51:26 +02:00
|
|
|
|
|
|
|
USE_RUBY= yes
|
2004-02-27 10:36:58 +01:00
|
|
|
USE_GNOME= gconf2
|
2001-10-20 13:51:26 +02:00
|
|
|
USE_RUBY_EXTCONF= yes
|
|
|
|
|
2002-11-27 21:12:16 +01:00
|
|
|
.include "${.CURDIR}/../../x11/ruby-gnome2/Makefile.common"
|
|
|
|
|
|
|
|
WRKSRC= ${RUBY_GNOME_WRKSRC}/gconf
|
2001-10-20 13:51:26 +02:00
|
|
|
INSTALL_TARGET= site-install
|
|
|
|
|
2004-08-15 09:11:57 +02:00
|
|
|
DOCS= COPYING.LIB ChangeLog README
|
2001-10-20 13:51:26 +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}
|
2001-10-20 13:51:26 +02:00
|
|
|
.for f in ${DOCS}
|
2004-08-15 09:11:57 +02:00
|
|
|
@${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
|
2001-10-20 13:51:26 +02:00
|
|
|
.endfor
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|