1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

- Support staging

- Use new LIB_DEPENDS syntax
- Fix build on current
This commit is contained in:
Dmitry Marakasov 2013-10-01 05:46:25 +00:00
parent 595c4dc8ff
commit e871fb918b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328914
2 changed files with 13 additions and 6 deletions

View File

@ -10,7 +10,7 @@ MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/sources
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

View File

@ -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 )
{