1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

- Enable stage support

- Convert to PYDISTUTILS_AUTOPLIST
- Limit to the supported python versions
- Change to new LIB_DEPENDS where necessary
This commit is contained in:
Marcus von Appen 2013-09-27 22:36:11 +00:00
parent 7f30d6ac9e
commit 4bef5c9aab
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=328530
12 changed files with 23 additions and 59 deletions

View File

@ -15,15 +15,13 @@ COMMENT= Python wrapper for audio device abstraction library (libao)
LICENSE= GPLv2
LIB_DEPENDS= ao:${PORTSDIR}/audio/libao
LIB_DEPENDS= libao.so:${PORTSDIR}/audio/libao
USE_PYTHON= yes
NO_STAGE= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pyao
PLIST_FILES= %%PYTHON_SITELIBDIR%%/aomodule.so
do-configure:
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
--prefix "${LOCALBASE}"

View File

@ -11,10 +11,10 @@ DISTNAME= CDDB-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Python module to fetch information on audio CDs from CDDB
USE_PYTHON= yes
NO_STAGE= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= CDDB
.include <bsd.port.mk>

View File

@ -1,7 +0,0 @@
%%PYTHON_SITELIBDIR%%/CDDB.py
%%PYTHON_SITELIBDIR%%/CDDB.pyc
%%PYTHON_SITELIBDIR%%/CDDB.pyo
%%PYTHON_SITELIBDIR%%/DiscID.py
%%PYTHON_SITELIBDIR%%/DiscID.pyc
%%PYTHON_SITELIBDIR%%/DiscID.pyo
%%PYTHON_SITELIBDIR%%/cdrom.so

View File

@ -12,10 +12,10 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Python module for retrieving and setting ID3 tags on MP3 files
WRKSRC= ${WRKDIR}/id3-py-${PORTVERSION}
USE_PYTHON= yes
NO_STAGE= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= ID3
.include <bsd.port.mk>

View File

@ -1,3 +0,0 @@
%%PYTHON_SITELIBDIR%%/ID3.py
%%PYTHON_SITELIBDIR%%/ID3.pyc
%%PYTHON_SITELIBDIR%%/ID3.pyo

View File

@ -14,16 +14,14 @@ COMMENT= Python module that provides the MPEG Audio Decoder interface
LICENSE= LGPL20
LIB_DEPENDS= mad:${PORTSDIR}/audio/mad
LIB_DEPENDS= libmad.so:${PORTSDIR}/audio/mad
USE_PYTHON= yes
NO_STAGE= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
USE_PYTHON_PREFIX= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pymad
PLIST_FILES= %%PYTHON_SITELIBDIR%%/madmodule.so
do-configure:
@cd ${WRKSRC} && ${MAKE_ENV} ${PYTHON_CMD} config_unix.py \
--prefix ${LOCALBASE}

View File

@ -12,10 +12,11 @@ DISTNAME= pyogg-${PORTVERSION}
MAINTAINER= ports@FreeBSD.org
COMMENT= Object-oriented Python bindings for the ogg library
LIB_DEPENDS= ogg:${PORTSDIR}/audio/libogg
LIB_DEPENDS= libogg.so:${PORTSDIR}/audio/libogg
USE_PYTHON= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pyogg
do-configure:

View File

@ -1,7 +0,0 @@
%%PYTHON_INCLUDEDIR%%/pyogg/pyogg.h
%%PYTHON_SITELIBDIR%%/ogg/__init__.py
%%PYTHON_SITELIBDIR%%/ogg/__init__.pyc
%%PYTHON_SITELIBDIR%%/ogg/__init__.pyo
%%PYTHON_SITELIBDIR%%/ogg/_ogg.so
@dirrm %%PYTHON_SITELIBDIR%%/ogg
@dirrm %%PYTHON_INCLUDEDIR%%/pyogg

View File

@ -14,12 +14,11 @@ COMMENT= Object-oriented Python bindings for the vorbis library
BUILD_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/_ogg.so:${PORTSDIR}/audio/py-ogg
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
LIB_DEPENDS= libvorbis.so:${PORTSDIR}/audio/libvorbis
PLIST_FILES= %%PYTHON_SITELIBDIR%%/ogg/vorbis.so
USE_PYTHON= yes
NO_STAGE= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pyvorbis
post-patch:

View File

@ -13,11 +13,11 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= XMMS Remote Control Library for Python
BUILD_DEPENDS= ${XMMS_CONFIG}:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS= xmms.4:${PORTSDIR}/multimedia/xmms
LIB_DEPENDS= libxmms.so:${PORTSDIR}/multimedia/xmms
USE_PYTHON= yes
NO_STAGE= yes
USE_PYTHON= -2.7
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
PYDISTUTILS_PKGNAME= pyxmms
USE_BZIP2= yes
USE_GNOME= glib12

View File

@ -1,15 +0,0 @@
%%PYTHON_SITELIBDIR%%/xmms/__init__.py
%%PYTHON_SITELIBDIR%%/xmms/__init__.pyc
%%PYTHON_SITELIBDIR%%/xmms/__init__.pyo
%%PYTHON_SITELIBDIR%%/xmms/_xmmsconfig.so
%%PYTHON_SITELIBDIR%%/xmms/_xmmscontrol.so
%%PYTHON_SITELIBDIR%%/xmms/common.py
%%PYTHON_SITELIBDIR%%/xmms/common.pyc
%%PYTHON_SITELIBDIR%%/xmms/common.pyo
%%PYTHON_SITELIBDIR%%/xmms/config.py
%%PYTHON_SITELIBDIR%%/xmms/config.pyc
%%PYTHON_SITELIBDIR%%/xmms/config.pyo
%%PYTHON_SITELIBDIR%%/xmms/control.py
%%PYTHON_SITELIBDIR%%/xmms/control.pyc
%%PYTHON_SITELIBDIR%%/xmms/control.pyo
@dirrm %%PYTHON_SITELIBDIR%%/xmms

View File

@ -11,16 +11,16 @@ MASTER_SITES= http://www.pysol.org/download/pysol/ \
MAINTAINER= ports@FreeBSD.org
COMMENT= Python extension module to play sounds and background music
LIB_DEPENDS= smpeg.1:${PORTSDIR}/multimedia/smpeg
LIB_DEPENDS= libsmpeg.so:${PORTSDIR}/multimedia/smpeg
PLIST_FILES= %%PYTHON_SITELIBDIR%%/pysolsoundserver.so
WRKSRC= ${WRKDIR}/${DISTNAME}/src
USE_SDL= mixer sdl
NO_STAGE= yes
USE_BZIP2= yes
USE_PYTHON= yes
USE_PYTHON= -2.7
HAS_CONFIGURE= yes
USE_PYDISTUTILS= yes
PYDISTUTILS_AUTOPLIST= yes
INSTALLS_EGGINFO= yes
PYDISTUTILS_PKGNAME= pysolsoundserver