aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-amanith/Makefile
blob: 8040264cedd73d3e52b896db11ad70fd6d87f6a7 (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
29
30
31
# New ports collection makefile for:	py-amanith
# Date created:		2006-09-01
# Whom:			Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
#
# $FreeBSD$
#

PORTNAME=	amanith
PORTVERSION=	0.3.35
PORTREVISION=	4
CATEGORIES=	graphics python
MASTER_SITES=	http://muksuluuri.ath.cx/~skyostil/projects/pyamanith/dist/
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	PyAmanith-${PORTVERSION}
DIST_SUBDIR=	python

MAINTAINER=	acm@FreeBSD.org
COMMENT=	Python wrapper for the amanith 2D vector graphics library

LIB_DEPENDS=	GLEW.1:${PORTSDIR}/graphics/glew \
		amanith.1:${PORTSDIR}/graphics/amanith
BUILD_DEPENDS=	swig:${PORTSDIR}/devel/swig13

USE_PYTHON=	2.4+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME=	PyAmanith

post-patch:
	${REINPLACE_CMD} -i "" -e 's|^swig-cpp.*|swig-opts = -c++|g' ${WRKSRC}/setup.cfg

.include <bsd.port.mk>