svn commit: r408419 - in head/graphics/evolvotron: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Sun Feb 7 15:56:27 UTC 2016


Author: amdmi3
Date: Sun Feb  7 15:56:25 2016
New Revision: 408419
URL: https://svnweb.freebsd.org/changeset/ports/408419

Log:
  - Fix LICENSE
  - Fix build with boost 1.60
  - Switch to options helpers
  - Cosmetic fixes
  
  PR:		199601

Added:
  head/graphics/evolvotron/files/patch-libfunction_useful.h   (contents, props changed)
Modified:
  head/graphics/evolvotron/Makefile

Modified: head/graphics/evolvotron/Makefile
==============================================================================
--- head/graphics/evolvotron/Makefile	Sun Feb  7 15:53:49 2016	(r408418)
+++ head/graphics/evolvotron/Makefile	Sun Feb  7 15:56:25 2016	(r408419)
@@ -13,8 +13,7 @@ DISTFILES=	${PORTNAME}-${DISTVERSION}${E
 MAINTAINER=	ports at FreeBSD.org
 COMMENT=	Generative software that evolves images/textures/patterns
 
-LICENSE=	GPLv2
-LICENSE_FILE=	${WRKSRC}/LICENSE
+LICENSE=	GPLv3+ # LICENSE file is GPLv2 though
 
 LIB_DEPENDS=	libboost_thread.so:${PORTSDIR}/devel/boost-libs
 
@@ -22,7 +21,7 @@ WRKSRC=		${WRKDIR}/${PORTNAME}
 
 USES=		python qmake
 USE_QT4=	corelib gui xml moc_build
-QMAKE_ARGS+=	VERSION_NUMBER="${PORTVERSION}"
+QMAKE_ARGS=	VERSION_NUMBER="${PORTVERSION}"
 QMAKE_SOURCE_PATH=	${WRKSRC}/main.pro
 MAKE_JOBS_UNSAFE=	yes
 
@@ -49,11 +48,9 @@ do-install:
 .for i in evolvotron evolvotron_mutate evolvotron_render
 	${INSTALL_PROGRAM} ${WRKSRC}/${i}/${i} ${STAGEDIR}${PREFIX}/bin/
 .endfor
-
 .for lib in libevolvotron libfunction
 	${INSTALL_DATA} ${WRKSRC}/${lib}/${lib}.a ${STAGEDIR}${PREFIX}/lib/
 .endfor
-
 .for s in ${ICON_SIZES}
 	@${MKDIR} ${STAGEDIR}${PREFIX}/share/icons/hicolor/${s}/apps/
 	${INSTALL_DATA} ${WRKDIR}/${PORTNAME}_${s}.png \
@@ -61,12 +58,12 @@ do-install:
 .endfor
 	${LN} -sf ${PREFIX}/share/icons/hicolor/48x48/apps/${PORTNAME}.png \
 		${STAGEDIR}${PREFIX}/share/pixmaps/
-
 .for m in evolvotron.1 evolvotron_mutate.1 evolvotron_render.1
 	cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${m} \
 		${STAGEDIR}${MAN1PREFIX}/man/man1/
 .endfor
 
+do-install-DOCS-on:
 	@${MKDIR} ${STAGEDIR}${DOCSDIR}
 	${INSTALL_DATA} ${PORTDOCS:S|^|${WRKSRC}/|} ${STAGEDIR}${DOCSDIR}
 

Added: head/graphics/evolvotron/files/patch-libfunction_useful.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/graphics/evolvotron/files/patch-libfunction_useful.h	Sun Feb  7 15:56:25 2016	(r408419)
@@ -0,0 +1,18 @@
+--- libfunction/useful.h.orig	2013-01-26 12:49:04 UTC
++++ libfunction/useful.h
+@@ -40,6 +40,7 @@
+ #include <sstream>
+ #include <vector>
+ 
++#ifndef Q_MOC_RUN
+ #include <boost/array.hpp>
+ #include <boost/ptr_container/ptr_map.hpp>
+ #include <boost/ptr_container/ptr_vector.hpp>
+@@ -49,6 +50,7 @@
+ #include <boost/tuple/tuple.hpp>
+ #include <boost/utility.hpp>
+ #include <boost/version.hpp>
++#endif
+ 
+ //! Convenience typedef.
+ typedef unsigned int uint;


More information about the svn-ports-all mailing list