openbsd-ports/audio/py-vorbis/Makefile
jasper baa887a2ca - using RUN_DEPENDS=${BUILD_DEPENDS} is verboten, or you'll end up
having a runtime dependency on groff, ccache and nonsense like that.
2011-10-05 17:30:57 +00:00

52 lines
1.0 KiB
Makefile

# $OpenBSD: Makefile,v 1.4 2011/10/05 17:30:57 jasper Exp $
SHARED_ONLY = Yes
COMMENT = Python wrapper for the Vorbis libraries
MODPY_EGG_VERSION=1.4
DISTNAME = pyvorbis-${MODPY_EGG_VERSION}
PKGNAME = ${DISTNAME:S/py/py-/}
REVISION = 2
CATEGORIES = audio
HOMEPAGE = http://ekyo.nerim.net/software/pyogg/
# LGPL
PERMIT_PACKAGE_CDROM = Yes
PERMIT_PACKAGE_FTP = Yes
PERMIT_DISTFILES_CDROM =Yes
PERMIT_DISTFILES_FTP = Yes
MASTER_SITES = ${HOMEPAGE}
WANTLIB = ogg vorbis vorbisenc vorbisfile
MODULES = lang/python
BUILD_DEPENDS = audio/py-ogg
LIB_DEPENDS = audio/libogg \
audio/libvorbis
RUN_DEPENDS = audio/py-ao \
audio/py-ogg
NO_REGRESS = Yes
MODPY_ADJ_FILES = test/comment.py \
test/enc.py \
test/enc2.py \
test/ogg123.py \
test/short.py
EXAMPLESDIR = ${PREFIX}/share/examples/py-vorbis
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>