aboutsummaryrefslogtreecommitdiff
path: root/graphics/ale
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-08 20:40:08 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-05-08 20:40:08 +0000
commita01c15d34a4ae157e1662bb91ebc4f52677a9e10 (patch)
tree646be3498fcaa605a9d5ec0f9a1bd1f4c8c122a7 /graphics/ale
parent05246649f50b750d0988af7cd0743f14e43ab220 (diff)
downloadports-a01c15d34a4ae157e1662bb91ebc4f52677a9e10.tar.gz
ports-a01c15d34a4ae157e1662bb91ebc4f52677a9e10.zip
Notes
Diffstat (limited to 'graphics/ale')
-rw-r--r--graphics/ale/Makefile5
-rw-r--r--graphics/ale/distinfo4
-rw-r--r--graphics/ale/files/patch-Makefile22
3 files changed, 11 insertions, 20 deletions
diff --git a/graphics/ale/Makefile b/graphics/ale/Makefile
index a9e17e4c2cba..07501d8aafc1 100644
--- a/graphics/ale/Makefile
+++ b/graphics/ale/Makefile
@@ -7,8 +7,7 @@
#
PORTNAME= ale
-PORTVERSION= 0.7.3
-PORTREVISION= 1
+PORTVERSION= 0.8.1
CATEGORIES= graphics
MASTER_SITES= http://auricle.dyndns.org/ALE/download/
@@ -18,7 +17,7 @@ COMMENT= Anti-Lamenessing Engine
USE_GCC= 3.4
USE_REINPLACE= yes
USE_GMAKE= yes
-MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}"
+MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" IOCTL=1
PLIST_FILES= bin/ale
diff --git a/graphics/ale/distinfo b/graphics/ale/distinfo
index 90a3ea5bd0e4..e1fe05eb690e 100644
--- a/graphics/ale/distinfo
+++ b/graphics/ale/distinfo
@@ -1,2 +1,2 @@
-MD5 (ale-0.7.3.tar.gz) = d1dc3a83ec2beec1c129f3a059819f58
-SIZE (ale-0.7.3.tar.gz) = 129098
+MD5 (ale-0.8.1.tar.gz) = 40383c17071744140ec46346676a989d
+SIZE (ale-0.8.1.tar.gz) = 149619
diff --git a/graphics/ale/files/patch-Makefile b/graphics/ale/files/patch-Makefile
index bfd9621dbac1..2e9fe2690940 100644
--- a/graphics/ale/files/patch-Makefile
+++ b/graphics/ale/files/patch-Makefile
@@ -1,14 +1,15 @@
---- Makefile.orig Thu Dec 2 04:55:06 2004
-+++ Makefile Fri Dec 3 12:30:37 2004
-@@ -42,19 +42,19 @@
+--- Makefile.orig Fri May 6 00:08:11 2005
++++ Makefile Sat May 7 15:08:56 2005
+@@ -43,7 +43,7 @@
DEBUG_CFLAGS:=$(if $(subst 0,,$(DEBUG)),-DDEBUG,-DNDEBUG)
IMAGEMAGICK_CFLAGS:=$(if $(use_imagemagick),-DUSE_MAGICK $(shell Magick-config --cflags --cppflags),)
IMAGEMAGICK_LDFLAGS:=$(if $(use_imagemagick),$(shell Magick-config --ldflags --libs),)
-FFTW_CFLAGS:=$(if $(subst 0,,$(FFTW)),-DUSE_FFTW,)
+FFTW_CFLAGS:=$(if $(subst 0,,$(FFTW)),-DUSE_FFTW $(shell pkg-config --cflags fftw3),)
POSIX_CFLAGS:=$(if $(subst 0,,$(POSIX)),-DUSE_UNIX,)
+ IOCTL_CFLAGS:=$(if $(subst 0,,$(IOCTL)),-DUSE_IOCTL,)
PRECISION_CFLAGS:=$(if $(subst SINGLE,,$(COLORS)),,-DALE_COLORS=SINGLE)\
- $(if $(subst DOUBLE,,$(COLORS)),,-DALE_COLORS=DOUBLE)\
+@@ -51,12 +51,12 @@
$(if $(subst HALF,,$(COLORS)),,-DALE_COLORS=HALF)\
$(if $(subst SINGLE,,$(COORDINATES)),,-DALE_COORDINATES=SINGLE)\
$(if $(subst DOUBLE,,$(COORDINATES)),,-DALE_COORDINATES=DOUBLE)
@@ -18,18 +19,9 @@
CFLAGS:= $(POSIX_CFLAGS) $(DEBUG_CFLAGS) $(FFTW_CFLAGS) $(PRECISION_CFLAGS) \
- $(if $(use_imagemagick),$(IMAGEMAGICK_CFLAGS),-Wall -O2) \
-- $(OPTIMIZATION_CFLAGS)
+- $(OPTIMIZATION_CFLAGS) $(IOCTL_CFLAGS)
+ $(if $(use_imagemagick),$(IMAGEMAGICK_CFLAGS)) \
-+ $(OPTIMIZATION_CFLAGS) $(CXXFLAGS)
++ $(OPTIMIZATION_CFLAGS) $(IOCTL_CFLAGS) $(CXXFLAGS)
LDFLAGS:=$(if $(use_imagemagick),$(IMAGEMAGICK_LDFLAGS)) $(FFTW_LDFLAGS) -lm
-@@ -79,7 +79,7 @@
- find testsuite -name "*.output.*" | xargs rm -rf
-
- ale-phony: ale.cc d2.cc *.h d2/*.h d2/render/*.h d2/render/psf/*.h d3.cc d3/*.h
-- g++ -o ale $(CFLAGS) ale.cc d3.cc d2.cc $(LDFLAGS)
-+ $(CXX) -o ale $(CFLAGS) ale.cc d3.cc d2.cc $(LDFLAGS)
-
- # The following approach to building a Windows binary is probably very
- # dependent on the host platform configuration. The above target may be a