From 666eb0a218ce63b313eea1bd207539199715aa9d Mon Sep 17 00:00:00 2001 From: Pete Fritchman Date: Sun, 11 Jan 2004 17:56:51 +0000 Subject: - update to 0.2.3 - unbreak on -current - install docs PR: 59863 Submitted by: Markus Brueffer Approved by: maintainer timeout --- graphics/evolvotron/Makefile | 28 +++++++++++++++++----------- 1 file changed, 17 insertions(+), 11 deletions(-) (limited to 'graphics/evolvotron/Makefile') 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 +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 +.include -- cgit v1.2.3