diff -r -u -N /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/irc/quassel/Portfile ./Portfile
old
|
new
|
|
6 | 6 | |
7 | 7 | name quassel |
8 | 8 | version 0.8.0 |
| 9 | revision 1 |
9 | 10 | categories irc |
10 | 11 | license GPL-3 |
11 | 12 | platforms darwin |
… |
… |
|
20 | 21 | |
21 | 22 | use_bzip2 yes |
22 | 23 | |
| 24 | # Do not use git to find out the program version - there is no ".git" directory |
| 25 | # in the source tarball |
| 26 | patchfiles patch-use-hardcoded-version.diff |
| 27 | |
| 28 | post-patch { |
| 29 | reinplace "s|@@VERSION@@|${version}|" \ |
| 30 | ${worksrcpath}/scripts/build/macosx_makebundle.py |
| 31 | } |
| 32 | |
23 | 33 | configure.args -DWANT_CORE=OFF \ |
24 | 34 | -DWANT_QTCLIENT=OFF \ |
25 | 35 | -DWANT_MONO=OFF \ |
diff -r -u -N /opt/local/var/macports/sources/rsync.macports.org/release/tarballs/ports/irc/quassel/files/patch-use-hardcoded-version.diff ./files/patch-use-hardcoded-version.diff
old
|
new
|
|
| 1 | --- scripts/build/macosx_makebundle.py.orig 2013-03-25 14:55:00.000000000 +0100 |
| 2 | +++ scripts/build/macosx_makebundle.py 2013-03-25 15:01:00.000000000 +0100 |
| 3 | @@ -38,7 +38,7 @@ |
| 4 | CONTENTS_DIR = os.path.dirname(EXE_NAME) + "/" |
| 5 | CONTENTS_DIR += BUNDLE_NAME + ".app/Contents/" |
| 6 | |
| 7 | -BUNDLE_VERSION = commands.getoutput("git --git-dir="+SOURCE_DIR+"/.git/ describe") |
| 8 | +BUNDLE_VERSION = "@@VERSION@@" |
| 9 | ICON_FILE = "pics/quassel.icns" |
| 10 | |
| 11 | def createBundle(): |