aboutsummaryrefslogtreecommitdiff
path: root/games/gnomesudoku/Makefile
blob: f2c5b84eff1a5a778f1281d93fde9ee8b56d9cb1 (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
# Created by: Thomas Gellekum <tg@FreeBSD.org>
# $FreeBSD$

PORTNAME=	gnomesudoku
PORTVERSION=	0.6.0
PORTREVISION=	9
CATEGORIES=	games gnome
MASTER_SITES=	SF/gnome-sudoku/gnome-sudoku/${PORTVERSION}
DISTNAME=	gnome-sudoku-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	GNOME Sudoku game

RUN_DEPENDS=	${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric \
		${PYTHON_SITELIBDIR}/PIL/__init__.py:${PORTSDIR}/graphics/py-imaging

USE_PYTHON=	yes
USE_PYDISTUTILS=yes
USES=		pathfix display
USE_GNOME=	gnomeprefix pygnome2 pygnomedesktop
PYDISTUTILS_PKGNAME=	gnome-sudoku

post-patch:
	@${REINPLACE_CMD} \
		-e 's,distutils\.command\.install ,setuptools\.command\.install ,' \
		${WRKSRC}/tools/gsudoku_distutils.py

.include <bsd.port.mk>