openbsd-ports/textproc/ruby-erubis/Makefile
2008-07-26 10:05:07 +00:00

34 lines
659 B
Makefile

# $OpenBSD: Makefile,v 1.4 2008/07/26 10:05:07 bernd Exp $
COMMENT= pure Ruby implementation of eRuby
DISTNAME= erubis-2.6.2
PKGNAME= ruby-${DISTNAME}
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>