2010-06-08 15:56:36 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.10 2010/06/08 19:56:36 pea Exp $
|
2004-02-03 17:07:40 -05:00
|
|
|
|
2007-07-04 15:18:45 -04:00
|
|
|
SHARED_ONLY= Yes
|
2004-02-03 17:07:40 -05:00
|
|
|
|
2007-09-15 17:26:00 -04:00
|
|
|
COMMENT= Python wrapper module for the ao library
|
2004-02-03 17:07:40 -05:00
|
|
|
|
|
|
|
DISTNAME= pyao-0.82
|
2010-06-08 15:56:36 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/py/py-/}p4
|
2004-02-03 17:07:40 -05:00
|
|
|
CATEGORIES= audio
|
2006-09-20 04:57:29 -04:00
|
|
|
HOMEPAGE= http://ekyo.nerim.net/software/pyogg/
|
2004-02-03 17:07:40 -05:00
|
|
|
|
|
|
|
# GPL
|
|
|
|
PERMIT_PACKAGE_CDROM= Yes
|
|
|
|
PERMIT_PACKAGE_FTP= Yes
|
|
|
|
PERMIT_DISTFILES_CDROM= Yes
|
|
|
|
PERMIT_DISTFILES_FTP= Yes
|
|
|
|
|
2006-09-20 04:57:29 -04:00
|
|
|
MASTER_SITES= ${HOMEPAGE}
|
2004-02-03 17:07:40 -05:00
|
|
|
|
2004-08-03 10:59:26 -04:00
|
|
|
MODULES= lang/python
|
2004-02-03 17:07:40 -05:00
|
|
|
|
2006-08-01 08:13:28 -04:00
|
|
|
LIB_DEPENDS= ao.>=3::audio/libao
|
2004-02-03 17:07:40 -05:00
|
|
|
|
|
|
|
NO_REGRESS= Yes
|
|
|
|
|
|
|
|
EXAMPLESDIR= ${PREFIX}/share/examples/py-ao
|
|
|
|
|
|
|
|
do-configure:
|
|
|
|
@cd ${WRKSRC} && ${MODPY_BIN} ./config_unix.py --prefix ${PREFIX}
|
|
|
|
|
|
|
|
post-install:
|
2010-06-08 15:56:36 -04:00
|
|
|
@perl -pi -e 's,/usr/bin/python,${MODPY_BIN},g' ${WRKSRC}/test.py
|
2004-02-03 17:07:40 -05:00
|
|
|
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
|
|
|
|
${INSTALL_DATA} ${WRKSRC}/test.py ${EXAMPLESDIR}
|
|
|
|
|
|
|
|
.include <bsd.port.mk>
|