openbsd-ports/textproc/ruby-templater/Makefile
bernd 696dfc7a06 Initial import of ruby-templater-0.5.0.
Templater is a system for generating files. Templater has the ability to
both copy files from A to B and also to render templates using ERB.
2009-01-31 10:16:09 +00:00

37 lines
724 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2009/01/31 10:16:09 bernd Exp $
COMMENT = system for generating files
DISTNAME = templater-0.5.0
PKGNAME = ruby-${DISTNAME}
CATEGORIES = textproc
HOMEPAGE = http://templater.rubyforge.org/
# MIT
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM = Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${MASTER_SITE_RUBYFORGE:=templater/}
MODULES = lang/ruby
BUILD_DEPENDS = ${RUN_DEPENDS}
RUN_DEPENDS = ::devel/ruby-highline \
::devel/ruby-diff-lcs \
::devel/ruby-extlib
CONFIGURE_STYLE = ruby gem
PKG_ARCH = *
REGRESS_DEPENDS = ::devel/ruby-rake \
::devel/ruby-rspec
do-regress:
@cd ${WRKBUILD} && ${LOCALBASE}/bin/rake spec
.include <bsd.port.mk>