svn commit: r386479 - in head/games: . pyfa
Dmitry Marakasov
amdmi3 at FreeBSD.org
Fri May 15 20:27:44 UTC 2015
Author: amdmi3
Date: Fri May 15 20:27:42 2015
New Revision: 386479
URL: https://svnweb.freebsd.org/changeset/ports/386479
Log:
Pyfa is a cross-platform desktop fitting application for EVE online
that can be used natively on any platform where python and wxwidgets
are available.
It provides many advanced features such as graphs and full calculations
of any possible combination of modules, fits, etc.
WWW: https://github.com/DarkFenX/Pyfa
PR: 199838
Submitted by: andrey at bsdnir.info
Added:
head/games/pyfa/
head/games/pyfa/Makefile (contents, props changed)
head/games/pyfa/distinfo (contents, props changed)
head/games/pyfa/pkg-descr (contents, props changed)
Modified:
head/games/Makefile
Modified: head/games/Makefile
==============================================================================
--- head/games/Makefile Fri May 15 20:24:49 2015 (r386478)
+++ head/games/Makefile Fri May 15 20:27:42 2015 (r386479)
@@ -772,6 +772,7 @@
SUBDIR += pycadia
SUBDIR += pyching
SUBDIR += pydance
+ SUBDIR += pyfa
SUBDIR += pykawari
SUBDIR += pysolfc
SUBDIR += pyspacewar
Added: head/games/pyfa/Makefile
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pyfa/Makefile Fri May 15 20:27:42 2015 (r386479)
@@ -0,0 +1,53 @@
+# Created by: Andrey Fesenko <andrey at bsdnir.info>
+# $FreeBSD$
+
+PORTNAME= pyfa
+PORTVERSION= 1.11.0
+DISTVERSIONPREFIX= v
+CATEGORIES= games python
+
+MAINTAINER= andrey at bsdnir.info
+COMMENT= Fitting tool for EVE Online
+
+LICENSE= GPLv3 # or later
+LICENSE_FILE= ${WRKSRC}/gpl.txt
+
+RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}dateutil>0:${PORTSDIR}/devel/py-dateutil \
+ ${PYTHON_PKGNAMEPREFIX}sqlalchemy>0:${PORTSDIR}/databases/py-sqlalchemy
+
+USE_GITHUB= yes
+GH_ACCOUNT= DarkFenX
+
+USES= python:2 dos2unix
+DOS2UNIX_GLOB= *.py
+WRKSRC= ${WRKDIR}/Pyfa-${PORTVERSION}
+
+PLIST_FILES= bin/pyfa
+PORTDATA= *
+
+USE_WX= 2.8
+WX_COMPS= python:run
+WX_UNICODE= yes
+
+OPTIONS_DEFINE= DPSGRAPHING
+DPSGRAPHING_DESC= DPS graphing (requires NumPy and matplotlib)
+OPTIONS_DEFAULT= DPSGRAPHING
+
+DPSGRAPHING_RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}matplotlib>0:${PORTSDIR}/math/py-matplotlib \
+ ${PYTHON_PKGNAMEPREFIX}numpy>0:${PORTSDIR}/math/py-numpy \
+ ${PYTHON_PKGNAMEPREFIX}more-itertools>0:${PORTSDIR}/devel/py-more-itertools
+
+do-build:
+ @${PYTHON_CMD} -m compileall ${WRKSRC}
+ @${PYTHON_CMD} -O -m compileall ${WRKSRC}
+
+post-build:
+ @${PRINTF} "#!/bin/sh\nexec ${PYTHON_CMD} ${DATADIR}/pyfa.py\n" \
+ > ${WRKDIR}/pyfa.sh
+
+do-install:
+ @${MKDIR} ${STAGEDIR}${DATADIR}
+ @cd ${WRKSRC} && ${COPYTREE_SHARE} . ${STAGEDIR}${DATADIR}
+ ${INSTALL_SCRIPT} ${WRKDIR}/pyfa.sh ${STAGEDIR}${PREFIX}/bin/pyfa
+
+.include <bsd.port.mk>
Added: head/games/pyfa/distinfo
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pyfa/distinfo Fri May 15 20:27:42 2015 (r386479)
@@ -0,0 +1,2 @@
+SHA256 (DarkFenX-pyfa-v1.11.0_GH0.tar.gz) = d2c0c4e71604a2fe7dd2557a598a3d7d5abd2cc73a9497a0ce76158e1499adca
+SIZE (DarkFenX-pyfa-v1.11.0_GH0.tar.gz) = 5846954
Added: head/games/pyfa/pkg-descr
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/games/pyfa/pkg-descr Fri May 15 20:27:42 2015 (r386479)
@@ -0,0 +1,8 @@
+Pyfa is a cross-platform desktop fitting application for EVE online
+that can be used natively on any platform where python and wxwidgets
+are available.
+
+It provides many advanced features such as graphs and full calculations
+of any possible combination of modules, fits, etc.
+
+WWW: https://github.com/DarkFenX/Pyfa
More information about the svn-ports-all
mailing list