2009-07-21 02:23:32 +02:00
|
|
|
# New ports collection makefile for: py-interface
|
|
|
|
# Date created: 20 July 2009
|
|
|
|
# Whom: Maxim Sobolev <sobomax@FreeBSD.org>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= interface
|
2011-10-04 23:09:25 +02:00
|
|
|
PORTVERSION= 1.1.1
|
2009-07-21 02:23:32 +02:00
|
|
|
CATEGORIES= devel python
|
|
|
|
MASTER_SITES= http://www.lysator.liu.se/~tab/erlang/py_interface/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= py_${PORTNAME}-${PORTVERSION}
|
|
|
|
|
|
|
|
MAINTAINER= sobomax@FreeBSD.org
|
|
|
|
COMMENT= A Python implementation of an Erlang node
|
|
|
|
|
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2009-07-21 02:35:26 +02:00
|
|
|
PYDISTUTILS_PKGNAME= py_${PORTNAME}
|
2009-07-21 02:23:32 +02:00
|
|
|
DOCSDIR= ${PREFIX}/share/doc/py_${PORTNAME}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py_${PORTNAME}
|
|
|
|
|
|
|
|
post-install:
|
|
|
|
@${TRUE}
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${DOCSDIR}
|
|
|
|
cd ${WRKSRC} && ${INSTALL_DATA} README ${DOCSDIR}
|
|
|
|
.endif
|
|
|
|
.if !defined(NOPORTEXAMPLES)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
cd ${WRKSRC}/examples && ${INSTALL_DATA} * ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|