6d6774f217
Trollop is YAFCLAP --- yet another fine commandline argument processing library for Ruby. Trollop is designed to provide the maximal amount of GNU-style argument processing in the minimum number of lines of code (for you, the programmer). ok bernd@
30 lines
548 B
Makefile
30 lines
548 B
Makefile
# $OpenBSD: Makefile,v 1.1.1.1 2009/11/22 04:21:33 msf Exp $
|
|
|
|
COMMENT = Ruby commandline parsing library
|
|
|
|
DISTNAME = trollop-1.15
|
|
PKGNAME = ruby-${DISTNAME}
|
|
|
|
CATEGORIES = devel
|
|
|
|
# Same as Ruby
|
|
PERMIT_PACKAGE_CDROM = Yes
|
|
PERMIT_PACKAGE_FTP = Yes
|
|
PERMIT_DISTFILES_CDROM = Yes
|
|
PERMIT_DISTFILES_FTP = Yes
|
|
|
|
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=trollop/}
|
|
|
|
MODULES = lang/ruby
|
|
|
|
CONFIGURE_STYLE = ruby gem
|
|
|
|
PKG_ARCH = *
|
|
|
|
REGRESS_DEPENDS = ::${BASE_PKGPATH}
|
|
|
|
do-regress:
|
|
@cd ${WRKBUILD} && ${RUBY} -rubygems test/test_trollop.rb
|
|
|
|
.include <bsd.port.mk>
|