1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-27 10:03:20 +00:00

- Update to 4.9

- Convert to new options framework
- Remove duplicate entry in PLIST

Changes:	http://imdbpy.sourceforge.net/#news
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2012-06-18 16:57:09 +00:00
parent 90cbf4c3e3
commit 8c335ff612
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=299573
3 changed files with 16 additions and 13 deletions

View File

@ -7,7 +7,7 @@
#
PORTNAME= imdbpy
PORTVERSION= 4.8.2
PORTVERSION= 4.9
CATEGORIES= www python
MASTER_SITES= SF/${PORTNAME}/IMDbPY/${PORTVERSION:S/.2//}
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
@ -21,6 +21,8 @@ RUN_DEPENDS= ${PYTHON_PKGNAMEPREFIX}lxml>=0:${PORTSDIR}/devel/py-lxml \
${PYTHON_PKGNAMEPREFIX}sqlalchemy06>=0:${PORTSDIR}/databases/py-sqlalchemy06 \
${PYTHON_PKGNAMEPREFIX}sqlobject>=0:${PORTSDIR}/databases/py-sqlobject
OPTIONS_DEFINE= DOCS EXAMPLES
USE_PYTHON= yes
USE_PYDISTUTILS= easy_install
PYDISTUTILS_NOEGGINFO= yes
@ -30,14 +32,16 @@ PYEASYINSTALL_ARCHDEP= yes
DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME}
EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME}
.include <bsd.port.options.mk>
post-install:
.if !defined(NOPORTDOCS)
@${MKDIR} ${DOCSDIR}
@(cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR})
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${DOCSDIR}/
cd ${WRKSRC}/docs/ && ${COPYTREE_SHARE} . ${DOCSDIR}/
.endif
.if !defined(NOPORTEXAMPLES)
@${MKDIR} ${EXAMPLESDIR}
@(cd ${WRKSRC}/bin/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR})
.if ${PORT_OPTIONS:MEXAMPLES}
${MKDIR} ${EXAMPLESDIR}/
cd ${WRKSRC}/bin/ && ${COPYTREE_SHARE} . ${EXAMPLESDIR}/
.endif
.include <bsd.port.mk>

View File

@ -1,2 +1,2 @@
SHA256 (IMDbPY-4.8.2.tar.gz) = 38973f80f794238fded6ca1794d4832c9c039d33664f0da27fc5adf595c2588f
SIZE (IMDbPY-4.8.2.tar.gz) = 300434
SHA256 (IMDbPY-4.9.tar.gz) = 01e90dce4fe19aeca99c9d3eb14052769467b177e3fb8acc240f9c51c5f477d2
SIZE (IMDbPY-4.9.tar.gz) = 307726

View File

@ -101,12 +101,12 @@ bin/search_person.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/_logging.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/_logging.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/_logging.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/articles.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/articles.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/articles.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/helpers.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/helpers.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/helpers.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/linguistics.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/linguistics.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/linguistics.pyo
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/locale/__init__.py
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/locale/__init__.pyc
%%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/locale/__init__.pyo
@ -259,7 +259,6 @@ bin/search_person.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/search_movie.py
%%PORTEXAMPLES%%%%EXAMPLESDIR%%/search_person.py
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTEXAMPLES%%@dirrm %%EXAMPLESDIR%%
%%PORTDOCS%%@dirrm %%DOCSDIR%%/goodies
%%PORTDOCS%%@dirrm %%DOCSDIR%%
@dirrm %%PYTHON_SITELIBDIR%%/%%PYEASYINSTALL_EGG%%/imdb/parser/sql