scanf is an implementation of the C function scanf(3), modified as necessary for Ruby compatibility. The methods provided are String#scanf, IO#scanf, and Kernel#scanf. Kernel#scanf is a wrapper around STDIN.scanf. IO#scanf can be used on any IO stream, including file handles and sockets. scanf can be called either with or without a block. WWW: http://rubygems.org/gems/scanf
17 lines
251 B
Makefile
17 lines
251 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= scanf
|
|
DISTVERSION= 1.0.0
|
|
CATEGORIES= devel rubygems
|
|
MASTER_SITES= RG
|
|
|
|
MAINTAINER= romain@FreeBSD.org
|
|
COMMENT= Ruby implementation of the C function scanf(3)
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
|
|
USES= gem
|
|
USE_RUBY= yes
|
|
|
|
.include <bsd.port.mk>
|