Ticket #38306: Portfile

File Portfile, 1.2 KB (added by cooljeanius (Eric Gallager), 12 years ago)

Portfile for osxbom

Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
2# $Id$
3
4PortSystem          1.0
5
6name                osxbom
7version             0.0.3
8categories          sysutils
9maintainers         gwmail.gwu.edu:egall openmaintainer
10platforms           darwin
11license             public-domain
12
13description         A free re-implementation of the NextSTEP/OSX lsbom utility
14long_description    ${description}. Used by the PureDarwin project to work with MacPorts \
15                    binary packages.
16homepage            https://cauldrondevelopment.com/svn/${name}/trunk/
17
18livecheck.type      none
19
20fetch.type          svn
21svn.url             ${homepage}
22svn.revision        3
23
24worksrcdir          trunk
25
26use_configure       no
27
28destroot {
29    xinstall ${worksrcpath}/lsbom ${destroot}${prefix}/bin/${name}
30    xinstall -d ${destroot}${prefix}/include/${name}
31    xinstall ${worksrcpath}/bom.h ${destroot}${prefix}/include/${name}
32}
33
34variant no_rename description {Don't rename the files installed. Warning: This variant shadows the system lsbom.} {
35    destroot {
36        xinstall ${worksrcpath}/lsbom ${destroot}${prefix}/bin
37        xinstall ${worksrcpath}/bom.h ${destroot}${prefix}/include
38    }
39}