2006-10-20 07:28:05 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2006/10/20 11:28:05 bernd Exp $
|
|
|
|
|
|
|
|
SHARED_ONLY= Yes
|
2002-02-28 14:30:14 -05:00
|
|
|
|
2002-02-26 20:19:50 -05:00
|
|
|
COMMENT= "Ruby extension library for GTK Toolkit"
|
|
|
|
|
2004-02-20 18:12:31 -05:00
|
|
|
VERSION= 0.34
|
2002-02-26 20:19:50 -05:00
|
|
|
DISTNAME= ruby-gtk-${VERSION}
|
2006-10-20 07:28:05 -04:00
|
|
|
PKGNAME= ${DISTNAME}p2
|
2002-06-29 09:03:53 -04:00
|
|
|
CATEGORIES= x11 devel
|
2002-02-26 20:19:50 -05:00
|
|
|
|
|
|
|
HOMEPAGE= http://ruby-gnome.sourceforge.net
|
|
|
|
|
2002-05-08 13:07:48 -04:00
|
|
|
MAINTAINER= Damien Couderc <couderc@openbsd.org>
|
2002-02-26 20:19:50 -05:00
|
|
|
|
|
|
|
# GPL license
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
2004-12-19 12:36:31 -05:00
|
|
|
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m
|
2002-02-26 20:19:50 -05:00
|
|
|
|
2002-12-09 17:41:58 -05:00
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-gnome/}
|
2002-02-26 20:19:50 -05:00
|
|
|
|
2004-08-09 15:56:15 -04:00
|
|
|
MODULES= lang/ruby
|
2002-06-29 09:03:53 -04:00
|
|
|
|
2006-09-18 06:21:48 -04:00
|
|
|
LIB_DEPENDS+= gtk.>=1.2,gdk.>=1.2::x11/gtk+ \
|
|
|
|
ruby.>=1.84::lang/ruby
|
2002-02-26 20:19:50 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
CONFIGURE_STYLE= simple
|
2002-06-29 09:03:53 -04:00
|
|
|
|
2002-12-09 17:41:58 -05:00
|
|
|
DOC_DIR= ${MODRUBY_DOCDIR}/ruby-gtk/
|
|
|
|
EXAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ruby-gtk/
|
2002-06-29 09:03:53 -04:00
|
|
|
|
|
|
|
post-install:
|
2002-12-09 17:41:58 -05:00
|
|
|
${INSTALL_DATA_DIR} ${DOC_DIR}
|
|
|
|
cp -R ${WRKSRC}/doc/* ${DOC_DIR}
|
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
|
|
|
|
cp -R ${WRKSRC}/sample/* ${EXAMPLE_DIR}
|
2002-02-26 20:19:50 -05:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|