aboutsummaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorMartin Wilke <miwi@FreeBSD.org>2009-04-03 08:52:42 +0000
committerMartin Wilke <miwi@FreeBSD.org>2009-04-03 08:52:42 +0000
commitbb4750e40fa11a830ed10e29cf8c1749d2f7fbc3 (patch)
treed07717ebaa89b676185cc3238e950c88ed8557b8 /graphics
parente857f8aa271bf4e548182849fee27bbaa4f808ee (diff)
downloadports-bb4750e40fa11a830ed10e29cf8c1749d2f7fbc3.tar.gz
ports-bb4750e40fa11a830ed10e29cf8c1749d2f7fbc3.zip
Notes
Diffstat (limited to 'graphics')
-rw-r--r--graphics/ale/Makefile39
-rw-r--r--graphics/ale/distinfo6
-rw-r--r--graphics/ale/files/patch-Makefile28
3 files changed, 24 insertions, 49 deletions
diff --git a/graphics/ale/Makefile b/graphics/ale/Makefile
index 69dbfebc2ed0..764ab57efa7c 100644
--- a/graphics/ale/Makefile
+++ b/graphics/ale/Makefile
@@ -7,11 +7,9 @@
#
PORTNAME= ale
-PORTVERSION= 0.8.4
-PORTREVISION= 4
+PORTVERSION= 0.8.11.2
CATEGORIES= graphics
-MASTER_SITES= http://auricle.dyndns.org/ALE/download/ \
- http://mirror.inerd.com/FreeBSD/distfiles/${PORTNAME}/
+MASTER_SITES= http://auricle.dyndns.org/ALE/download/
MAINTAINER= ports@FreeBSD.org
COMMENT= Anti-Lamenessing Engine
@@ -20,10 +18,19 @@ OPTIONS= DOUBLE "64bit Data Precision Support" off \
FFTW3 "FFTW3 Support" on \
IMAGEMAGICK "ImageMagick Support" on
-USE_GMAKE= yes
-MAKE_ARGS= CXX="${CXX}" CXXFLAGS="${CXXFLAGS}" IOCTL=1
+USE_GNOME= gnomehack
+GNU_CONFIGURE= yes
+CONFIGURE_ENV= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
+CONFIGURE_ARGS= --disable-assertions
-PLIST_FILES= bin/ale
+MAN1= ale.1
+PLIST_FILES= bin/ale bin/ale-bin
+
+CPPFLAGS= -I${LOCALBASE}/include
+LDFLAGS= -L${LOCALBASE}/lib
+
+# Restrict to stable (even) versions, indicated by the second component.
+PORTSCOUT= limitw:1,even
.include <bsd.port.pre.mk>
@@ -32,23 +39,19 @@ BROKEN= Does not build on alpha
.endif
.if defined(WITH_DOUBLE)
-MAKE_ARGS+= COLORS=DOUBLE COORDINATES=DOUBLE
+CONFIGURE_ARGS+= --with-colors=double --with-coords=double
.endif
-.if !defined(WITHOUT_FFTW3)
+.if defined(WITHOUT_FFTW3)
+CONFIGURE_ARGS+= --without-fftw3
+.else
LIB_DEPENDS+= fftw3.4:${PORTSDIR}/math/fftw3
-MAKE_ARGS+= FFTW=1
.endif
-.if !defined(WITHOUT_IMAGEMAGICK)
+.if defined(WITHOUT_IMAGEMAGICK)
+CONFIGURE_ARGS+= --without-imagemagick
+.else
LIB_DEPENDS+= MagickWand.2:${PORTSDIR}/graphics/ImageMagick
-MAKE_ARGS+= IMAGEMAGICK=1
.endif
-post-patch:
- @${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/d2.h
-
-do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/ale ${PREFIX}/bin
-
.include <bsd.port.post.mk>
diff --git a/graphics/ale/distinfo b/graphics/ale/distinfo
index 2fb9fd6a9925..9eb630708454 100644
--- a/graphics/ale/distinfo
+++ b/graphics/ale/distinfo
@@ -1,3 +1,3 @@
-MD5 (ale-0.8.4.tar.gz) = 9a9270a8017da2bf8e68cdaf03a5e07c
-SHA256 (ale-0.8.4.tar.gz) = bfb31dfb56fb881370c171de32e2822a704fe72fdfcd114eb16c67fdbd4eb439
-SIZE (ale-0.8.4.tar.gz) = 178944
+MD5 (ale-0.8.11.2.tar.gz) = 1ed83d080a4bf80f88ed78acb5149c26
+SHA256 (ale-0.8.11.2.tar.gz) = bedea6f0d14b149b0b2419626182b7840a66f8bfa715ffddfd72dd57b125eefa
+SIZE (ale-0.8.11.2.tar.gz) = 1373375
diff --git a/graphics/ale/files/patch-Makefile b/graphics/ale/files/patch-Makefile
deleted file mode 100644
index 88c53b02065a..000000000000
--- a/graphics/ale/files/patch-Makefile
+++ /dev/null
@@ -1,28 +0,0 @@
---- Makefile.orig Fri May 5 05:25:01 2006
-+++ Makefile Mon May 22 03:19:18 2006
-@@ -44,7 +44,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)\
-@@ -52,13 +52,13 @@
- $(if $(subst HALF,,$(COLORS)),,-DALE_COLORS=HALF)\
- $(if $(subst SINGLE,,$(COORDINATES)),,-DALE_COORDINATES=SINGLE)\
- $(if $(subst DOUBLE,,$(COORDINATES)),,-DALE_COORDINATES=DOUBLE)
--FFTW_LDFLAGS:=$(if $(subst 0,,$(FFTW)),-lfftw3,)
-+FFTW_LDFLAGS:=$(if $(subst 0,,$(FFTW)),$(shell pkg-config --libs fftw3),)
- OPTIMIZATION_CFLAGS:=-DOPTIMIZATIONS=$(OPTIMIZATIONS)
- STL_CFLAGS:=$(if $(subst GNU,,$(HASH_MAP)),,-DHASH_MAP_GNU)\
- $(if $(subst STD,,$(HASH_MAP)),,-DHASH_MAP_STD)
- CFLAGS:= $(POSIX_CFLAGS) $(DEBUG_CFLAGS) $(FFTW_CFLAGS) $(PRECISION_CFLAGS) $(STL_CFLAGS)\
-- $(if $(use_imagemagick),$(IMAGEMAGICK_CFLAGS),-Wall -O2) \
-- $(OPTIMIZATION_CFLAGS) $(IOCTL_CFLAGS)
-+ $(if $(use_imagemagick),$(IMAGEMAGICK_CFLAGS)) \
-+ $(OPTIMIZATION_CFLAGS) $(IOCTL_CFLAGS) $(CXXFLAGS)
-
- LDFLAGS:=$(if $(use_imagemagick),$(IMAGEMAGICK_LDFLAGS)) $(FFTW_LDFLAGS) -lm
-