Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Oct 2013 03:42:03 +0000 (UTC)
From:      Danilo Egea Gondolfo <danilo@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r332059 - in head/games/avanor: . files
Message-ID:  <201310300342.r9U3g3lC088148@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310300342.r9U3g3lC088148>