openbsd-ports/devel/ruby-ncurses/Makefile
jeremy 5a1de5c2d1 Bump after change to remove OpenBSD version from ruby SITEARCHDIR,
and use new MODRUBY_SITEDIR and MODRUBY_SITEARCHDIR variables in
PLIST.

Allow building on ruby 1.9 by using RARRAY_LEN() instead of
RARRAY()->len.

OK landry@, jcs@ for the bump and PLIST changes
2011-07-19 18:04:21 +00:00

41 lines
859 B
Makefile

# $OpenBSD: Makefile,v 1.31 2011/07/19 18:04:21 jeremy Exp $
COMMENT= Ruby interface to ncurses
VERSION= 1.1
DISTNAME= ncurses-ruby-${VERSION}
PKGNAME= ncurses-${VERSION}
REVISION= 12
CATEGORIES= devel
HOMEPAGE= http://ncurses-ruby.berlios.de/
# LGPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
WANTLIB= form ncurses panel
MASTER_SITES= ${MASTER_SITE_BERLIOS:=ncurses-ruby/}
EXTRACT_SUFX= .tar.bz2
MODULES= lang/ruby
CONFIGURE_STYLE= ruby extconf
INSTALL_TARGET= site-install
NO_REGRESS= Yes
DOC_DIR= ${MODRUBY_DOCDIR}/ncurses
SAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ncurses
post-install:
${INSTALL_DATA_DIR} ${DOC_DIR}
${INSTALL_DATA} ${WRKSRC}/README ${DOC_DIR}
${INSTALL_DATA_DIR} ${SAMPLE_DIR}
${INSTALL_DATA} ${WRKSRC}/examples/* ${SAMPLE_DIR}
.include <bsd.port.mk>