blob: 122e6d1f13061c7bebaee9d6f2f3b23cd6140f65 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
|
# Created by: David Yeske <dyeske@gmail.com>
# $FreeBSD$
PORTNAME= evolvotron
PORTVERSION= 0.6.1
PORTREVISION= 3
CATEGORIES= graphics
MASTER_SITES= SF
MAINTAINER= ports@FreeBSD.org
COMMENT= Generative software that evolves images/textures/patterns
LIB_DEPENDS= boost_thread:${PORTSDIR}/devel/boost-libs
WRKSRC= ${WRKDIR}/${PORTNAME}
USE_QT4= corelib gui moc_build qmake_build xml
USE_PYTHON= yes
USE_XORG= x11
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
post-patch:
${REINPLACE_CMD} -e 's|/bin/bash|/bin/sh|' ${WRKSRC}/configure
${REINPLACE_CMD} -e 28d ${WRKSRC}/libevolvotron/platform_specific.h
${REINPLACE_CMD} -e 30d ${WRKSRC}/libevolvotron/platform_specific.h
do-install:
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron/evolvotron ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_mutate/evolvotron_mutate ${PREFIX}/bin
@${INSTALL_PROGRAM} ${WRKSRC}/evolvotron_render/evolvotron_render ${PREFIX}/bin
@${INSTALL_DATA} ${WRKSRC}/libevolvotron/libevolvotron.a ${PREFIX}/lib
@${INSTALL_DATA} ${WRKSRC}/libfunction/libfunction.a ${PREFIX}/lib
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@${INSTALL_DATA} ${WRKSRC}/evolvotron.html ${DOCSDIR}
.endif
.include <bsd.port.post.mk>
|