- depends on gmake

- speedup build
This commit is contained in:
Dirk Meyer 2010-04-24 06:16:07 +00:00
parent b8fcce0d8d
commit 5003873b7a
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253148

View file

@ -18,21 +18,23 @@ MAINTAINER= ruby@FreeBSD.org
COMMENT= A Ruby library for approximate string matching and searching
USE_RUBY= yes
USE_RUBY_SETUP= yes
RUBY_SETUP= install.rb
INSTALL_TARGET= site-install
USE_GMAKE= yes
NO_BUILD= yes # build while install
PLIST_FILES= bin/agrep.rb %%RUBY_SITELIBDIR%%/amatch/version.rb \
%%RUBY_SITEARCHLIBDIR%%/amatch.so
PLIST_DIRS= %%RUBY_SITELIBDIR%%/amatch
AMATCH_RUBY= install.rb
DOCSDIR= ${RUBY_MODDOCDIR}
PORTDOCS= CHANGES README
.include <bsd.port.pre.mk>
post-install:
do-install:
@${ECHO_MSG} "===> Running ${AMATCH_RUBY} to install"
@cd ${INSTALL_WRKSRC}; \
${SETENV} ${MAKE_ENV} ${RUBY} ${RUBY_FLAGS} ${AMATCH_RUBY} install
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
.for f in ${PORTDOCS}