diff options
author | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-03-02 17:33:38 +0000 |
---|---|---|
committer | Ruslan Makhmatkhanov <rm@FreeBSD.org> | 2014-03-02 17:33:38 +0000 |
commit | ccc3187ca4e63baee123c5ba6b421f38c763cfc8 (patch) | |
tree | fb5366a93f2481446b67c1a61c53aa7dd6b16e28 /audio | |
parent | 8fdeb949256fa65be34ce8948c2444f9e58feeac (diff) | |
download | ports-ccc3187ca4e63baee123c5ba6b421f38c763cfc8.tar.gz ports-ccc3187ca4e63baee123c5ba6b421f38c763cfc8.zip |
Notes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/py-eyed3/Makefile | 12 | ||||
-rw-r--r-- | audio/py-eyed3/pkg-plist | 6 |
2 files changed, 6 insertions, 12 deletions
diff --git a/audio/py-eyed3/Makefile b/audio/py-eyed3/Makefile index 384d58309af5..9922326fef32 100644 --- a/audio/py-eyed3/Makefile +++ b/audio/py-eyed3/Makefile @@ -3,6 +3,7 @@ PORTNAME= eyed3 PORTVERSION= 0.6.18 +PORTREVISION= 1 CATEGORIES= audio python MASTER_SITES= http://eyed3.nicfit.net/releases/ PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} @@ -16,18 +17,15 @@ LICENSE= GPLv2 BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}setuptools>0:${PORTSDIR}/devel/py-setuptools USE_PYTHON= 2 -NO_STAGE= yes -USE_PYTHON_PREFIX= yes USES= gmake GNU_CONFIGURE= yes CONFIGURE_ENV= PYTHON="${PYTHON_CMD}" MAKE_ENV= SETUP_ARGS_BUILD="${PYDISTUTILS_BUILDARGS}" \ SETUP_ARGS_INSTALL="${PYDISTUTILS_INSTALLARGS}" \ SETUP_COMMAND="${PYDISTUTILS_SETUP:S,",\",g}" -DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} -MAN1= eyeD3.1 -MANCOMPRESSED= yes +DOCSDIR= ${PREFIX}/share/doc/${PKGNAMEPREFIX}${PORTNAME} +PORTDOCS= AUTHORS COPYING.gz ChangeLog.gz README INSTALLS_EGGINFO= yes PYDISTUTILS_PKGNAME= eyeD3 @@ -42,9 +40,9 @@ post-patch: ${WRKSRC}/configure ${REINPLACE_CMD} -e 's,\(setup.py build\),$${SETUP_COMMAND} build $${SETUP_ARGS_BUILD},g' \ -e 's,\(setup.py install\),$${SETUP_COMMAND} install $${SETUP_ARGS_INSTALL} ,g' \ - -e 's,^docdir:=.*,docdir:=${DOCSDIR},g' \ + -e 's,^docdir:=.*,docdir:=${STAGEDIR}${DOCSDIR},g' \ ${WRKSRC}/Makefile.in -.if ${PORT_OPTIONS:MDOCS} +.if ! ${PORT_OPTIONS:MDOCS} ${REINPLACE_CMD} -e 's,.*docdir.*,#,g' \ ${WRKSRC}/Makefile.in .endif diff --git a/audio/py-eyed3/pkg-plist b/audio/py-eyed3/pkg-plist index 0e712fe310bd..ba2fcdec7820 100644 --- a/audio/py-eyed3/pkg-plist +++ b/audio/py-eyed3/pkg-plist @@ -17,9 +17,5 @@ bin/eyeD3 %%PYTHON_SITELIBDIR%%/eyeD3/utils.py %%PYTHON_SITELIBDIR%%/eyeD3/utils.pyc %%PYTHON_SITELIBDIR%%/eyeD3/utils.pyo +man/man1/eyeD3.1.gz @dirrm %%PYTHON_SITELIBDIR%%/eyeD3 -%%PORTDOCS%%%%DOCSDIR%%/AUTHORS -%%PORTDOCS%%%%DOCSDIR%%/COPYING.gz -%%PORTDOCS%%%%DOCSDIR%%/ChangeLog.gz -%%PORTDOCS%%%%DOCSDIR%%/README -%%PORTDOCS%%@dirrm %%DOCSDIR%% |