Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 1 Oct 2013 05:46:25 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r328914 - in head/games/critterding: . files
Message-ID:  <201310010546.r915kP1n015348@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Tue Oct  1 05:46:25 2013
New Revision: 328914
URL: http://svnweb.freebsd.org/changeset/ports/328914

Log:
  - Support staging
  - Use new LIB_DEPENDS syntax
  - Fix build on current

Modified:
  head/games/critterding/Makefile
  head/games/critterding/files/patch-src-scenes-evolution.cpp

Modified: head/games/critterding/Makefile
==============================================================================
--- head/games/critterding/Makefile	Tue Oct  1 05:45:56 2013	(r328913)
+++ head/games/critterding/Makefile	Tue Oct  1 05:46:25 2013	(r328914)
@@ -10,7 +10,7 @@ MASTER_SITES=	SF/${PORTNAME}/${PORTNAME}
 MAINTAINER=	amdmi3@FreeBSD.org
 COMMENT=	Evolving Artificial Life
 
-LIB_DEPENDS=	freetype:${PORTSDIR}/print/freetype2
+LIB_DEPENDS=	libfreetype.so:${PORTSDIR}/print/freetype2
 
 USE_BZIP2=	yes
 USES=		pkgconfig
@@ -25,7 +25,6 @@ USE_GCC=	yes
 
 PORTDOCS=	README AUTHORS Changelog
 
-NO_STAGE=	yes
 .include <bsd.port.options.mk>
 
 post-patch:
@@ -37,9 +36,9 @@ pre-configure:
 
 .if ${PORT_OPTIONS:MDOCS}
 post-install:
-	${MKDIR} ${DOCSDIR}
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
 .for f in ${PORTDOCS}
-	${INSTALL_DATA} ${WRKSRC}/${f} ${DOCSDIR}
+	${INSTALL_DATA} ${WRKSRC}/${f} ${STAGEDIR}${DOCSDIR}
 .endfor
 .endif
 

Modified: head/games/critterding/files/patch-src-scenes-evolution.cpp
==============================================================================
--- head/games/critterding/files/patch-src-scenes-evolution.cpp	Tue Oct  1 05:45:56 2013	(r328913)
+++ head/games/critterding/files/patch-src-scenes-evolution.cpp	Tue Oct  1 05:46:25 2013	(r328914)
@@ -1,6 +1,14 @@
 --- src/scenes/evolution.cpp.orig	2010-03-06 01:14:29.000000000 +0300
-+++ src/scenes/evolution.cpp	2013-06-18 06:00:15.823111566 +0400
-@@ -287,7 +287,7 @@
++++ src/scenes/evolution.cpp	2013-09-30 06:53:44.815518897 +0400
+@@ -1,6 +1,4 @@
+-#ifdef _WIN32
+-	#include <unistd.h>
+-#endif
++#include <unistd.h>
+ #include "evolution.h"
+ 
+ # include <math.h>
+@@ -287,7 +285,7 @@
  					}
  					else if ( world->mouseRayHitEntity->type == 0 )
  					{



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