1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-07 06:40:06 +00:00
freebsd-ports/www/py-amf/Makefile
Martin Wilke f896371ff3 PyAMF provides Action Message Format (AMF) support for Python that is
compatible with the Flash Player.

The Adobe Integrated Runtime and Flash Player use AMF to communicate between
an application and a remote server. AMF encodes remote procedure calls (RPC)
into a compact binary representation that can be transferred over HTTP/HTTPS
or the RTMP/RTMPS protocol. Objects and data values are serialized into this
binary format, which increases performance, allowing applications to load data
up to 10 times faster than with text-based formats such as XML or SOAP.

AMF3, the default serialization for ActionScript 3.0, provides various
advantages over AMF0, which is used for ActionScript 1.0 and 2.0. AMF3 sends
data over the network more efficiently than AMF0. AMF3 supports sending int
and uint objects as integers and supports data types that are available only
in ActionScript 3.0, such as ByteArray, ArrayCollection, and IExternalizable.

WWW: http://pyamf.org/

PR:		ports/125573
Submitted by:	Junji NAKANISHI <jun-g at daemonfreaks.com>
2008-07-19 20:06:40 +00:00

38 lines
971 B
Makefile

# New ports collection makefile for: py-amf
# Date created: 14 July 2008
# Whom: Junji NAKANISHI <jun-g@daemonfreaks.com>
#
# $FreeBSD$
PORTNAME= amf
PORTVERSION= 0.3.1
CATEGORIES= www devel python
MASTER_SITES= http://download.pyamf.org/releases/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= ${PYDISTUTILS_PKGNAME}-${PORTVERSION}
MAINTAINER= jun-g@daemonfreaks.com
COMMENT= AMF support for Python
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_PKGNAME= PyAMF
DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME}
post-install:
.if !defined(NOPORTDOCS)
${MKDIR} ${DOCSDIR}
${CP} -R ${WRKSRC}/doc/ ${DOCSDIR}
.endif
.include <bsd.port.pre.mk>
.if ${PYTHON_REL} < 250
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/elementtree/__init__.py:${PORTSDIR}/devel/py-elementtree
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/uuid.py:${PORTSDIR}/devel/py-uuid
RUN_DEPENDS+= ${PYTHON_SITELIBDIR}/fpconst.py:${PORTSDIR}/math/py-fpconst
.endif
.include <bsd.port.post.mk>