summaryrefslogtreecommitdiff
path: root/math/ruby-bitvector/Makefile
blob: 66a8d1a7be6b2c8a014f0c4bb3752e5f1a10ea4f (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
# $NetBSD: Makefile,v 1.4 2004/11/27 16:26:09 taca Exp $
# FreeBSD: ports/math/ruby-bitvector/Makefile,v 1.1 2000/11/23 14:13:41 knu Exp

DISTNAME=	bitvector-0.1.7
PKGNAME=	${RUBY_PKGPREFIX}-${DISTNAME}
CATEGORIES=	math ruby
MASTER_SITES=	ftp://ftp.ruby-lang.org/pub/ruby/contrib/

MAINTAINER=	taca@NetBSD.org
HOMEPAGE=	http://www.ruby-lang.org/cgi-bin/cvsweb.cgi/lib/bitvector/
COMMENT=	Efficient Ruby bit vector extension

USE_RUBY_EXTCONF=	yes
INSTALL_TARGET=		site-install
DOCS=			NOTWRAPPED README TODO

post-install:
	${INSTALL_DATA_DIR} ${RUBY_EXAMPLESDIR}/bitvector
	${INSTALL_DATA} ${WRKSRC}/tests/* ${RUBY_EXAMPLESDIR}/bitvector
	${INSTALL_DATA_DIR} ${RUBY_DOCDIR}/bitvector
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_DOCDIR}/bitvector
.endfor

.include "../../lang/ruby/modules.mk"
.include "../../mk/bsd.pkg.mk"