svn commit: r332059 - in head/games/avanor: . files
Danilo Egea Gondolfo
danilo at FreeBSD.org
Wed Oct 30 03:42:04 UTC 2013
Author: danilo
Date: Wed Oct 30 03:42:03 2013
New Revision: 332059
URL: http://svnweb.freebsd.org/changeset/ports/332059
Log:
- Add stage support
- Fix build with clang
- Convert USE_GMAKE to USES
Added:
head/games/avanor/files/
head/games/avanor/files/patch-game__cave.cpp (contents, props changed)
Modified:
head/games/avanor/Makefile (contents, props changed)
Modified: head/games/avanor/Makefile
==============================================================================
--- head/games/avanor/Makefile Wed Oct 30 03:05:18 2013 (r332058)
+++ head/games/avanor/Makefile Wed Oct 30 03:42:03 2013 (r332059)
@@ -11,11 +11,10 @@ MAINTAINER= ports at FreeBSD.org
COMMENT= Rogue-like game with easy ADOM-like user interface
USE_BZIP2= yes
-USE_GMAKE= yes
+USES= gmake
MAKE_ARGS+= VERSION=${PORTVERSION} DATA_DIR=${DATADIR}/
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-NO_STAGE= yes
post-patch:
@${REINPLACE_CMD} -e "s|g++|${CXX}|; \
s|CFLAGS =|CFLAGS+=|;" \
@@ -25,8 +24,8 @@ post-patch:
${WRKSRC}/helpers/hiscore.h
do-install:
- ${INSTALL_PROGRAM} ${WRKSRC}/avanor ${PREFIX}/bin
- ${MKDIR} ${DATADIR}/manual
- ${INSTALL_DATA} ${WRKSRC}/manual/* ${DATADIR}/manual/
+ ${INSTALL_PROGRAM} ${WRKSRC}/avanor ${STAGEDIR}${PREFIX}/bin
+ @${MKDIR} ${STAGEDIR}${DATADIR}/manual
+ ${INSTALL_DATA} ${WRKSRC}/manual/* ${STAGEDIR}${DATADIR}/manual/
.include <bsd.port.mk>
Added: head/games/avanor/files/patch-game__cave.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/avanor/files/patch-game__cave.cpp Wed Oct 30 03:42:03 2013 (r332059)
@@ -0,0 +1,12 @@
+--- ./game/cave.cpp.orig 2013-10-30 01:23:52.000000000 -0200
++++ ./game/cave.cpp 2013-10-30 01:25:33.000000000 -0200
+@@ -192,7 +192,8 @@
+ }
+
+ }
+- r.Setup(&XRect(x, y, x + l, y + h));
++ XRect xrecttemp = XRect(x, y, x + l, y + h);
++ r.Setup(&xrecttemp);
+ }
+
+ int XCave::Compare(XObject * o)
More information about the svn-ports-head
mailing list