openbsd-ports/x11/ruby-gtk/Makefile
2004-12-19 17:36:31 +00:00

40 lines
870 B
Makefile

# $OpenBSD: Makefile,v 1.15 2004/12/19 17:36:33 alek Exp $
COMMENT= "Ruby extension library for GTK Toolkit"
VERSION= 0.34
DISTNAME= ruby-gtk-${VERSION}
CATEGORIES= x11 devel
HOMEPAGE= http://ruby-gnome.sourceforge.net
MAINTAINER= Damien Couderc <couderc@openbsd.org>
# GPL license
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= X11 Xext Xi c glib gmodule iconv intl m
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-gnome/}
MODULES= lang/ruby
LIB_DEPENDS+= gtk.1.2,gdk.1.2::x11/gtk+
NO_REGRESS= Yes
CONFIGURE_STYLE= simple
DOC_DIR= ${MODRUBY_DOCDIR}/ruby-gtk/
EXAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ruby-gtk/
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
cp -R ${WRKSRC}/doc/* ${DOC_DIR}
${INSTALL_DATA_DIR} ${EXAMPLE_DIR}
cp -R ${WRKSRC}/sample/* ${EXAMPLE_DIR}
.include <bsd.port.mk>