openbsd-ports/textproc/ruby-erubis/Makefile

34 lines
662 B
Makefile

# $OpenBSD: Makefile,v 1.3 2008/06/14 23:57:18 landry Exp $
COMMENT= pure Ruby implementation of eRuby
DISTNAME= erubis-2.6.0
PKGNAME= ruby-${DISTNAME}p0
CATEGORIES= textproc
HOMEPAGE= http://www.kuwata-lab.com/erubis/
# MIT
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${MASTER_SITE_RUBYFORGE:=erubis/}
MODULES= lang/ruby
CONFIGURE_STYLE= ruby gem
BUILD_DEPENDS= ${RUN_DEPENDS}
RUN_DEPENDS= ::devel/ruby-abstract
PKG_ARCH= *
REGRESS_DEPENDS= ::${BASE_PKGPATH}
do-regress:
@cd ${WRKBUILD} && ${SETENV} RUBYOPT="-rubygems" ${RUBY} test/test.rb
.include <bsd.port.mk>