aboutsummaryrefslogtreecommitdiffstats
path: root/audio/py-openal/Makefile
blob: 29d4c5a6c36499bf12c2c0a65ec2bafb81d11fe7 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# 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_GZIP=   yes
USE_PYTHON= yes
USE_PYDISTUTILS=    yes
WRKSRC=     ${WRKDIR}/PyOpenAL-${PORTVERSION}
EXAMPLESDIR=    ${PREFIX}/share/examples/py-openal

post-install:
.if !defined(NOPORTDOCS)
    @${MKDIR} ${EXAMPLESDIR}
    ${INSTALL_DATA} ${WRKSRC}/demo/* ${EXAMPLESDIR}
.endif

.include <bsd.port.mk>