1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- Convert to OPTIONS

PR:		ports/70733
Submitted by:	Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
This commit is contained in:
Pav Lucistnik 2004-08-21 09:19:15 +00:00
parent 1abe88c682
commit 73b850a9d6
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=116892

View File

@ -18,6 +18,9 @@ PLIST_FILES= bin/ale
USE_GMAKE= yes
USE_REINPLACE= yes
OPTIONS= IMAGEMAGICK "ImageMagick Support" on \
FFTW3 "FFTW3 Support" on
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 500000
@ -34,14 +37,6 @@ LIB_DEPENDS+= fftw3.3:${PORTSDIR}/math/fftw3
MAKE_ARGS+= FFTW=1
.endif
pre-everything::
.if !defined(WITHOUT_IMAGEMAGICK)
@${ECHO_MSG} "===> Disable ImageMagick Support by defining WITHOUT_IMAGEMAGICK"
.endif
.if !defined(WITHOUT_FFTW3)
@${ECHO_MSG} "===> Disable FFTW3 Support by defining WITHOUT_FFTW3"
.endif
post-patch:
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|; \
s|g++|${CXX}|' ${WRKSRC}/${MAKEFILE}