43 lines
957 B
Makefile
43 lines
957 B
Makefile
# $OpenBSD: Makefile,v 1.15 2008/02/22 19:16:49 naddy Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= Ruby binding to Gdk-imlib
|
|
|
|
VERSION= 0.34
|
|
DISTNAME= ruby-gnome-all-${VERSION}
|
|
PKGNAME= ruby-gdk-imlib-${VERSION}p7
|
|
CATEGORIES= graphics devel
|
|
|
|
HOMEPAGE= http://ruby-gnome.sourceforge.net/
|
|
|
|
# LGPL
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=ruby-gnome/}
|
|
|
|
MODULES= lang/ruby
|
|
LIB_DEPENDS= gdk_imlib.>=19::graphics/imlib \
|
|
ruby.>=1.84::lang/ruby
|
|
RUN_DEPENDS= :ruby-gtk->=0.31:x11/ruby-gtk
|
|
WANTLIB= c gmodule iconv intl gtk Xmu jpeg ungif \
|
|
Xext Xi m X11 glib z gdk tiff png
|
|
|
|
CONFIGURE_STYLE= ruby extconf
|
|
INSTALL_TARGET= site-install
|
|
|
|
USE_X11= Yes
|
|
NO_REGRESS= Yes
|
|
|
|
WRKSRC= ${WRKDIST}/gdkimlib
|
|
SAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ruby-gdk-imlib
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${SAMPLE_DIR}
|
|
${INSTALL_DATA} ${WRKSRC}/sample/* ${SAMPLE_DIR}
|
|
|
|
.include <bsd.port.mk>
|