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

PORTNAME=	ming
PORTVERSION=	0.3.0
PORTREVISION=	1
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>