2011-10-12 08:54:30 -04:00
|
|
|
# $OpenBSD: Makefile,v 1.20 2011/10/12 12:54:30 jasper Exp $
|
2004-01-29 12:13:37 -05:00
|
|
|
|
2007-07-04 15:18:45 -04:00
|
|
|
SHARED_ONLY= Yes
|
2003-10-14 12:53:02 -04:00
|
|
|
|
2007-09-15 17:26:00 -04:00
|
|
|
COMMENT= Python wrapper for the Ogg libraries
|
2003-10-14 12:53:02 -04:00
|
|
|
|
2011-05-30 11:10:17 -04:00
|
|
|
MODPY_EGG_VERSION=1.3
|
|
|
|
DISTNAME= pyogg-${MODPY_EGG_VERSION}
|
2010-08-30 17:36:14 -04:00
|
|
|
PKGNAME= ${DISTNAME:S/py/py-/}
|
2011-10-12 08:54:30 -04:00
|
|
|
REVISION = 9
|
2003-10-14 12:53:02 -04:00
|
|
|
CATEGORIES= audio
|
2006-09-20 04:57:29 -04:00
|
|
|
HOMEPAGE= http://ekyo.nerim.net/software/pyogg/
|
2003-10-14 12:53:02 -04:00
|
|
|
|
|
|
|
# LGPL
|
|
|
|
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}
|
2003-10-14 12:53:02 -04:00
|
|
|
|
2004-08-03 10:59:26 -04:00
|
|
|
MODULES= lang/python
|
2003-10-14 12:53:02 -04:00
|
|
|
|
2011-10-12 08:54:30 -04:00
|
|
|
WANTLIB += ogg ${MODPY_WANTLIB}
|
2010-11-14 19:22:45 -05:00
|
|
|
LIB_DEPENDS= audio/libogg
|
2003-10-14 12:53:02 -04:00
|
|
|
|
2011-05-30 11:10:17 -04:00
|
|
|
MODPY_ADJ_FILES = test/oggtail.py
|
|
|
|
|
2003-10-14 12:53:02 -04:00
|
|
|
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>
|