Lines 7-13
Link Here
|
7 |
# |
7 |
# |
8 |
|
8 |
|
9 |
PORTNAME= ale |
9 |
PORTNAME= ale |
10 |
PORTVERSION= 0.8.2 |
10 |
PORTVERSION= 0.8.3 |
11 |
CATEGORIES= graphics |
11 |
CATEGORIES= graphics |
12 |
MASTER_SITES= http://auricle.dyndns.org/ALE/download/ |
12 |
MASTER_SITES= http://auricle.dyndns.org/ALE/download/ |
13 |
|
13 |
|
Lines 31-36
Link Here
|
31 |
BROKEN= "Does not build on alpha" |
31 |
BROKEN= "Does not build on alpha" |
32 |
.endif |
32 |
.endif |
33 |
|
33 |
|
|
|
34 |
.if ${OSVERSION} < 502114 |
35 |
CFLAGS+= -Dround=rint |
36 |
.endif |
37 |
|
34 |
.if defined(WITH_DOUBLE) |
38 |
.if defined(WITH_DOUBLE) |
35 |
MAKE_ARGS+= COLORS=DOUBLE COORDINATES=DOUBLE |
39 |
MAKE_ARGS+= COLORS=DOUBLE COORDINATES=DOUBLE |
36 |
.endif |
40 |
.endif |
Lines 47-57
Link Here
|
47 |
|
51 |
|
48 |
post-patch: |
52 |
post-patch: |
49 |
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/d2.h |
53 |
@${REINPLACE_CMD} -e 's|stdint.h|inttypes.h|' ${WRKSRC}/d2.h |
50 |
.if ${OSVERSION} < 502114 |
|
|
51 |
.for file in d2/image.h d2/image_rw.h d2/ppm.h d3/scene.cc |
52 |
@${REINPLACE_CMD} -e 's|round(|rint(|g' ${WRKSRC}/${file} |
53 |
.endfor |
54 |
.endif |
55 |
|
54 |
|
56 |
do-install: |
55 |
do-install: |
57 |
${INSTALL_PROGRAM} ${WRKSRC}/ale ${PREFIX}/bin |
56 |
${INSTALL_PROGRAM} ${WRKSRC}/ale ${PREFIX}/bin |