openbsd-ports/audio/py-ao/Makefile
xsa 1c7b49c41f Import py-ao-0.82
pyao - a Python wrapper module for the ao library.

ok sturm@.
2004-02-03 22:07:40 +00:00

38 lines
781 B
Makefile

# $OpenBSD: Makefile,v 1.1.1.1 2004/02/03 22:07:40 xsa Exp $
NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
COMMENT= "Python wrapper module for the ao library"
DISTNAME= pyao-0.82
PKGNAME= ${DISTNAME:S/py/py-/}
CATEGORIES= audio
HOMEPAGE= http://www.andrewchatham.com/pyogg/
MAINTAINER= Xavier Santolaria <xsa@openbsd.org>
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
MASTER_SITES= ${HOMEPAGE}download/
MODULES= python
LIB_DEPENDS= ao.3::audio/libao
NO_REGRESS= Yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-ao
do-configure:
@cd ${WRKSRC} && ${MODPY_BIN} ./config_unix.py --prefix ${PREFIX}
post-install:
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test.py ${EXAMPLESDIR}
.include <bsd.port.mk>