source: trunk/dports/aqua/MongoExplorer/Portfile @ 86919

Last change on this file since 86919 was 86919, checked in by ryandesign@…, 9 years ago

MongoExplorer: new port, version 1.0.2

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.8 KB
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: Portfile 86919 2011-11-07 03:57:48Z ryandesign@macports.org $
3
4PortSystem          1.0
5PortGroup           xcode 1.0
6
7name                MongoExplorer
8version             1.0.2
9categories          aqua databases
10maintainers         ryandesign
11license             MIT
12
13description         a Cocoa administration interface for Mongo databases
14
15long_description    Mongo Explorer is a simple Cocoa application to administer \
16                    Mongo databases. It is still a work in progress.
17
18homepage            https://github.com/francois/mongo_explorer
19master_sites        ${homepage}/tarball/v${version}
20distname            mongo_explorer-${version}
21
22checksums           rmd160  91c6805bf4af23b66e0975cf2c330019ec177e27 \
23                    sha256  921e9632727dc243992391b81410da14695f8d61a3a8c9f665f3a7f0c062e44c
24
25#fetch.type          git
26#git.url             https://github.com/francois/mongo_explorer.git
27#git.branch          d671413af75443df690f43165dbad5e2c51f2075
28
29depends_lib         port:BWToolkit
30
31# synthesized property must either be named the same as a compatible ivar or must explicitly name an ivar
32# https://github.com/francois/mongo_explorer/issues/3
33supported_archs     ppc64 x86_64
34universal_variant   no
35
36post-extract {
37    move [glob ${workpath}/*] ${worksrcpath}
38   
39    # File forgotten in 1.0.2 tarball
40    # https://github.com/francois/mongo_explorer/commit/c0b0b7bd9c5a99baf193727c80a646d700c4b6a3
41    copy ${filespath}/Mongo_Explorer_Prefix.pch ${worksrcpath}
42}
43
44patchfiles          patch-project.pbxproj.diff
45
46post-patch {
47    reinplace "s|@FRAMEWORKS_DIR@|${frameworks_dir}|g" "${worksrcpath}/Mongo Explorer.xcodeproj/project.pbxproj"
48}
49
50xcode.configuration Release
51
52livecheck.type      regex
53livecheck.url       ${homepage}/tags
54livecheck.regex     {tarball/v([0-9.]+)"}
Note: See TracBrowser for help on using the repository browser.