openbsd-ports/audio/py-ao/Makefile
jasper 32a30e5331 -NOT_FOR_ARCHS= ${NO_SHARED_ARCHS}
+SHARED_ONLY=	Yes

ok ajacoutot@, simon@, mbalmer@ (for the postgresql bits)
2007-07-04 19:18:45 +00:00

36 lines
716 B
Makefile

# $OpenBSD: Makefile,v 1.6 2007/07/04 19:18:45 jasper Exp $
SHARED_ONLY= Yes
COMMENT= "Python wrapper module for the ao library"
DISTNAME= pyao-0.82
PKGNAME= ${DISTNAME:S/py/py-/}p1
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
MASTER_SITES= ${HOMEPAGE}
MODULES= lang/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>