openbsd-ports/x11/ruby-gtk/Makefile

43 lines
911 B
Makefile

# $OpenBSD: Makefile,v 1.31 2009/02/09 20:48:23 naddy Exp $
SHARED_ONLY= Yes
COMMENT= Ruby extension library for GTK Toolkit
VERSION= 0.34
DISTNAME= ruby-gtk-${VERSION}
PKGNAME= ${DISTNAME}p9
CATEGORIES= x11 devel
HOMEPAGE= http://ruby-gnome.sourceforge.net
# 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+ \
ruby.>=1.84::lang/ruby
NO_REGRESS= Yes
USE_X11= Yes
CONFIGURE_STYLE= ruby extconf
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>