aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/py-ming/Makefile
blob: ae68c3687156cc6cbcd93e5a86cf1f84f0f52cfc (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
32
33
34
# 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=   2
CATEGORIES= graphics python
MASTER_SITES=   SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
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

BROKEN= does not fetch

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

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

USE_PYTHON= yes
USE_PYDISTUTILS=    yes
PYDISTUTILS_PKGNAME=    mingc
PYDISTUTILS_PKGVERSION= 0.0.3a

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

.include <bsd.port.mk>