freebsd-ports/www/py-amf/Makefile
Antoine Brodin f7455240e3 Reduce dependency on the python2 metaport
PR:		225752
Submitted by:	Yasuhiro KIMURA
2018-02-19 11:10:43 +00:00

27 lines
729 B
Makefile

# Created by: Junji NAKANISHI <jun-g@daemonfreaks.com>
# $FreeBSD$
PORTNAME= amf
PORTVERSION= 0.8.0
PORTREVISION= 1
CATEGORIES= www devel python
MASTER_SITES= CHEESESHOP
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyAMF-${PORTVERSION}
MAINTAINER= jun-g@daemonfreaks.com
COMMENT= AMF support for Python
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/LICENSE.txt
USES= python:2.7
USE_PYTHON= autoplist distutils
post-install:
${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/cpyamf/codec.so \
${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/cpyamf/amf0.so \
${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/cpyamf/util.so \
${STAGEDIR}${PREFIX}/lib/python2.7/site-packages/cpyamf/amf3.so
.include <bsd.port.mk>