openbsd-ports/audio/py-ao/Makefile

42 lines
797 B
Makefile
Raw Normal View History

2011-09-16 04:26:09 -04:00
# $OpenBSD: Makefile,v 1.16 2011/09/16 08:26:10 espie Exp $
SHARED_ONLY= Yes
COMMENT= Python wrapper module for the ao library
MODPY_EGG_VERSION=0.82
DISTNAME= pyao-${MODPY_EGG_VERSION}
2010-08-30 17:36:14 -04:00
PKGNAME= ${DISTNAME:S/py/py-/}
2011-09-16 04:26:09 -04:00
REVISION = 8
CATEGORIES= audio
HOMEPAGE= http://ekyo.nerim.net/software/pyogg/
# GPL
PERMIT_PACKAGE_CDROM= Yes
PERMIT_PACKAGE_FTP= Yes
PERMIT_DISTFILES_CDROM= Yes
PERMIT_DISTFILES_FTP= Yes
2010-10-18 18:43:10 -04:00
WANTLIB += ao
MASTER_SITES= ${HOMEPAGE}
2004-08-03 10:59:26 -04:00
MODULES= lang/python
LIB_DEPENDS= audio/libao
NO_REGRESS= Yes
MODPY_ADJ_FILES= test.py
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>