openbsd-ports/textproc/ruby-templater/Makefile

37 lines
724 B
Makefile
Raw Normal View History

# $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>