mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
4942ce5a7d
- Add significantly better support in bsd.python.mk for working with Python Eggs and the easy_install system Tested by: pointyhat runs Approved by: pav (portmgr) Most work by: perky Thanks to: pav
40 lines
928 B
Makefile
40 lines
928 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.6
|
|
PORTREVISION= 2
|
|
CATEGORIES= audio python
|
|
MASTER_SITES= http://download.gna.org/pyopenal/
|
|
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
|
DISTNAME= PyOpenAL-${PORTVERSION}
|
|
|
|
MAINTAINER= acm@FreeBSD.org
|
|
COMMENT= PyOpenAL is a binding of OpenAL for Python
|
|
|
|
LIB_DEPENDS= openal.0:${PORTSDIR}/audio/openal \
|
|
alut.1:${PORTSDIR}/audio/freealut
|
|
|
|
DIST_SUBDIR= python
|
|
USE_PYTHON= yes
|
|
USE_PYDISTUTILS= yes
|
|
PYDISTUTILS_PKGNAME= PyOpenAL
|
|
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>
|