Ticket #11122: Portfile

File Portfile, 1.3 KB (added by cssdev, 18 years ago)

This Portfile builds tivodecode and manually installs the binary and a couple documentation files.

Line 
1# $Id$
2
3PortSystem 1.0
4
5name            tivodecode
6version         0.1.4
7categories      multimedia
8platforms       darwin
9maintainers     css@macports.org
10description     utility to convert .tivo files into mpeg
11long_description        This software converts a .TiVo file (produced   \
12        by the TiVoToGo functionality on recent TiVo software releases) \
13        to a normal MPEG file. This has the same functionality as using \
14        TiVo's supplied DirectShow DLL on Windows with a tool such as   \
15        DirectShowDump, but is portable to different architectures and  \
16        operating systems, and runs on the command line using files or  \
17        pipes. The conversion still requires the valid MAK of the TiVo  \
18        which recorded the file, so it cannot be used to circumvent     \
19        their protection, simply to provide the same level of access as \
20        is already available on Windows.
21
22homepage        http://tivodecode.sourceforge.net/
23master_sites    sourceforge:${name}
24checksums       md5 b0131ce1de4f2c2057f31a29f7f13c45 \
25                sha1 b6e3877971bf20cddba6905f68e15b758dcbcea6
26
27use_configure   no
28destroot {
29        xinstall -m 755 ${worksrcpath}/objects.dir/tivodecode \
30                ${destroot}${prefix}/bin
31        xinstall -d -m 0755 ${destroot}${prefix}/share/doc/${name}
32        xinstall -m 0644 -W ${worksrcpath} COPYING README \
33                ${destroot}${prefix}/share/doc/${name}
34}
35
36platform darwin 8 {
37        configure.env   CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
38}
39