Ticket #1220: Portfile

File Portfile, 1.0 KB (added by pguyot (Paul Guyot), 20 years ago)

Portfile for libebml 0.6.2

Line 
1PortSystem 1.0
2name                    libebml
3version                 0.6.2
4revision                0
5categories              textproc
6maintainers             pguyot@kallisys.net
7description             EBML (Extensible Binary Meta Language), sort of binary version of XML.
8long_description        \
9                                EBML (Extensible Binary Meta Language), a binary derivative of \
10                                XML. EBML enables the Matroska Development Team to gain \
11                                significant advantages in terms of future format \
12                                extensibility, without breaking file support in old parsers.
13homepage                http://www.matroska.org/
14platforms               darwin
15master_sites    http://matroska.free.fr/downloads/libebml/
16checksums               md5 3fab6e7ade7e86daae2fce79d63f2b70
17
18# No configuration step.
19configure       {}
20
21# The linux Makefile will do it.
22post-extract {
23        cd "${worksrcpath}/make"
24        system "cp -r linux darwin"
25}
26
27# The makefile is not at the root of the archive.
28# Also, PREFIX is spelled prefix
29build           {
30        cd "${worksrcpath}/make/darwin"
31        system "make prefix=${prefix}"
32}
33destroot        {
34        cd "${worksrcpath}/make/darwin"
35        system "make prefix=${destroot}${prefix} install"
36}