View | Details | Raw Unified | Return to bug 175016 | Differences between
and this patch

Collapse All | Expand All

(-)graphics/evolvotron/Makefile (-23 / +37 lines)
Lines 1-45 Link Here
1
# New ports collection makefile for:	evolvotron
1
# Created by: David Yeske <dyeske@gmail.com>
2
# Date created:				16 Mar 2003
3
# Whom:					David Yeske <dyeske@gmail.com>
4
#
5
# $FreeBSD: head/graphics/evolvotron/Makefile 308272 2012-12-04 20:39:22Z zi $
2
# $FreeBSD: head/graphics/evolvotron/Makefile 308272 2012-12-04 20:39:22Z zi $
6
3
7
PORTNAME=	evolvotron
4
PORTNAME=	evolvotron
8
PORTVERSION=	0.6.1
5
PORTVERSION=	0.6.3
9
PORTREVISION=	2
10
CATEGORIES=	graphics
6
CATEGORIES=	graphics
11
MASTER_SITES=	SF
7
MASTER_SITES=	SF
12
8
13
MAINTAINER=	ports@FreeBSD.org
9
MAINTAINER=	ports@FreeBSD.org
14
COMMENT=	Generative software that evolves images/textures/patterns
10
COMMENT=	Generative software that evolves images/textures/patterns
15
11
16
LIB_DEPENDS=	boost_thread.4:${PORTSDIR}/devel/boost-libs
12
LICENSE=	GPLv2
13
14
LIB_DEPENDS=	boost_thread:${PORTSDIR}/devel/boost-libs
15
16
OPTIONS_DEFINE=	DOCS
17
17
18
WRKSRC=		${WRKDIR}/${PORTNAME}
18
WRKSRC=		${WRKDIR}/${PORTNAME}
19
19
20
USE_QT4=	corelib gui moc_build qmake_build xml
20
USE_QT4=	corelib gui xml moc_build qmake_build
21
USE_PYTHON=	yes
21
USE_PYTHON=	yes
22
USE_XORG=	x11
22
HAS_CONFIGURE=	yes
23
GNU_CONFIGURE=	yes
23
CONFIGURE_ENV=	QTDIR="${QT_PREFIX}"
24
25
MAKE_JOBS_UNSAFE=	yes
24
MAKE_JOBS_UNSAFE=	yes
26
25
27
.include <bsd.port.pre.mk>
26
MAN1=		evolvotron.1 evolvotron_mutate.1 evolvotron_render.1
27
PORTDOCS=	*
28
PLIST_FILES=	bin/evolvotron bin/evolvotron_mutate bin/evolvotron_render \
29
		lib/libevolvotron.a lib/libfunction.a
30
31
DESKTOP_ENTRIES="Evolvotron" "Interactive image generator" "" "${PORTNAME}" \
32
		"Graphics;2DGraphics;" true
33
34
.include <bsd.port.options.mk>
28
35
29
post-patch:
36
post-patch:
30
	${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/configure
37
	@${REINPLACE_CMD} -e \
31
	${REINPLACE_CMD} -e 28d ${WRKSRC}/libevolvotron/platform_specific.h
38
		's|/bin/bash|/bin/sh|' ${WRKSRC}/configure
32
	${REINPLACE_CMD} -e 30d ${WRKSRC}/libevolvotron/platform_specific.h
39
	@${REINPLACE_CMD} -e \
40
		'/DEFINES/s|_LINUX|_BSD|' ${WRKSRC}/common.pro
41
42
post-configure:
43
	@(cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${QMAKE} ${QMAKEFLAGS} \
44
		VERSION_NUMBER="${PORTVERSION}" main.pro)
33
45
34
do-install:
46
do-install:
35
	@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron/evolvotron ${PREFIX}/bin
47
.for i in evolvotron evolvotron_mutate evolvotron_render
36
	@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_mutate/evolvotron_mutate ${PREFIX}/bin
48
	(cd ${WRKSRC}/${i} && ${INSTALL_PROGRAM} ${i} ${PREFIX}/bin)
37
	@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_render/evolvotron_render ${PREFIX}/bin
49
	(cd ${WRKSRC}/man/man1 && ${INSTALL_MAN} ${i}.1 ${MANPREFIX}/man/man1)
38
	@${INSTALL_DATA} ${WRKSRC}/libevolvotron/libevolvotron.a ${PREFIX}/lib
50
.endfor
39
	@${INSTALL_DATA} ${WRKSRC}/libfunction/libfunction.a ${PREFIX}/lib
51
.for i in libevolvotron libfunction
40
.if !defined(NOPORTDOCS)
52
	(cd ${WRKSRC}/${i} && ${INSTALL_DATA} ${i}.a ${PREFIX}/lib)
53
.endfor
54
.if ${PORT_OPTIONS:MDOCS}
41
	@${MKDIR} ${DOCSDIR}
55
	@${MKDIR} ${DOCSDIR}
42
	@${INSTALL_DATA} ${WRKSRC}/evolvotron.html ${DOCSDIR}
56
	(cd ${WRKSRC} && ${INSTALL_DATA} evolvotron.html ${DOCSDIR})
43
.endif
57
.endif
44
58
45
.include <bsd.port.post.mk>
59
.include <bsd.port.mk>
(-)graphics/evolvotron/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (evolvotron-0.6.1.tar.gz) = 70bf4dc6de69f43385047d3dfb6058c6d5b26957313486bfc452721ff05be503
1
SHA256 (evolvotron-0.6.3.tar.gz) = d1735fe84d90be004888017068f49fa00c97378fd7cca11a90a4a889ef681393
2
SIZE (evolvotron-0.6.1.tar.gz) = 156441
2
SIZE (evolvotron-0.6.3.tar.gz) = 182357
(-)graphics/evolvotron/files/patch-USAGE (+13 lines)
Line 0 Link Here
1
--- USAGE.orig
2
+++ USAGE
3
@@ -68,8 +68,8 @@
4
 
5
   -m, --multisample <multisample grid>
6
 	Enables additional antialiasing passes.
7
-	Specifing 2 or 3 will provide an additional pass with 2x2 or 3x3 samples per pixel.
8
-	Specifiying 4 (of higher) will provide a 2x2 and a final 4x4 pass.
9
+	Specifying 2 or 3 will provide an additional pass with 2x2 or 3x3 samples per pixel.
10
+	Specifying 4 (of higher) will provide a 2x2 and a final 4x4 pass.
11
 	Specifying 1 provides the default behaviour of one sample per pixel.
12
 	For best rendering quality also specify -j.
13
 
(-)graphics/evolvotron/files/patch-libevolvotron__dialog_help.cpp (+15 lines)
Line 0 Link Here
1
--- libevolvotron/dialog_help.cpp.orig
2
+++ libevolvotron/dialog_help.cpp
3
@@ -45,10 +45,10 @@
4
 "    Esc - Returns to normal mode from full-screen/menu-hidden mode."
5
 "  </li>"
6
 "  <li>"
7
-"    R - Reset (reset mutation paramters and locks)"
8
+"    R - Reset (reset mutation parameters and locks)"
9
 "  </li>"
10
 "  <li>"
11
-"    T - Restart (preserve mutation paramters and locks)"
12
+"    T - Restart (preserve mutation parameters and locks)"
13
 "  </li>"
14
 "  <li>"
15
 "    X - Remix (randomize function weights and restart)"
(-)graphics/evolvotron/pkg-plist (-7 lines)
Lines 1-7 Link Here
1
bin/evolvotron
2
bin/evolvotron_mutate
3
bin/evolvotron_render
4
lib/libevolvotron.a
5
lib/libfunction.a
6
%%PORTDOCS%%%%DOCSDIR%%/evolvotron.html
7
%%PORTDOCS%%@dirrm %%DOCSDIR%%

Return to bug 175016