openbsd-ports/x11/ruby-gtk/Makefile
sturm c48321f2f5 add CONFIGURE_STYLE "ruby setup" and related targets
move LIB_DEPENDS to relevant ports, no PKGNAME bump needed
this is in preparation of a soon to come ruby-gems port

with msf's consent
2006-06-11 18:57:11 +00:00

42 lines
920 B
Makefile

# $OpenBSD: Makefile,v 1.17 2006/06/11 18:57:11 sturm Exp $
COMMENT= "Ruby extension library for GTK Toolkit"
VERSION= 0.34
DISTNAME= ruby-gtk-${VERSION}
PKGNAME= ${DISTNAME}p0
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+ \
ruby.1.84::lang/ruby
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>