mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
391ca2a44e
PR: 139190 Submitted by: "Junji NAKANISHI" <jun-g@daemonfreaks.com> (maintainer)
39 lines
1013 B
Makefile
39 lines
1013 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.5.1
|
|
CATEGORIES= www devel python
|
|
MASTER_SITES= http://download.pyamf.org/releases/${PORTVERSION}/
|
|
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
|
|
PYEASYINSTALL_ARCHDEP= yes
|
|
|
|
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>
|