diff options
author | ijliao <ijliao@FreeBSD.org> | 2004-07-08 02:22:07 +0000 |
---|---|---|
committer | ijliao <ijliao@FreeBSD.org> | 2004-07-08 02:22:07 +0000 |
commit | aa10e70cb4c4c0af9e4116f5343d24d58ac01b44 (patch) | |
tree | 32951d333a1633a6dfc054ae2a966a8a81354203 /www/py-imdbpy | |
parent | e9343699131f07d2b6dd6b4d5daf43f921013c54 (diff) | |
download | FreeBSD-ports-aa10e70cb4c4c0af9e4116f5343d24d58ac01b44.zip FreeBSD-ports-aa10e70cb4c4c0af9e4116f5343d24d58ac01b44.tar.gz |
add py-imdbpy 1.3
Retrieve and manage the data of the IMDb movie database
Diffstat (limited to 'www/py-imdbpy')
-rw-r--r-- | www/py-imdbpy/Makefile | 45 | ||||
-rw-r--r-- | www/py-imdbpy/distinfo | 2 | ||||
-rw-r--r-- | www/py-imdbpy/pkg-descr | 11 |
3 files changed, 58 insertions, 0 deletions
diff --git a/www/py-imdbpy/Makefile b/www/py-imdbpy/Makefile new file mode 100644 index 0000000..f7c8641 --- /dev/null +++ b/www/py-imdbpy/Makefile @@ -0,0 +1,45 @@ +# ex:ts=8 +# Ports collection makefile for: py-IMDbPY +# Date created: Jul 8, 2004 +# Whom: ijliao +# +# $FreeBSD$ +# + +PORTNAME= imdbpy +PORTVERSION= 1.3 +CATEGORIES= www python +MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} +MASTER_SITE_SUBDIR= ${PORTNAME} +PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX} + +MAINTAINER= ports@FreeBSD.org +COMMENT= Retrieve and manage the data of the IMDb movie database + +USE_PYTHON= yes +USE_PYDISTUTILS= yes +WRKSRC= ${WRKDIR}/IMDbPY-${PORTVERSION} + +.if !defined(NOPORTDOCS) +DOCSDIR= ${PREFIX}/share/doc/py-${PORTNAME} +EXAMPLESDIR= ${PREFIX}/share/examples/py-${PORTNAME} +PORTDOCS= * +.endif + +post-install: + @${FIND} ${PYTHON_SITELIBDIR}/imdb ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${PYTHON_SITELIBDIR}/imdb -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +.if !defined(NOPORTDOCS) + @${MKDIR} ${DOCSDIR} + ${CP} -R ${WRKSRC}/docs/ ${DOCSDIR} + @${MKDIR} ${EXAMPLESDIR} + ${CP} -R ${WRKSRC}/bin/ ${EXAMPLESDIR} + @${FIND} ${EXAMPLESDIR} ! -type d | \ + ${SED} 's,^${PREFIX}/,,' >> ${TMPPLIST} + @${FIND} ${EXAMPLESDIR} -type d | ${SORT} -r | \ + ${SED} 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} +.endif + +.include <bsd.port.mk> diff --git a/www/py-imdbpy/distinfo b/www/py-imdbpy/distinfo new file mode 100644 index 0000000..c71c591 --- /dev/null +++ b/www/py-imdbpy/distinfo @@ -0,0 +1,2 @@ +MD5 (imdbpy-1.3.tar.gz) = ec2e0562bbb482596b62a4124f0dda11 +SIZE (imdbpy-1.3.tar.gz) = 45164 diff --git a/www/py-imdbpy/pkg-descr b/www/py-imdbpy/pkg-descr new file mode 100644 index 0000000..925d3dd --- /dev/null +++ b/www/py-imdbpy/pkg-descr @@ -0,0 +1,11 @@ +IMDbPY is a Python package useful to retrieve and manage the data of the IMDb +movie database. + +IMDbPY aims to provide an easy way to access the IMDb's database using a Python +script. Platform-independent and written in pure Python, it's theoretically +independent from the data source (since IMDb provides two or three different +interfaces to their database). IMDbPY is mainly intended for programmers and +developers who want to build their Python programs using the IMDbPY package, but +some example scripts - useful for simple users - are included. + +WWW: http://imdbpy.sourceforge.net/ |