summaryrefslogtreecommitdiff
path: root/math/ruby-numru_units/Makefile
blob: 92de2aaf922c27e81ebee672076656656e1485b2 (plain) (blame)
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
# New ports collection makefile for:	RubyNumruUnits
# Date created:		14 March 2004
# Whom:			Shin'ya Murakami <murakami@ahs.scitec.kobe-u.ac.jp>
#
# $FreeBSD$
#

PORTNAME=	numru_units
PORTVERSION=	1.2
CATEGORIES=	math ruby
MASTER_SITES=	ftp://www.gfd-dennou.org/arch/ruby/products/numru-units/
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	numru-units-${PORTVERSION}
DIST_SUBDIR=	ruby

MAINTAINER=	murakami@ahs.scitec.kobe-u.ac.jp
COMMENT=	A class to handle units of physical quantities for Ruby

USE_RUBY=	yes
NO_BUILD=	yes

DOCS=		ChangeLog doc/units.html doc/units.rd

do-install:
	@cd ${WRKSRC}/ && ${RUBY} ./install.rb

post-install:
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_MODDOCDIR}
.for f in ${DOCS}
	${INSTALL_DATA} ${WRKSRC}/${f} ${RUBY_MODDOCDIR}
.endfor
.endif

.include <bsd.port.mk>