aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-amanith/Makefile
blob: 45273429f2c5c4a15cce6081bb1324a46254ab55 (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
# 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.34
PORTREVISION=   1
CATEGORIES= graphics python
MASTER_SITES=   http://louhi.kempele.fi/~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

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

.include <bsd.port.mk>