blob: 3ab3929e13cad72514526a563509304138033a0a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
|
# $NetBSD: Makefile,v 1.11 2012/10/31 11:19:42 asau Exp $
DISTNAME= ncurses-ruby-${VER}
PKGNAME= ${RUBY_PKGPREFIX}-ncurses-${VER}
PKGREVISION= 2
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
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"
|