freebsd-ports/math/ruby-bitvector/Makefile
2011-07-04 01:30:57 +00:00

40 lines
897 B
Makefile

# New ports collection makefile for: Ruby/BitVector
# Date created: 23 Nov 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= bitvector
PORTVERSION= 0.1.7
CATEGORIES= math ruby
MASTER_SITES= LOCAL/fenner/ruby-contrib
PKGNAMEPREFIX= ${RUBY_PKGNAMEPREFIX}
DIST_SUBDIR= ruby
MAINTAINER= ruby@FreeBSD.org
COMMENT= Efficient Ruby bit vector extension
DEPRECATED= Doesn't work with Ruby 1.9
EXPIRATION_DATE= 2011-08-03
USE_RUBY= yes
USE_RUBY_EXTCONF= yes
INSTALL_TARGET= site-install
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${RUBY_MODEXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/tests/* ${RUBY_MODEXAMPLESDIR}/
${MKDIR} ${RUBY_MODDOCDIR}
.for f in NOTWRAPPED README TODO
${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}/
.endfor
.endif
.include <bsd.port.pre.mk>
.if ${RUBY_VER} == 1.9
BROKEN= does not build with ruby 1.9
.endif
.include <bsd.port.post.mk>