1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-26 09:46:09 +00:00
freebsd-ports/misc/ruby-progressbar/Makefile
2014-07-16 03:00:46 +00:00

30 lines
783 B
Makefile

# Created by: 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= 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}
OPTIONS_DEFINE= DOCS
do-install:
${MKDIR} ${STAGEDIR}${RUBY_SITELIBDIR}
${INSTALL_DATA} ${INSTALL_WRKSRC}/${PORTNAME}.rb ${STAGEDIR}${RUBY_SITELIBDIR}
${MKDIR} ${STAGEDIR}${RUBY_MODDOCDIR}
cd ${INSTALL_WRKSRC}; ${INSTALL_DATA} ${DOCS} ${STAGEDIR}${RUBY_MODDOCDIR}
.include <bsd.port.mk>