1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/audio/py-openal/Makefile
Renato Botelho 3f0bb45416 - Respect PREFIX/X11BASE
Submitted by:	maintainer
Reported by:	krismail
2005-10-18 09:24:01 +00:00

39 lines
882 B
Makefile

# New ports collection makefile for: PyOpenAL
# Date created: 2005-10-05
# Whom: Jose Alonso Cardenas Marquez <acardenas@bsd.org.pe>
#
# $FreeBSD$
#
PORTNAME= openal
PORTVERSION= 0.1.5
CATEGORIES= audio python
MASTER_SITES= http://download.gna.org/pyopenal/
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
DISTNAME= PyOpenAL-${PORTVERSION}
MAINTAINER= acardenas@bsd.org.pe
COMMENT= PyOpenAL is a binding of OpenAL for Python
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal
DIST_SUBDIR= python
USE_REINPLACE= yes
USE_GZIP= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
WRKSRC= ${WRKDIR}/PyOpenAL-${PORTVERSION}
EXAMPLESDIR= ${PREFIX}/share/examples/py-openal
post-patch:
@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|g' \
${WRKSRC}/setup.py
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
.endif
.include <bsd.port.mk>