Lines 19-30
Link Here
|
19 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
19 |
LICENSE_FILE= ${WRKSRC}/LICENSE.txt |
20 |
|
20 |
|
21 |
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 |
21 |
LIB_DEPENDS= fftw3:${PORTSDIR}/math/fftw3 |
22 |
BUILD_DEPENDS= ${RUBY_SITEARCHLIBDIR}/narray.so:${PORTSDIR}/math/ruby-narray |
22 |
BUILD_DEPENDS= rubygem-narray>=0:${PORTSDIR}/math/rubygem-narray |
23 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
23 |
RUN_DEPENDS:= ${BUILD_DEPENDS} |
24 |
|
24 |
|
25 |
USE_RUBY= yes |
25 |
USE_RUBY= yes |
26 |
USE_RUBY_EXTCONF= yes |
26 |
USE_RUBY_EXTCONF= yes |
27 |
|
27 |
|
|
|
28 |
RUBY_NARRAY_VERSION= `make -C ${PORTSDIR}/math/rubygem-narray -V PORTVERSION` |
29 |
RUBY_NARRAY_PKGNAME= narray-${RUBY_NARRAY_VERSION} |
30 |
|
31 |
CONFIGURE_ARGS+= --with-narray-include=${LOCALBASE}/lib/ruby/gems/${RUBY_VER}/gems/${RUBY_NARRAY_PKGNAME}/ |
32 |
|
28 |
DOCS= LICENSE.txt doc/* |
33 |
DOCS= LICENSE.txt doc/* |
29 |
|
34 |
|
30 |
post-install: |
35 |
post-install: |