summaryrefslogtreecommitdiff
path: root/graphics/evolvotron/Makefile
diff options
context:
space:
mode:
authorPete Fritchman <petef@FreeBSD.org>2004-01-11 17:56:51 +0000
committerPete Fritchman <petef@FreeBSD.org>2004-01-11 17:56:51 +0000
commit666eb0a218ce63b313eea1bd207539199715aa9d (patch)
tree10d887e22fd3b883270c578b6e6dc2418f6f4960 /graphics/evolvotron/Makefile
parent- remove dependency on gmake (diff)
- update to 0.2.3
- unbreak on -current - install docs PR: 59863 Submitted by: Markus Brueffer <brueffer@phoenix-systems.de> Approved by: maintainer timeout
Diffstat (limited to 'graphics/evolvotron/Makefile')
-rw-r--r--graphics/evolvotron/Makefile28
1 files changed, 17 insertions, 11 deletions
diff --git a/graphics/evolvotron/Makefile b/graphics/evolvotron/Makefile
index b33a94b9f8c8..e8e77445a1e7 100644
--- a/graphics/evolvotron/Makefile
+++ b/graphics/evolvotron/Makefile
@@ -5,7 +5,7 @@
# $FreeBSD$
PORTNAME= evolvotron
-PORTVERSION= 0.0.5
+PORTVERSION= 0.2.3
CATEGORIES= graphics
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
@@ -15,21 +15,27 @@ COMMENT= Generative software that evolves images/textures/patterns
WRKSRC= ${WRKDIR}/${PORTNAME}
-QTDIR?= ${X11BASE}
USE_QT_VER= 3
-
+USE_PYTHON= yes
USE_X_PREFIX= yes
GNU_CONFIGURE= yes
+USE_REINPLACE= yes
-MAKE_ENV= QTDIR="${QTDIR}"
-
-.include <bsd.port.pre.mk>
+MAKE_ENV= QTDIR="${QT_PREFIX}" \
+ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
+CONFIGURE_ENV= QTDIR="${QT_PREFIX}" \
+ QMAKESPEC=${LOCALBASE}/share/qt/mkspecs/freebsd-g++
-.if ${OSVERSION} >= 501000
-BROKEN= "Does not compile"
-.endif
+post-patch:
+ @${REINPLACE_CMD} -e 's/-pthread/${PTHREAD_LIBS}/' ${WRKSRC}/common.pro
do-install:
- @${INSTALL_PROGRAM} ${WRKSRC}/evolvotron ${PREFIX}/bin
+ @${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
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ @${INSTALL_DATA} ${WRKSRC}/evolvotron.html ${DOCSDIR}
+.endif
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>