2005-10-05 19:01:10 +02:00
|
|
|
# New ports collection makefile for: PyOpenAL
|
|
|
|
# Date created: 2005-10-05
|
|
|
|
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
|
|
|
#
|
|
|
|
# $FreeBSD$
|
|
|
|
#
|
|
|
|
|
|
|
|
PORTNAME= openal
|
2006-05-11 00:04:15 +02:00
|
|
|
PORTVERSION= 0.1.6
|
2010-01-25 20:15:18 +01:00
|
|
|
PORTREVISION= 3
|
2005-10-05 19:01:10 +02:00
|
|
|
CATEGORIES= audio python
|
|
|
|
MASTER_SITES= http://download.gna.org/pyopenal/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= PyOpenAL-${PORTVERSION}
|
|
|
|
|
2006-07-23 04:45:24 +02:00
|
|
|
MAINTAINER= acm@FreeBSD.org
|
2005-10-05 19:01:10 +02:00
|
|
|
COMMENT= PyOpenAL is a binding of OpenAL for Python
|
|
|
|
|
|
|
|
DIST_SUBDIR= python
|
2010-01-25 20:15:18 +01:00
|
|
|
USE_OPENAL= al alut
|
2005-10-05 19:01:10 +02:00
|
|
|
USE_PYTHON= yes
|
|
|
|
USE_PYDISTUTILS= yes
|
2007-07-30 11:42:28 +02:00
|
|
|
PYDISTUTILS_PKGNAME= PyOpenAL
|
2005-10-05 19:01:10 +02:00
|
|
|
WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION}
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-openal
|
|
|
|
|
2005-10-18 11:24:01 +02:00
|
|
|
post-patch:
|
2009-06-15 18:53:53 +02:00
|
|
|
@${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \
|
2005-10-18 11:24:01 +02:00
|
|
|
${WRKSRC}/setup.py
|
|
|
|
|
2005-10-05 19:01:10 +02:00
|
|
|
post-install:
|
|
|
|
.if !defined(NOPORTDOCS)
|
|
|
|
@${MKDIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|