2013-09-20 16:36:35 +02:00
|
|
|
# Created by: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
|
2005-10-05 19:01:10 +02:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= openal
|
2006-05-11 00:04:15 +02:00
|
|
|
PORTVERSION= 0.1.6
|
2014-12-08 17:48:38 +01:00
|
|
|
PORTREVISION= 5
|
2005-10-05 19:01:10 +02:00
|
|
|
CATEGORIES= audio python
|
|
|
|
MASTER_SITES= http://download.gna.org/pyopenal/
|
|
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
|
|
DISTNAME= PyOpenAL-${PORTVERSION}
|
2014-12-15 13:33:18 +01:00
|
|
|
DIST_SUBDIR= python
|
2005-10-05 19:01:10 +02:00
|
|
|
|
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
|
|
|
|
|
2014-12-15 13:33:18 +01:00
|
|
|
LICENSE= LGPL21 # or later
|
|
|
|
LICENSE_FILE= ${WRKSRC}/LICENSE
|
|
|
|
|
2014-07-15 19:37:38 +02:00
|
|
|
OPTIONS_DEFINE= DOCS EXAMPLES
|
2014-04-05 00:41:46 +02:00
|
|
|
|
2014-10-19 09:33:09 +02:00
|
|
|
USES= openal:al,alut python
|
|
|
|
USE_PYTHON= distutils autoplist
|
2005-10-05 19:01:10 +02:00
|
|
|
WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION}
|
2014-10-19 09:33:09 +02:00
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/${PYTHON_PKGNAMEPREFIX}openal
|
2014-04-05 00:41:46 +02:00
|
|
|
PORTEXAMPLES= *
|
2005-10-05 19:01:10 +02:00
|
|
|
|
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:
|
2014-04-05 00:41:46 +02:00
|
|
|
@${MKDIR} ${STAGEDIR}${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/demo/* ${STAGEDIR}${EXAMPLESDIR}
|
2014-12-15 13:33:18 +01:00
|
|
|
${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/_openal.so
|
2005-10-05 19:01:10 +02:00
|
|
|
|
|
|
|
.include <bsd.port.mk>
|