freebsd-ports/graphics/py-ming/Makefile
Alexander Botero-Lowry 4942ce5a7d - Make Python 2.5.1 the default Python version
- Add significantly better support in bsd.python.mk for working with
   Python Eggs and the easy_install system

Tested by:	pointyhat runs
Approved by:	pav (portmgr)
Most work by:	perky
Thanks to:	pav
2007-07-30 09:42:28 +00:00

33 lines
845 B
Makefile

# 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
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>