summaryrefslogtreecommitdiff
path: root/graphics/py-ming/Makefile
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-16 10:42:36 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-16 10:42:36 +0000
commit8c1d88671382d9f5b6df3dd52514da9acaf5d103 (patch)
treeafd21ab4683d0cafd663f7fa5d15c5c62e51ed23 /graphics/py-ming/Makefile
parentInstall the executables with version numbers, to allow SWIG-dependent (diff)
Add py-ming, Python module for the Ming library which allows you to
create Flash (TM) movies.
Notes
Notes: svn path=/head/; revision=33890
Diffstat (limited to 'graphics/py-ming/Makefile')
-rw-r--r--graphics/py-ming/Makefile37
1 files changed, 37 insertions, 0 deletions
diff --git a/graphics/py-ming/Makefile b/graphics/py-ming/Makefile
new file mode 100644
index 000000000000..c774aee1cdc5
--- /dev/null
+++ b/graphics/py-ming/Makefile
@@ -0,0 +1,37 @@
+# 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.0.2e
+CATEGORIES= graphics python
+MASTER_SITES= http://www.opaque.net/ming/
+PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
+EXTRACT_SUFX= .tgz
+
+MAINTAINER= knu@FreeBSD.org
+
+BUILD_DEPENDS= swig1.3:${PORTSDIR}/devel/SWIG-devel
+LIB_DEPENDS= ming.0:${PORTSDIR}/graphics/ming
+
+USE_PYTHON= yes
+
+MD5_FILE= ${PORTSDIR}/graphics/ming/distinfo
+
+WRKSRC= ${WRKDIR}/${DISTNAME}/py_ext
+MAKE_ARGS= PYTHON_VERSION="${PYTHON_VERSION}"
+
+EXAMPLES= shape.py test.py
+
+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>