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