# New ports collection makefile for: pychess # Date created: 2008-01-23 # Whom: Nicola Vitale # # $FreeBSD$ # PORTNAME= pychess DISTVERSION= 0.10rc1 PORTREVISION= 1 #PORTEPOCH= 0 CATEGORIES= games python MASTER_SITES= ${MASTER_SITE_GOOGLE_CODE} \ http://nivi.interfree.it/distfiles/${PORTNAME}/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= nivit@FreeBSD.org COMMENT= A GTK chess client written in Python RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}sqlite3>=3-2.5.1_1:${PORTSDIR}/databases/py-sqlite3 INSTALLS_ICONS= yes OPTIONS= PYGSTREAMER "Install gst-python for audio support" off \ CRAFTY "Install crafty (chess engine)" off \ GNUCHESS "Install gnuchess (chess engine)" off \ PHALANX "Install phalanx (chess engine)" off \ SJENG "Install sjeng (chess engine)" off \ STRONGPLAYER "Install psyco/gmpy (strong player)" off \ STOCKFISH "Install stockfish (chess engine)" off OPTIONSFILE= ${PORT_DBDIR}/py-${PORTNAME}/options PYDISTUTILS_PKGVERSION= ${DISTVERSION} USE_GNOME= pygnomedesktop USE_GETTEXT= yes USE_PYTHON= yes USE_PYDISTUTILS= yes REINPLACE_ARGS= -i.bak -e 's,%%PREFIX%%,${PREFIX},' -e 's,share/games/pychess,${DATADIR},' -e '1s,/usr/bin/python,/usr/bin/env python${PYTHON_VER},' .if !defined(NO_INSTALL_MANPAGES) MAN1= ${PORTNAME}.1 MANCOMPRESSED= yes .else MAKE_ENV+= NO_INSTALL_MANPAGES=${NO_INSTALL_MANPAGES} .endif post-patch: cd ${WRKSRC} && ${REINPLACE_CMD} ${PORTNAME} ${PYSETUP} lib/pychess/widgets/newGameDialog.py lib/pychess/Players/PyChess.py .include .if defined (WITH_PYGSTREAMER) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}-gstreamer>=0.10.8:${PORTSDIR}/multimedia/py-gstreamer .endif .if defined (WITH_CRAFTY) RUN_DEPENDS+= crafty:${PORTSDIR}/games/crafty .endif .if defined (WITH_GNUCHESS) RUN_DEPENDS+= gnuchess:${PORTSDIR}/games/gnuchess .endif .if defined (WITH_PHALANX) RUN_DEPENDS+= phalanx:${PORTSDIR}/games/phalanx .endif .if defined (WITH_SJENG) RUN_DEPENDS+= sjeng:${PORTSDIR}/games/sjeng .endif .if defined (WITH_STRONGPLAYER) RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}psyco>=1.6:${PORTSDIR}/devel/py-psyco RUN_DEPENDS+= ${PYTHON_PKGNAMEPREFIX}gmpy>=1.13:${PORTSDIR}/math/py-gmpy .endif .if defined (WITH_STOCKFISH) RUN_DEPENDS+= stockfish:${PORTSDIR}/games/stockfish .endif .include lectron4/files/lodash.merge-4.6.2 FreeBSD GNOME current development ports (https://github.com/freebsd/freebsd-ports-gnome)
aboutsummaryrefslogtreecommitdiffstats
Commit message (Expand)AuthorAgeFilesLines
* - Chase Emacs updatesashish2012-02-221-1/+1
* - Chase editors/emacs updateashish2011-10-171-1/+1
* Chase editors/emacs updateashish2011-09-081-1/+1
* Chase editors/emacs update.ashish2011-08-281-0/+1
* - Take maintainership.kuriyama2011-05-202-5/+4
* - Get Rid MD5 supportmiwi2011-03-191-1/+0
* Reset yoichi@FreeBSD since his commit bit was taken in for safekeeping.linimon2010-06-041-1/+1
* - update to 1.4.1dinoex2010-03-281-1/+1
* - update to jpeg-8dinoex2010-02-051-1/+1
* Changes to editors/emacs and Mk/bsd.emacs.mk were taken frombsam2009-12-211-1/+1
* - bump all port that indirectly depends on libjpeg and have not yet been bump...dinoex2009-07-311-1/+1
* Bump portrevision due to upgrade of devel/gettext.edwin2008-06-061-1/+1
* Fix install with emacs22.yoichi2007-08-021-5/+5
* - Welcome X.org 7.2 \o/.flz2007-05-201-0/+1
* Update to 1.4.5yoichi2006-12-142-4/+4
* Update to 1.4.3yoichi2006-05-072-4/+4
* - Fix possibility of "infinite make fork" when "Registering install for ..."linimon2006-01-281-0/+1
* Update to 1.4.2yoichi2005-12-122-4/+4
* Update to 1.4.1yoichi2005-11-232-4/+4
* Update to 1.4.0yoichi2005-11-202-3/+4
* Update to 1.3.5yoichi2005-10-18