aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-18 16:57:09 +0000
committerSunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>2012-06-18 16:57:09 +0000
commit8c335ff61220240862b0fb88b5ec8d89fcc7283b (patch)
treea7d6032376e9087e6a6fbbc6bf3fba0cf088437b
parent90cbf4c3e3a036b19b0693f1799cf179a7ff6786 (diff)
downloadports-8c335ff61220240862b0fb88b5ec8d89fcc7283b.tar.gz
ports-8c335ff61220240862b0fb88b5ec8d89fcc7283b.zip
Notes
-rw-r--r--www/py-imdbpy/Makefile18
-rw-r--r--www/py-imdbpy/distinfo4
-rw-r--r--www/py-imdbpy/pkg-plist7
3 files changed, 16 insertions, 13 deletions
diff --git a/www/py-imdbpy/Makefile b/www/py-imdbpy/Makefile
index 8efb01793abb..4442a9391cf6 100644
--- a/www/py-imdbpy/Makefile
+++ b/www/py-imdbpy/Makefile
@@ -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>
diff --git a/www/py-imdbpy/distinfo b/www/py-imdbpy/distinfo
index 115d3baf9c55..03150660b092 100644
--- a/www/py-imdbpy/distinfo
+++ b/www/py-imdbpy/distinfo
@@ -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
diff --git a/www/py-imdbpy/pkg-plist b/www/py-imdbpy/pkg-plist
index a45d671e2489..babe8efac1e9 100644
--- a/www/py-imdbpy/pkg-plist
+++ b/www/py-imdbpy/pkg-plist
@@ -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