openbsd-ports/audio/py-ao/Makefile
espie 2314c85f45 convert to new style depends
zap default spec that are not needed
convert libspecs as well
convert p* to REVISION.

No package changes
2010-11-15 00:22:45 +00:00

40 lines
799 B
Makefile

# $OpenBSD: Makefile,v 1.13 2010/11/15 00:22:48 espie Exp $
SHARED_ONLY= Yes
COMMENT= Python wrapper module for the ao library
DISTNAME= pyao-0.82
PKGNAME= ${DISTNAME:S/py/py-/}
REVISION = 5
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
WANTLIB += ao
MASTER_SITES= ${HOMEPAGE}
MODULES= lang/python
LIB_DEPENDS= audio/libao
NO_REGRESS= Yes
EXAMPLESDIR= ${PREFIX}/share/examples/py-ao
do-configure:
@cd ${WRKSRC} && ${MODPY_BIN} ./config_unix.py --prefix ${PREFIX}
post-install:
@perl -pi -e 's,/usr/bin/python,${MODPY_BIN},g' ${WRKSRC}/test.py
${INSTALL_DATA_DIR} ${EXAMPLESDIR}
${INSTALL_DATA} ${WRKSRC}/test.py ${EXAMPLESDIR}
.include <bsd.port.mk>