Skip to content

Commit 15be67c

Browse files
author
System Administrator
committed
add portfile
1 parent 66c517c commit 15be67c

File tree

1 file changed

+50
-0
lines changed

1 file changed

+50
-0
lines changed

Portfile

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
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+
4+
PortSystem 1.0
5+
6+
name osxbom
7+
version 0.0.3
8+
categories sysutils
9+
maintainers gwmail.gwu.edu:egall openmaintainer
10+
platforms darwin
11+
license public-domain
12+
13+
description A free re-implementation of the NextSTEP/OSX lsbom utility
14+
long_description ${description}. Used by the PureDarwin project to work with MacPorts \
15+
binary packages.
16+
homepage https://cauldrondevelopment.com/svn/${name}/trunk/
17+
18+
livecheck.type none
19+
20+
fetch.type svn
21+
svn.url ${homepage}
22+
svn.revision 3
23+
24+
worksrcdir trunk
25+
26+
use_configure no
27+
28+
destroot {
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+
34+
variant 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+
}
40+
41+
variant egallager description {Use my GitHub fork for the source} {
42+
PortGroup github 1.0
43+
github.setup cooljeanius ${name} ${version}
44+
fetch.type git
45+
git.url git://github.com/cooljeanius/${name}.git
46+
use_autoreconf yes
47+
autoreconf.args -fvi
48+
depends_build-append port:gawk \
49+
port:grep
50+
}

0 commit comments

Comments
 (0)