-
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
System Administrator
committed
Mar 6, 2013
1 parent
66c517c
commit 15be67c
Showing
1 changed file
with
50 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
# -*- 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 | ||
# $Id$ | ||
|
||
PortSystem 1.0 | ||
|
||
name osxbom | ||
version 0.0.3 | ||
categories sysutils | ||
maintainers gwmail.gwu.edu:egall openmaintainer | ||
platforms darwin | ||
license public-domain | ||
|
||
description A free re-implementation of the NextSTEP/OSX lsbom utility | ||
long_description ${description}. Used by the PureDarwin project to work with MacPorts \ | ||
binary packages. | ||
homepage https://cauldrondevelopment.com/svn/${name}/trunk/ | ||
|
||
livecheck.type none | ||
|
||
fetch.type svn | ||
svn.url ${homepage} | ||
svn.revision 3 | ||
|
||
worksrcdir trunk | ||
|
||
use_configure no | ||
|
||
destroot { | ||
xinstall ${worksrcpath}/lsbom ${destroot}${prefix}/bin/${name} | ||
xinstall -d ${destroot}${prefix}/include/${name} | ||
xinstall ${worksrcpath}/bom.h ${destroot}${prefix}/include/${name} | ||
} | ||
|
||
variant no_rename description {Don't rename the files installed. Warning: This variant shadows the system lsbom.} { | ||
destroot { | ||
xinstall ${worksrcpath}/lsbom ${destroot}${prefix}/bin | ||
xinstall ${worksrcpath}/bom.h ${destroot}${prefix}/include | ||
} | ||
} | ||
|
||
variant egallager description {Use my GitHub fork for the source} { | ||
PortGroup github 1.0 | ||
github.setup cooljeanius ${name} ${version} | ||
fetch.type git | ||
git.url git://github.com/cooljeanius/${name}.git | ||
use_autoreconf yes | ||
autoreconf.args -fvi | ||
depends_build-append port:gawk \ | ||
port:grep | ||
} |