[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / ruby-ncurses

File: [cvs.NetBSD.org] / pkgsrc / devel / ruby-ncurses / Makefile (download)

Revision 1.9, Mon Feb 21 16:01:14 2011 UTC (10 years, 7 months ago) by taca
Branch: MAIN
CVS Tags: pkgsrc-2012Q1-base, pkgsrc-2012Q1, pkgsrc-2011Q4-base, pkgsrc-2011Q4, pkgsrc-2011Q3-base, pkgsrc-2011Q3, pkgsrc-2011Q2-base, pkgsrc-2011Q2, pkgsrc-2011Q1-base, pkgsrc-2011Q1
Changes since 1.8: +2 -1 lines

Bump PKGREVISION due to ABI change of ruby18-base.

# $NetBSD: Makefile,v 1.9 2011/02/21 16:01:14 taca Exp $

DISTNAME=	ncurses-ruby-${VER}
PKGNAME=	${RUBY_PKGPREFIX}-ncurses-${VER}
PKGREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://download.berlios.de/ncurses-ruby/
EXTRACT_SUFX=	.tar.bz2
LICENSE=	gnu-lgpl-v2.1 OR gnu-lgpl-v3

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://ncurses-ruby.berlios.de/
COMMENT=	Ruby interface to ncurses

PKG_DESTDIR_SUPPORT?=	user-destdir

VER=			1.2.4
USE_NCURSES=		YES	# mouse functions
USE_RUBY_EXTCONF=	YES

DOCS=			COPYING Changes MANIFEST README THANKS TODO VERSION
DOCDIR=			${RUBY_DOC}/ncurses
EGDIR=			${RUBY_EG}/ncurses
INSTALLATION_DIRS+=	${DOCDIR} ${EGDIR}
REPLACE_RUBY_DIRS=	examples

PLIST_SUBST+=		DOCDIR=${DOCDIR} EGDIR=${EGDIR}

post-install:
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${DESTDIR}${PREFIX}/${DOCDIR}
.endfor
	${INSTALL_DATA} ${WRKSRC}/examples/* ${DESTDIR}${PREFIX}/${EGDIR}

.include "../../lang/ruby/modules.mk"
.include "../../devel/ncurses/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"