006fde0cd9
into MODRUBY_WANTLIB and using CONFIGURE_STYLE = ruby gem ext. Use the lang/ruby module for all dependent ports, setting MODRUBY_{BUILD,RUN}DEP=No if necessary. ok landry, phessler, sthen
41 lines
873 B
Makefile
41 lines
873 B
Makefile
# $OpenBSD: Makefile,v 1.26 2010/10/26 21:42:14 jeremy Exp $
|
|
|
|
COMMENT= Ruby interface to ncurses
|
|
|
|
VERSION= 1.1
|
|
DISTNAME= ncurses-ruby-${VERSION}
|
|
PKGNAME= ruby-ncurses-${VERSION}
|
|
REVISION= 7
|
|
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}/ruby-ncurses
|
|
SAMPLE_DIR= ${MODRUBY_EXAMPLEDIR}/ruby-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>
|