32 lines
673 B
Makefile
32 lines
673 B
Makefile
# $OpenBSD: Makefile,v 1.12 2009/03/10 22:21:49 espie Exp $
|
|
|
|
SHARED_ONLY= Yes
|
|
|
|
COMMENT= Python wrapper for the Ogg libraries
|
|
|
|
DISTNAME= pyogg-1.3
|
|
PKGNAME= ${DISTNAME:S/py/py-/}p3
|
|
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}
|
|
|
|
MODULES= lang/python
|
|
|
|
LIB_DEPENDS= ogg.>=5.2::audio/libogg
|
|
|
|
do-configure:
|
|
@cd ${WRKSRC} && ${MODPY_BIN} ./config_unix.py --prefix ${PREFIX}
|
|
|
|
do-regress: fake
|
|
@cd ${WRKSRC}/test && ${MAKE_ENV} \
|
|
PYTHONPATH=${WRKINST}${MODPY_SITEPKG} ${MODPY_BIN} ./testogg.py
|
|
|
|
.include <bsd.port.mk>
|