Lines 18-30
Link Here
|
18 |
USE_GMAKE= yes |
18 |
USE_GMAKE= yes |
19 |
USE_REINPLACE= yes |
19 |
USE_REINPLACE= yes |
20 |
|
20 |
|
|
|
21 |
OPTIONS= IMAGEMAGICK "ImageMagick Support" on \ |
22 |
FFTW3 "FFTW3 Support" on |
23 |
|
21 |
.include <bsd.port.pre.mk> |
24 |
.include <bsd.port.pre.mk> |
22 |
|
25 |
|
23 |
.if ${OSVERSION} < 500000 |
26 |
.if ${OSVERSION} < 500000 |
24 |
USE_GCC= 3.3 |
27 |
USE_GCC= 3.3 |
25 |
.endif |
28 |
.endif |
26 |
|
29 |
|
27 |
.if !defined(WITHOUT_IMAGEMAGICK) |
30 |
.if !defined(WITHOUT_FFTW3) |
28 |
LIB_DEPENDS+= Magick.6:${PORTSDIR}/graphics/ImageMagick |
31 |
LIB_DEPENDS+= Magick.6:${PORTSDIR}/graphics/ImageMagick |
29 |
MAKE_ARGS+= IMAGEMAGICK=1 |
32 |
MAKE_ARGS+= IMAGEMAGICK=1 |
30 |
.endif |
33 |
.endif |
Lines 32-45
Link Here
|
32 |
.if !defined(WITHOUT_FFTW3) |
35 |
.if !defined(WITHOUT_FFTW3) |
33 |
LIB_DEPENDS+= fftw3.3:${PORTSDIR}/math/fftw3 |
36 |
LIB_DEPENDS+= fftw3.3:${PORTSDIR}/math/fftw3 |
34 |
MAKE_ARGS+= FFTW=1 |
37 |
MAKE_ARGS+= FFTW=1 |
35 |
.endif |
|
|
36 |
|
37 |
pre-everything:: |
38 |
.if !defined(WITHOUT_IMAGEMAGICK) |
39 |
@${ECHO_MSG} "===> Disable ImageMagick Support by defining WITHOUT_IMAGEMAGICK" |
40 |
.endif |
41 |
.if !defined(WITHOUT_FFTW3) |
42 |
@${ECHO_MSG} "===> Disable FFTW3 Support by defining WITHOUT_FFTW3" |
43 |
.endif |
38 |
.endif |
44 |
|
39 |
|
45 |
post-patch: |
40 |
post-patch: |