diff -uNr subsurface.orig/Portfile subsurface/Portfile
old
|
new
|
|
5 | 5 | PortGroup github 1.0 |
6 | 6 | |
7 | 7 | # when updating subsurface, it's probably a good idea to update libdivecomputer, too |
8 | | github.setup torvalds subsurface 3.0.2 v |
| 8 | github.setup torvalds subsurface 3.1.1 v |
9 | 9 | epoch 1 |
10 | 10 | categories x11 |
11 | 11 | platforms darwin |
… |
… |
|
16 | 16 | long_description ${description} |
17 | 17 | |
18 | 18 | homepage http://subsurface.hohndel.org/ |
19 | | checksums rmd160 d822139199ca659760aea50992eb7f0aebe6ab5d \ |
20 | | sha256 61747523d4286b339c3cf7c4a495a0f24244dff797bb6c680e248aa03d1ffec5 |
| 19 | checksums rmd160 049ce041fa50be02752e8b097c3d5adca2e9ff6f \ |
| 20 | sha256 d9db76238435fc0dcb24e4957a33aed6aa8e50496b121009327ab48abfa14954 |
21 | 21 | |
22 | 22 | patchfiles Makefile.patch |
23 | 23 | |
… |
… |
|
31 | 31 | port:gtk-osx-application \ |
32 | 32 | port:osm-gps-map \ |
33 | 33 | port:libsoup \ |
34 | | port:py27-pygtk |
| 34 | port:py27-pygtk \ |
| 35 | port:libzip \ |
| 36 | port:libxslt |
35 | 37 | |
36 | 38 | # declare universal variant, so get_canonical_archflags works |
37 | 39 | variant universal {} |
diff -uNr subsurface.orig/files/Makefile.patch subsurface/files/Makefile.patch
old
|
new
|
|
1 | | --- Makefile.orig 2013-02-20 21:06:34.000000000 +0100 |
2 | | +++ Makefile 2013-02-20 22:48:49.000000000 +0100 |
3 | | @@ -1,7 +1,7 @@ |
4 | | VERSION=2.9 |
| 1 | --- Makefile.orig 2013-06-30 18:47:46.000000000 +0200 |
| 2 | +++ Makefile 2013-07-02 13:13:04.000000000 +0200 |
| 3 | @@ -5,7 +5,7 @@ |
| 4 | VERSION=3.1.1 |
5 | 5 | |
6 | 6 | CC=gcc |
7 | 7 | -CFLAGS=-Wall -Wno-pointer-sign -g $(CLCFLAGS) -DGSEAL_ENABLE |
… |
… |
|
9 | 9 | INSTALL=install |
10 | 10 | PKGCONFIG=pkg-config |
11 | 11 | XML2CONFIG=xml2-config |
12 | | @@ -9,7 +9,7 @@ |
| 12 | @@ -13,7 +13,7 @@ |
13 | 13 | |
14 | 14 | # these locations seem to work for SuSE and Fedora |
15 | 15 | # prefix = $(HOME) |
… |
… |
|
18 | 18 | BINDIR = $(prefix)/bin |
19 | 19 | DATADIR = $(prefix)/share |
20 | 20 | DESKTOPDIR = $(DATADIR)/applications |
21 | | @@ -53,8 +53,8 @@ |
| 21 | @@ -81,8 +81,8 @@ |
22 | 22 | LIBDIVECOMPUTERINCLUDES = $(shell $(PKGCONFIG) --cflags libdivecomputer) |
23 | 23 | LIBDIVECOMPUTERARCHIVE = $(shell $(PKGCONFIG) --libs libdivecomputer) |
24 | 24 | else |
… |
… |
|
29 | 29 | libdc-usr := $(wildcard /usr/lib/libdivecomputer.a) |
30 | 30 | libdc-usr64 := $(wildcard /usr/lib64/libdivecomputer.a) |
31 | 31 | |
32 | | @@ -122,7 +122,7 @@ |
| 32 | @@ -154,7 +154,7 @@ |
33 | 33 | else ifeq ($(UNAME), darwin) |
34 | 34 | OSSUPPORT = macos |
35 | 35 | OSSUPPORT_CFLAGS = $(GTKCFLAGS) |
36 | | - MACOSXINSTALL = /Applications/Subsurface.app |
37 | | + MACOSXINSTALL = ${mpappdir}/Subsurface.app |
| 36 | - MACOSXINSTALL = /Applications/$(CAPITALIZED_NAME).app |
| 37 | + MACOSXINSTALL = ${mpappdir}/$(CAPITALIZED_NAME).app |
38 | 38 | MACOSXFILES = packaging/macosx |
39 | | MACOSXSTAGING = $(MACOSXFILES)/Subsurface.app |
| 39 | MACOSXSTAGING = $(MACOSXFILES)/$(CAPITALIZED_NAME).app |
40 | 40 | INFOPLIST = $(MACOSXFILES)/Info.plist |