summaryrefslogtreecommitdiffstats
path: root/graphics
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2004-08-21 09:19:15 +0000
committerpav <pav@FreeBSD.org>2004-08-21 09:19:15 +0000
commita0f636076dac80058634ebe3c269eed4a76def55 (patch)
tree5a97aa9cbdd3892bcb7ffb57e9686c3aa8912925 /graphics
parent97ab542de301c7f0755e8cfd20ed46ab70253cc9 (diff)
downloadFreeBSD-ports-a0f636076dac80058634ebe3c269eed4a76def55.zip
FreeBSD-ports-a0f636076dac80058634ebe3c269eed4a76def55.tar.gz
- Convert to OPTIONS
PR: ports/70733 Submitted by: Ying-Chieh Chen <yinjieh@csie.nctu.edu.tw>
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ale/Makefile11
1 files changed, 3 insertions, 8 deletions
diff --git a/graphics/ale/Makefile b/graphics/ale/Makefile
index 69c468c..6370a21 100644
--- a/graphics/ale/Makefile
+++ b/graphics/ale/Makefile
@@ -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}
OpenPOWER on IntegriCloud