svn commit: r328914 - in head/games/critterding: . files
Dmitry Marakasov
amdmi3 at FreeBSD.org
Tue Oct 1 05:46:26 UTC 2013
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 at 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 )
{
More information about the svn-ports-all
mailing list