diff options
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/postgis.rb | 19 |
1 files changed, 10 insertions, 9 deletions
diff --git a/Library/Formula/postgis.rb b/Library/Formula/postgis.rb index d73791d66..ee5727267 100644 --- a/Library/Formula/postgis.rb +++ b/Library/Formula/postgis.rb @@ -13,22 +13,24 @@ class Postgis < Formula false end - head 'http://svn.osgeo.org/postgis/trunk/' + head do + url "http://svn.osgeo.org/postgis/trunk/" + + depends_on "autoconf" => :build + depends_on "automake" => :build + depends_on "libtool" => :build + end option 'with-gui', 'Build shp2pgsql-gui in addition to command line tools' option 'without-gdal', 'Disable postgis raster support' - depends_on :autoconf - depends_on :automake - depends_on :libtool - + depends_on "pkg-config" => :build depends_on 'gpp' => :build depends_on 'postgresql' depends_on 'proj' depends_on 'geos' depends_on 'gtk+' if build.with? "gui" - depends_on 'pkg-config' if build.with? "gui" # For GeoJSON and raster handling depends_on 'json-c' @@ -45,7 +47,6 @@ class Postgis < Formula ENV.deparallelize <!doctype html>
<html>
<head>
<script src="../../src/angular-bootstrap.js"></script>
<script type="text/javascript">
$script('src/bootstrap/google-prettify/prettify', 'prettify');
$script.ready('angular', function() {
$script(['src/bootstrap/bootstrap-prettify', 'src/bootstrap/bootstrap'], 'myCode');
angular.module('myApp', []).run(function($rootScope){ $rootScope.text = 'WORKS!' });
});
$script.ready(['myCode', 'prettify'], function() {
angular.bootstrap(document, ['bootstrapPrettify', 'bootstrap']);
});
</script>
<link rel="stylesheet" href="../../src/bootstrap/google-prettify/prettify.css" type="text/css">
<link rel="stylesheet" href="../../src/bootstrap/css/bootstrap.css" type="text/css">
</head>
<body>
<div class="container">
<div class="row">
<div class="span12">
<h1>AngularJS is {{'working'}}</h1>
<h2>Directive: <code>prettify</code></h2>
<pre class="prettyprint linenums">
<p>Sample text here...</p>
</pre>
<h2>Directive: <code>ng-set-text</code></h2>
<pre class="prettyprint linenums" ng-set-text="hello.html"></pre>
<script type="text/html" id="hello.html">
<h1>Hello World!</h1>
</script>
<h2>Directive: <code>ng-html-wrap</code></h2>
<pre class="prettyprint linenums" ng-set-text="hello.html" ng-html-wrap="angular.js angular-resource.js myApp abc.js abc.css"></pre>
<h2>Directive <code>ng-embed-app</code></h2>
<div ng-embed-app="myApp">{{text}}</div>
<h1>Bootstrap</h1>
<h2>Directive <code>drop-down-toggle</code></h2>
<div class="btn btn-primary dropdown">
<a href="#ABC" class="dropdown-toggle">
Account
<b class="caret"></b>
</a>
<ul class="dropdown-menu">
<li>One</li>
<li>Two</li>
</ul>
</div>
<h2 ng-init="state = 'tab-2' ">Directive <code>tabbable</code></h2>
state = {{state}}
<div class="tabbable" ng-model="state">
<div class="tab-pane" ng-repeat="id in [1,2,3]" title="Tab {{id}}" value='tab-{{id}}'>
Tab content {{id}}!
</div>
</div>
<hr/>
<div class="tabbable" ng-model="state">
<div class="tab-pane" ng-repeat="id in [1,2,3]" title="Tab {{id}}" value='tab-{{id}}'>
Tab content {{id}}!
</div>
</div>
<hr/>
<div class="tabbable">
<div class="tab-pane" ng-repeat="id in [1,2,3]" title="Tab {{id}}" value='tab-{{id}}'>
Tab content {{id}}!
</div>
</div>
</div>
</div>
</div>
<br/>
<br/>
<br/>
<br/>
<br/>
<br/>
</body>
</html>
|
