summaryrefslogtreecommitdiff
path: root/graphics/ale
diff options
context:
space:
mode:
authorEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-26 22:45:49 +0000
committerEmanuel Haupt <ehaupt@FreeBSD.org>2005-12-26 22:45:49 +0000
commit737786bfe8ed602db7b106bf29d6e2014ff750f6 (patch)
tree656ecf0dc794ea4c80a31e4b5b4ec41b9b434426 /graphics/ale
parent- Update to 0.3.1 (diff)
Update to 0.8.3
PR: 90928 Submitted by: KATO Tsuguru <tkato432@yahoo.com>
Notes
Notes: svn path=/head/; revision=152131
Diffstat (limited to 'graphics/ale')
-rw-r--r--graphics/ale/Makefile11
-rw-r--r--graphics/ale/distinfo6
2 files changed, 8 insertions, 9 deletions
diff --git a/graphics/ale/Makefile b/graphics/ale/Makefile
index 7080f806283c..c8e86e46f2fb 100644
--- a/graphics/ale/Makefile
+++ b/graphics/ale/Makefile
@@ -7,7 +7,7 @@
#
PORTNAME= ale
-PORTVERSION= 0.8.2
+PORTVERSION= 0.8.3
CATEGORIES= graphics
MASTER_SITES= http://auricle.dyndns.org/ALE/download/
@@ -31,6 +31,10 @@ PLIST_FILES= bin/ale
BROKEN= "Does not build on alpha"
.endif
+.if ${OSVERSION} < 502114
+CFLAGS+= -Dround=rint
+.endif
+
.if defined(WITH_DOUBLE)
MAKE_ARGS+= COLORS=DOUBLE COORDINATES=DOUBLE
.endif
@@ -47,11 +51,6 @@ MAKE_ARGS+= IMAGEMAGICK=1
post-patch:
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/d2.h
-.if ${OSVERSION} < 502114
-.for file in d2/image.h d2/image_rw.h d2/ppm.h d3/scene.cc
- @${REINPLACE_CMD} -e 's|round(|rint(|g' ${WRKSRC}/${file}
-.endfor
-.endif
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/ale ${PREFIX}/bin
diff --git a/graphics/ale/distinfo b/graphics/ale/distinfo
index 1b4f40882171..b02ac15c721f 100644
--- a/graphics/ale/distinfo
+++ b/graphics/ale/distinfo
@@ -1,3 +1,3 @@
-MD5 (ale-0.8.2.tar.gz) = 5b1935c4070ecf92bab1af2ce8aa34c7
-SHA256 (ale-0.8.2.tar.gz) = df7886526030978d34171822de737c3813e7300dd274a6cd00fee31c27261bde
-SIZE (ale-0.8.2.tar.gz) = 171993
+MD5 (ale-0.8.3.tar.gz) = 79901a14b8ee11dc66406388ff1ae2a1
+SHA256 (ale-0.8.3.tar.gz) = 5b334e4dc571bd2ffed915787d307998133f6956ef735bf73a1ff851b888a2f9
+SIZE (ale-0.8.3.tar.gz) = 159359