aboutsummaryrefslogtreecommitdiff
path: root/graphics/py-ming/Makefile
blob: f3b0d9563fb4f6589e1692f7a418895ab75f94f6 (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:	Python/Ming
# Date created:		16 Oct 2000
# Whom:			Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#

PORTNAME=	ming
PORTVERSION=	0.3.0
CATEGORIES=	graphics python
MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR=	${PORTNAME}
PKGNAMEPREFIX=	${PYTHON_PKGNAMEPREFIX}
DISTNAME=	${PORTNAME}-py-${PORTVERSION}

MAINTAINER=	ports@FreeBSD.org
COMMENT=	Python module for Ming which allows you to create Flash 4/5 movies

LIB_DEPENDS=	ming.4:${PORTSDIR}/graphics/ming

WRKSRC=		${WRKDIR}/${PORTNAME}-${PORTVERSION}/py_ext

USE_PYTHON=	yes
USE_PYDISTUTILS=	yes

post-patch:
	@${REINPLACE_CMD} -e 's|/usr/local/|${LOCALBASE}/|g' ${WRKSRC}/setup.py
	@${LN} -sf ${LOCALBASE}/include/ming ${WRKSRC}/../src

.include <bsd.port.mk>