mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-23 00:43:28 +00:00
- Avoid calling make while building
Requested by: marino
This commit is contained in:
parent
ffd97b17f5
commit
c25f75e2d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349460
@ -25,10 +25,7 @@ RUN_DEPENDS:= ${BUILD_DEPENDS}
|
||||
USE_RUBY= yes
|
||||
USE_RUBY_EXTCONF= yes
|
||||
|
||||
RUBY_NARRAY_VERSION!= ${MAKE} -C ${PORTSDIR}/math/rubygem-narray -V PORTVERSION
|
||||
RUBY_NARRAY_PKGNAME= narray-${RUBY_NARRAY_VERSION}
|
||||
|
||||
CONFIGURE_ARGS+= --with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/${RUBY_NARRAY_PKGNAME}/
|
||||
CONFIGURE_ARGS+= --with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/narray-${NARRAY_VERSION}/
|
||||
|
||||
DOCS= LICENSE.txt doc/*
|
||||
|
||||
@ -38,4 +35,6 @@ post-install:
|
||||
${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${RUBY_MODDOCDIR}/
|
||||
.endfor
|
||||
|
||||
.include "${.CURDIR}/../rubygem-narray/Makefile.version"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
@ -2,7 +2,7 @@
|
||||
# $FreeBSD$
|
||||
|
||||
PORTNAME= narray
|
||||
PORTVERSION= 0.6.0.8
|
||||
PORTVERSION= ${NARRAY_VERSION}
|
||||
CATEGORIES= math rubygems
|
||||
MASTER_SITES= RG
|
||||
|
||||
@ -14,4 +14,6 @@ USE_RAKE= yes
|
||||
USE_RUBYGEMS= yes
|
||||
RUBYGEM_AUTOPLIST= yes
|
||||
|
||||
.include "${.CURDIR}/Makefile.version"
|
||||
|
||||
.include <bsd.port.mk>
|
||||
|
1
math/rubygem-narray/Makefile.version
Normal file
1
math/rubygem-narray/Makefile.version
Normal file
@ -0,0 +1 @@
|
||||
NARRAY_VERSION= 0.6.0.8
|
Loading…
Reference in New Issue
Block a user