aboutsummaryrefslogtreecommitdiff
path: root/misc/ruby-progressbar/Makefile
blob: dd4bc1dd57317c512d70779379196017948dae75 (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
# New ports collection makefile for:	ruby-progressbar
# Date created:		2008-08-25
# Whom:			TAKATSU Tomonari <tota@rtfm.jp>
#
# $FreeBSD$
#

PORTNAME=	progressbar
PORTVERSION=	0.9
CATEGORIES=	misc ruby
MASTER_SITES=	http://0xcc.net/ruby-progressbar/ \
		${MASTER_SITE_LOCAL:S|%SUBDIR%|tota/progressbar|}
PKGNAMEPREFIX=	${RUBY_PKGNAMEPREFIX}
DISTNAME=	ruby-${PORTNAME}-${PORTVERSION}

MAINTAINER=	tota@FreeBSD.org
COMMENT=	A text progress bar library for Ruby

USE_RUBY=	yes
NO_BUILD=	yes

RUBY_RD_FILES=	progressbar.en.rd progressbar.ja.rd
DOCS=	ChangeLog ${RUBY_RD_FILES}

do-install:
	${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTNAME}.rb ${RUBY_SITELIBDIR}
.if !defined(NOPORTDOCS)
	${MKDIR} ${RUBY_MODDOCDIR}
	cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${DOCS} ${RUBY_MODDOCDIR}
.endif

.include <bsd.port.mk>