diff -ur /usr/ports/audio/mutagen/Makefile py-mutagen/Makefile --- /usr/ports/audio/mutagen/Makefile Sun May 14 15:28:54 2006 +++ py-mutagen/Makefile Sun May 14 15:51:36 2006 @@ -1,4 +1,4 @@ -# New ports collection makefile for: mutagen +# New ports collection makefile for: py-mutagen # Date created: 15 May 2006 # Whom: Byung-Hee HWANG # @@ -8,16 +8,20 @@ PORTVERSION= 1.2 CATEGORIES= audio python MASTER_SITES= http://www.sacredchao.net/~piman/software/ +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} MAINTAINER= changbom.yoon@gmail.com COMMENT= A Python-based audio metadata tag reader and writer USE_PYTHON= yes +USE_PYDISTUTILS= yes -do-build: - @(cd ${WRKSRC} && ./setup.py build) +OPTIONSFILE?= ${PORT_DBDIR}/py-${PORTNAME}/options -do-install: - @(cd ${WRKSRC} && ./setup.py install) +OPTIONS= VORBIS "Support to tag Vorbis Files" on + +.if defined(WITHOUT_VORBIS) +RUN_DEPENDS= ${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis +.endif .include