freebsd-ports/graphics/py-ming/Makefile

51 lines
1.2 KiB
Makefile
Raw Normal View History

# New ports collection makefile for: Python/Ming
# Date created: 16 Oct 2000
# Whom: Akinori MUSHA aka knu <knu@idaemons.org>
#
# $FreeBSD$
#
PORTNAME= ming
2001-09-18 07:57:17 +02:00
PORTVERSION= 0.2a
CATEGORIES= graphics python
2001-03-20 10:32:55 +01:00
MASTER_SITES= # none
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
2001-03-20 10:32:55 +01:00
DISTFILES= # none
MAINTAINER= knu@FreeBSD.org
COMMENT= Python module for Ming which allows you to create Flash 4/5 movies
EXTRACT_DEPENDS= ${NONEXISTENT}:${PORTSDIR}/graphics/ming:patch
2001-09-18 07:57:17 +02:00
LIB_DEPENDS= ming.3:${PORTSDIR}/graphics/ming
USE_PYTHON= yes
MD5_FILE= ${.CURDIR}/../ming/distinfo
WRKSRC= ${WRKDIR}/${DISTNAME}/py_ext
MAKE_ARGS= PYTHON_VERSION="${PYTHON_VERSION}"
2001-09-18 08:33:40 +02:00
EXAMPLES= ../examples/python/*.py
2001-03-20 10:32:55 +01:00
do-extract:
${MKDIR} ${WRKDIR}
${LN} -s `cd ${PORTSDIR}/graphics/ming && ${MAKE} -V WRKDIR`/* ${WRKDIR}/
2000-10-25 06:32:36 +02:00
post-extract:
${LN} -sf ../ming.i ${WRKSRC}/
post-patch:
${PERL} -i -p \
-e 's:\.\./common:../../ming/common:g;' \
${WRKSRC}/../examples/python/*
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${PREFIX}/share/examples/${PYTHON_VERSION}/ming
.for f in ${EXAMPLES}
${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/examples/${PYTHON_VERSION}/ming/
.endfor
.endif
.include <bsd.port.mk>