diff options
author | will <will@FreeBSD.org> | 2000-09-16 19:40:59 +0000 |
---|---|---|
committer | will <will@FreeBSD.org> | 2000-09-16 19:40:59 +0000 |
commit | b767f8abbfb2aa9c8433c3414ec3e8d5782531c1 (patch) | |
tree | 5274e217953c5d898bb0e435e44ca68d31cc513e /misc/moviedb | |
parent | 918d0fe86663cc4fe6d3fa4845b01ed6e7199449 (diff) | |
download | FreeBSD-ports-b767f8abbfb2aa9c8433c3414ec3e8d5782531c1.zip FreeBSD-ports-b767f8abbfb2aa9c8433c3414ec3e8d5782531c1.tar.gz |
Add moviedb 3.8, the Internet Movie Database package. It contains various
tools to download, update, and search through the Database.
PR: 20659
Submitted by: Kim Scarborough <sluggo@unknown.nu>
Diffstat (limited to 'misc/moviedb')
-rw-r--r-- | misc/moviedb/Makefile | 79 | ||||
-rw-r--r-- | misc/moviedb/distinfo | 49 | ||||
-rw-r--r-- | misc/moviedb/files/patch-aa | 76 | ||||
-rw-r--r-- | misc/moviedb/files/patch-ab | 22 | ||||
-rw-r--r-- | misc/moviedb/files/patch-ac | 28 | ||||
-rw-r--r-- | misc/moviedb/files/patch-ad | 10 | ||||
-rw-r--r-- | misc/moviedb/pkg-comment | 1 | ||||
-rw-r--r-- | misc/moviedb/pkg-descr | 10 | ||||
-rw-r--r-- | misc/moviedb/pkg-plist | 129 |
9 files changed, 404 insertions, 0 deletions
diff --git a/misc/moviedb/Makefile b/misc/moviedb/Makefile new file mode 100644 index 0000000..5bcc53d --- /dev/null +++ b/misc/moviedb/Makefile @@ -0,0 +1,79 @@ +# New ports collection makefile for: moviedb +# Date created: 13 August 2000 +# Whom: Kim Scarborough <user@unknown.nu> +# +# $FreeBSD$ +# + +PORTNAME= moviedb +PORTVERSION= 3.8 +CATEGORIES= misc +MASTER_SITES= ftp://ftp.imdb.com/pub/interfaces/ \ + ftp://ftp.fu-berlin.de/pub/misc/movies/database/ \ + ftp://ftp.funet.fi/pub/mirrors/ftp.imdb.com/pub/interfaces/ \ + ftp://ftp.sunet.se/pub/tv+movies/imdb/ +DISTFILES= tools/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} ${IGNOREFILES} +DIST_SUBDIR= moviedb +EXTRACT_ONLY= tools/${PORTNAME}-${PORTVERSION}${EXTRACT_SUFX} + +MAINTAINER= user@unknown.nu + +IGNOREFILES= actors.list.gz actresses.list.gz aka-names.list.gz \ + aka-titles.list.gz alternate-versions.list.gz biographies.list.gz \ + business.list.gz certificates.list.gz cinematographers.list.gz \ + color-info.list.gz complete-cast.list.gz complete-crew.list.gz \ + composers.list.gz costume-designers.list.gz countries.list.gz \ + crazy-credits.list.gz directors.list.gz distributors.list.gz editors.list.gz \ + genres.list.gz german-aka-titles.list.gz goofs.list.gz iso-aka-titles.list.gz \ + italian-aka-titles.list.gz keywords.list.gz language.list.gz \ + laserdisc.list.gz literature.list.gz locations.list.gz miscellaneous.list.gz \ + movie-links.list.gz movies.list.gz mpaa-ratings-reasons.list.gz plot.list.gz \ + producers.list.gz production-companies.list.gz production-designers.list.gz \ + quotes.list.gz ratings.list.gz release-dates.list.gz running-times.list.gz \ + sound-mix.list.gz soundtracks.list.gz special-effects-companies.list.gz \ + taglines.list.gz technical.list.gz trivia.list.gz writers.list.gz + +ALL_TARGET= compile +INSTALL_TARGET= installbin databases compress installman +MAN1= alist.1 lformat.1 lguide.1 lindex.1 list.1 listall.1 lseen.1 \ + ltrace.1 mkballot.1 title.1 + +NO_CDROM= Cannot sell in any form +NO_PACKAGE= Libraries cannot be distributed, and change every day anyway +RESTRICTED= No commercial use + +pre-fetch: + @${ECHO} + @${ECHO} "PLEASE NOTE! This is a large port; it requires between 300" + @${ECHO} "and 400MB free to install. Kill it now if you don't have" + @${ECHO} "the space." + @${ECHO} + +post-patch: + cd $(DISTDIR)/$(DIST_SUBDIR);cp -v $(IGNOREFILES) $(WRKSRC)/lists/ + +pre-install: + [ -d ${PREFIX}/lib/moviedb/ ] \ + || ${MKDIR} ${PREFIX}/lib/moviedb + ${INSTALL_DATA} ${WRKSRC}/dbs/Makefile ${PREFIX}/lib/moviedb/ + [ -d ${PREFIX}/libexec/moviedb/ ] \ + || ${MKDIR} ${PREFIX}/libexec/moviedb + ${INSTALL_DATA} ${WRKSRC}/etc/Makefile ${PREFIX}/libexec/moviedb/ +.for SCRIPT in lfetch make-base recompress + ${INSTALL_SCRIPT} ${WRKSRC}/etc/${SCRIPT} ${PREFIX}/libexec/moviedb +.endfor + +post-install: +.for STRIP in alist lformat lguide lindex list listall lseen ltrace mkballot \ +template templist title + strip ${PREFIX}/bin/${STRIP} +.endfor + strip ${PREFIX}/libexec/moviedb/mkdb +.if !defined(NOPORTDOCS) + ${MKDIR} ${PREFIX}/share/doc/moviedb +.for DOC in ADDS-GUIDE ChangeLog FAQ FUTURES INSTRUCTIONS manual.tex + ${INSTALL_DATA} ${WRKSRC}/docs/${DOC} ${PREFIX}/share/doc/moviedb +.endfor +.endif + +.include <bsd.port.mk> diff --git a/misc/moviedb/distinfo b/misc/moviedb/distinfo new file mode 100644 index 0000000..4ffe9c7 --- /dev/null +++ b/misc/moviedb/distinfo @@ -0,0 +1,49 @@ +MD5 (moviedb/tools/moviedb-3.8.tar.gz) = 7667dfdcebf354ea47b522e53b5a5029 +MD5 (moviedb/actors.list.gz) = IGNORE +MD5 (moviedb/actresses.list.gz) = IGNORE +MD5 (moviedb/aka-names.list.gz) = IGNORE +MD5 (moviedb/aka-titles.list.gz) = IGNORE +MD5 (moviedb/alternate-versions.list.gz) = IGNORE +MD5 (moviedb/biographies.list.gz) = IGNORE +MD5 (moviedb/business.list.gz) = IGNORE +MD5 (moviedb/certificates.list.gz) = IGNORE +MD5 (moviedb/cinematographers.list.gz) = IGNORE +MD5 (moviedb/color-info.list.gz) = IGNORE +MD5 (moviedb/complete-cast.list.gz) = IGNORE +MD5 (moviedb/complete-crew.list.gz) = IGNORE +MD5 (moviedb/composers.list.gz) = IGNORE +MD5 (moviedb/costume-designers.list.gz) = IGNORE +MD5 (moviedb/countries.list.gz) = IGNORE +MD5 (moviedb/crazy-credits.list.gz) = IGNORE +MD5 (moviedb/directors.list.gz) = IGNORE +MD5 (moviedb/distributors.list.gz) = IGNORE +MD5 (moviedb/editors.list.gz) = IGNORE +MD5 (moviedb/genres.list.gz) = IGNORE +MD5 (moviedb/german-aka-titles.list.gz) = IGNORE +MD5 (moviedb/goofs.list.gz) = IGNORE +MD5 (moviedb/iso-aka-titles.list.gz) = IGNORE +MD5 (moviedb/italian-aka-titles.list.gz) = IGNORE +MD5 (moviedb/keywords.list.gz) = IGNORE +MD5 (moviedb/language.list.gz) = IGNORE +MD5 (moviedb/laserdisc.list.gz) = IGNORE +MD5 (moviedb/literature.list.gz) = IGNORE +MD5 (moviedb/locations.list.gz) = IGNORE +MD5 (moviedb/miscellaneous.list.gz) = IGNORE +MD5 (moviedb/movie-links.list.gz) = IGNORE +MD5 (moviedb/movies.list.gz) = IGNORE +MD5 (moviedb/mpaa-ratings-reasons.list.gz) = IGNORE +MD5 (moviedb/plot.list.gz) = IGNORE +MD5 (moviedb/producers.list.gz) = IGNORE +MD5 (moviedb/production-companies.list.gz) = IGNORE +MD5 (moviedb/production-designers.list.gz) = IGNORE +MD5 (moviedb/quotes.list.gz) = IGNORE +MD5 (moviedb/ratings.list.gz) = IGNORE +MD5 (moviedb/release-dates.list.gz) = IGNORE +MD5 (moviedb/running-times.list.gz) = IGNORE +MD5 (moviedb/sound-mix.list.gz) = IGNORE +MD5 (moviedb/soundtracks.list.gz) = IGNORE +MD5 (moviedb/special-effects-companies.list.gz) = IGNORE +MD5 (moviedb/taglines.list.gz) = IGNORE +MD5 (moviedb/technical.list.gz) = IGNORE +MD5 (moviedb/trivia.list.gz) = IGNORE +MD5 (moviedb/writers.list.gz) = IGNORE diff --git a/misc/moviedb/files/patch-aa b/misc/moviedb/files/patch-aa new file mode 100644 index 0000000..a0805fd --- /dev/null +++ b/misc/moviedb/files/patch-aa @@ -0,0 +1,76 @@ +--- Makefile.orig Tue Oct 22 00:36:06 1996 ++++ Makefile Tue Aug 15 08:54:20 2000 +@@ -118,13 +118,13 @@ + + ZLISTCOMPRESS = gzip + ZLISTEXT = .gz +-ZLISTCAT = /usr/bin/gzip +-ZLISTCATOPTS = -cd ++ZLISTCAT = /usr/bin/zcat ++ZLISTCATOPTS = + + ZDBSCOMPRESS = gzip + ZDBSEXT = .gz +-ZDBSCAT = /usr/bin/gzip +-ZDBSCATOPTS = -cd ++ZDBSCAT = /usr/bin/zcat ++ZDBSCATOPTS = + + + # Set KEEPLIST to @true if you want to keep the lists. +@@ -138,8 +138,7 @@ + # Set AUTOUNCOMPRESS to nothing if you want to keep the source lists as + # compressed files (that is, as they come from the server). Setting it + # to nothing will reduce the extra space required during the install. +-#AUTOUNCOMPRESS = +-AUTOUNCOMPRESS = autouncompress ++AUTOUNCOMPRESS = + + # Options for mkdb (for instance -m, -debug or -nochar) + # set to -nochar to ignore character names when processing the cast lists +@@ -153,11 +152,11 @@ + + # Where will the databases be? + #DBDIR = ../dbs/ +-DBDIR = `pwd`/dbs/ ++DBDIR = $(PREFIX)/lib/moviedb/ + + # Secondary files + #ETCDIR = ../etc/ +-ETCDIR = `pwd`/etc/ ++ETCDIR = $(PREFIX)/libexec/moviedb/ + + # Source files + #SRCDIR = ../src/ +@@ -165,11 +164,11 @@ + + # Executable files + #BINDIR = ../bin/ +-BINDIR = `pwd`/bin/ ++BINDIR = $(PREFIX)/bin/ + + # Top-level manpages directory (man1 should be a subdirectory of this) + #MANDIR = /usr/man/ +-MANDIR = `pwd`/man/ ++MANDIR = $(PREFIX)/man/ + + # Main directory + #MAINDIR = ./ +@@ -235,7 +234,7 @@ + # If the sanity check insists on telling you that ZLISTCAT, ZLISTCOMPRESS + # and so on are invalid, and you are definitively sure they are ok, + # set ZSANITYCHECK to the empty string. +-ZSANITYCHECK = sanity-check-z ++ZSANITYCHECK = + + # If you are using compressed database files, you have the tempnam() call + # and you want control over the directory where the files are uncompressed, +@@ -286,7 +285,7 @@ + do-installman + + do-installman: +- cd $(MANDIR); $(MAKE) MANDIR="$(MANDIR)" DBDIR="$(DBDIR)" \ ++ cd `pwd`/man; $(MAKE) MANDIR="$(MANDIR)" DBDIR="$(DBDIR)" \ + MAINDIR="$(MAINDIR)" \ + RELEASEDATE="$(RELEASEDATE)" VERSIONNUMBER="$(VERSIONNUMBER)"\ + installman diff --git a/misc/moviedb/files/patch-ab b/misc/moviedb/files/patch-ab new file mode 100644 index 0000000..9a79d19 --- /dev/null +++ b/misc/moviedb/files/patch-ab @@ -0,0 +1,22 @@ +--- etc/lfetch.orig Sun Mar 7 20:23:33 1999 ++++ etc/lfetch Sun Aug 13 19:33:32 2000 +@@ -80,8 +80,8 @@ + # + ftpcmd=ftp # ftp command (eg ftp, gate-ftp) + ftpopts="-i -n -v" # ftp options +-ftphost=uiarchive.cso.uiuc.edu # ftp host +-ftpdir=pub/info/imdb # lists directory on host ++ftphost=ftp.imdb.com # ftp host ++ftpdir=pub/interfaces # lists directory on host + ftpuser=anonymous # ftp userid + # + #----------------------------------------------------------------------------- +@@ -91,7 +91,7 @@ + # temporary files + if [ -z "$MOVIESTMPDIR" ]; then + if [ -z "$TMPDIR" ]; then +- MOVIESTMPDIR="." ++ MOVIESTMPDIR="/tmp" + else + MOVIESTMPDIR="$TMPDIR" + fi diff --git a/misc/moviedb/files/patch-ac b/misc/moviedb/files/patch-ac new file mode 100644 index 0000000..2344040 --- /dev/null +++ b/misc/moviedb/files/patch-ac @@ -0,0 +1,28 @@ +--- src/moviedb.h.orig Mon Mar 8 14:01:42 1999 ++++ src/moviedb.h Mon Aug 14 22:57:35 2000 +@@ -28,8 +28,8 @@ + #define FSEP '|' + #define MAXZCATARGS 10 + #define MAXLSEEN 65534 +-#define MAXTITLES 300000 +-#define MAXATTRS 100000 ++#define MAXTITLES 600000 ++#define MAXATTRS 200000 + #define MAXFILMOGRAPHIES 1023 + #define MAXWITHATTRS 4095 + #define MAXTITLERESULTS 4095 +@@ -46,11 +46,11 @@ + #define MAXBUSENTRIES 20000 + #define MAXBIOENTRIES 150000 + #define MAXMRRENTRIES 40000 +-#define MAXAKAENTRIES 100000 +-#define MAXNAKAENTRIES 50000 ++#define MAXAKAENTRIES 200000 ++#define MAXNAKAENTRIES 100000 + #define MAXTITLEINFO 300000 + #define MAXPOS 255 +-#define MAXLINKS 200000 ++#define MAXLINKS 400000 + #define MAXLINKSPERMOVIE 250 + + #ifndef DBDIR diff --git a/misc/moviedb/files/patch-ad b/misc/moviedb/files/patch-ad new file mode 100644 index 0000000..8be0c47 --- /dev/null +++ b/misc/moviedb/files/patch-ad @@ -0,0 +1,10 @@ +--- dbs/Makefile.orig Mon Mar 8 14:26:31 1999 ++++ dbs/Makefile Tue Aug 15 01:25:10 2000 +@@ -328,6 +328,7 @@ + -[ -s genres.data ] && $(ZDBSCOMPRESS) genres.data + -[ -s keywords.data ] && $(ZDBSCOMPRESS) keywords.data + -[ -s goofs.data ] && $(ZDBSCOMPRESS) goofs.data ++ -[ -s language.data ] && $(ZDBSCOMPRESS) language.data + -[ -s laserdisc.data ] && $(ZDBSCOMPRESS) laserdisc.data + -[ -s literature.data ] && $(ZDBSCOMPRESS) literature.data + -[ -s locations.data ] && $(ZDBSCOMPRESS) locations.data diff --git a/misc/moviedb/pkg-comment b/misc/moviedb/pkg-comment new file mode 100644 index 0000000..d4e348d --- /dev/null +++ b/misc/moviedb/pkg-comment @@ -0,0 +1 @@ +The Internet Movie Database package diff --git a/misc/moviedb/pkg-descr b/misc/moviedb/pkg-descr new file mode 100644 index 0000000..c0eb1de --- /dev/null +++ b/misc/moviedb/pkg-descr @@ -0,0 +1,10 @@ +This is the Internet Movie Database package. It contains various tools to +download, update, and search through the Database. + +The Internet Movie Database is an international volunteer effort whose +objective is to provide useful and up to date movie information *freely* +available on-line, across as many systems and platforms as possible. It +currently covers over 130,000 movies with over 2,100,000 filmography entries +and is expanding continuously. + +WWW: http://www.imdb.com/interfaces/ diff --git a/misc/moviedb/pkg-plist b/misc/moviedb/pkg-plist new file mode 100644 index 0000000..16d9ac0 --- /dev/null +++ b/misc/moviedb/pkg-plist @@ -0,0 +1,129 @@ +bin/alist +bin/lformat +bin/lguide +bin/lindex +bin/list +bin/listall +bin/lseen +bin/ltrace +bin/mkballot +bin/template +bin/templist +bin/title +lib/moviedb/Makefile +lib/moviedb/actors.data.gz +lib/moviedb/actors.names +lib/moviedb/actors.titles +lib/moviedb/actresses.data.gz +lib/moviedb/actresses.names +lib/moviedb/actresses.titles +lib/moviedb/aka-names.data.gz +lib/moviedb/aka-names.index +lib/moviedb/aka-titles.data.gz +lib/moviedb/aka-titles.index +lib/moviedb/alternate-versions.data.gz +lib/moviedb/alternate-versions.index +lib/moviedb/attributes.index +lib/moviedb/attributes.key.gz +lib/moviedb/biographies.data.gz +lib/moviedb/biographies.index +lib/moviedb/business.data.gz +lib/moviedb/business.index +lib/moviedb/certificates.data.gz +lib/moviedb/certificates.index +lib/moviedb/cinematographers.data.gz +lib/moviedb/cinematographers.names +lib/moviedb/cinematographers.titles +lib/moviedb/color-info.data.gz +lib/moviedb/color-info.index +lib/moviedb/complete-cast.data.gz +lib/moviedb/complete-crew.data.gz +lib/moviedb/composers.data.gz +lib/moviedb/composers.names +lib/moviedb/composers.titles +lib/moviedb/costume-designers.data.gz +lib/moviedb/costume-designers.names +lib/moviedb/costume-designers.titles +lib/moviedb/countries.data.gz +lib/moviedb/countries.index +lib/moviedb/crazy-credits.data.gz +lib/moviedb/crazy-credits.index +lib/moviedb/directors.data.gz +lib/moviedb/directors.names +lib/moviedb/directors.titles +lib/moviedb/distributors.data.gz +lib/moviedb/distributors.index +lib/moviedb/editors.data.gz +lib/moviedb/editors.names +lib/moviedb/editors.titles +lib/moviedb/genres.data.gz +lib/moviedb/genres.index +lib/moviedb/goofs.data.gz +lib/moviedb/goofs.index +lib/moviedb/key.counts +lib/moviedb/keywords.data.gz +lib/moviedb/keywords.index +lib/moviedb/language.data.gz +lib/moviedb/language.index +lib/moviedb/laserdisc.data.gz +lib/moviedb/laserdisc.index +lib/moviedb/literature.data.gz +lib/moviedb/literature.index +lib/moviedb/locations.data.gz +lib/moviedb/locations.index +lib/moviedb/miscellaneous.data.gz +lib/moviedb/miscellaneous.names +lib/moviedb/miscellaneous.titles +lib/moviedb/movie-links.data.gz +lib/moviedb/movies.data.gz +lib/moviedb/names.index +lib/moviedb/names.key.gz +lib/moviedb/plot.data.gz +lib/moviedb/plot.index +lib/moviedb/producers.data.gz +lib/moviedb/producers.names +lib/moviedb/producers.titles +lib/moviedb/production-companies.data.gz +lib/moviedb/production-companies.index +lib/moviedb/production-designers.data.gz +lib/moviedb/production-designers.names +lib/moviedb/production-designers.titles +lib/moviedb/quotes.data.gz +lib/moviedb/quotes.index +lib/moviedb/ratings.data.gz +lib/moviedb/release-dates.data.gz +lib/moviedb/release-dates.index +lib/moviedb/running-times.data.gz +lib/moviedb/running-times.index +lib/moviedb/sound-mix.data.gz +lib/moviedb/sound-mix.index +lib/moviedb/soundtracks.data.gz +lib/moviedb/soundtracks.index +lib/moviedb/special-effects-companies.data.gz +lib/moviedb/special-effects-companies.index +lib/moviedb/taglines.data.gz +lib/moviedb/taglines.index +lib/moviedb/technical.data.gz +lib/moviedb/technical.index +lib/moviedb/titles.index +lib/moviedb/titles.key.gz +lib/moviedb/trivia.data.gz +lib/moviedb/trivia.index +lib/moviedb/votes.data +lib/moviedb/writers.data.gz +lib/moviedb/writers.names +lib/moviedb/writers.titles +libexec/moviedb/Makefile +libexec/moviedb/lfetch +libexec/moviedb/make-base +libexec/moviedb/mkdb +libexec/moviedb/recompress +share/doc/moviedb/ADDS-GUIDE +share/doc/moviedb/ChangeLog +share/doc/moviedb/FAQ +share/doc/moviedb/FUTURES +share/doc/moviedb/INSTRUCTIONS +share/doc/moviedb/manual.tex +@dirrm lib/moviedb +@dirrm libexec/moviedb +@dirrm share/doc/moviedb |