public
Description: Git mirror of the MacPorts svn repo
Homepage: http://www.macports.org
Clone URL: git://github.com/kballard/macports.git
Search Repo:
Update procfs to version 2.0 and the new macfuse port


git-svn-id: http://svn.macports.org/repository/macports/trunk@36272 
d073be05-634f-4543-b044-5fe20cf6d1d6
kballard (author)
Fri Apr 25 04:30:56 -0700 2008
commit  1b5b9764d178a4b85315a8f9c448d9c32a0fba9b
tree    e5cfde997945359f1091ad69a41106a12c44f303
parent  c6f3234974261180b1fc664e3690032f3bceb673
...
3
4
5
6
 
7
8
9
10
11
12
13
...
13
14
15
16
17
18
 
 
 
19
20
21
22
23
24
25
26
27
28
 
29
30
31
32
 
 
 
 
33
34
35
36
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
37
...
3
4
5
 
6
7
8
9
10
11
12
13
...
13
14
15
 
 
 
16
17
18
19
20
21
 
 
22
23
24
25
 
26
27
 
 
 
28
29
30
31
32
33
 
 
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
0
@@ -3,7 +3,7 @@
0
 PortSystem 1.0
0
 
0
 name procfs
0
-version 1.5; # taken from MACFUSE_PROCFS_VERSION in procfs.cc
0
+version 2.0; # taken from MACFUSE_PROCFS_VERSION in procfs.cc
0
 categories fuse
0
 platforms darwin
0
 maintainers eridius@macports.org
0
0
0
0
0
@@ -13,26 +13,40 @@
0
 homepage http://osxbook.com/book/bonus/chapter11/procfs/
0
 master_sites macports
0
 distname procfs-${version}
0
-worksrcdir procfs
0
-checksums md5 4ec560cb53712ae38b967b5354f01067 \
0
- sha1 0147d4cc5af1f06af3e9073dca2ef1633016a90a
0
+worksrcdir procfs-${version}
0
+checksums md5 f86caba1b5f028f9f232b039b2889c8f \
0
+ sha1 001e394425d10b3e19b37878d110bc965f959150
0
 
0
 use_bzip2 yes
0
 
0
-patchfiles patch-Makefile
0
-
0
 livecheck.check regex
0
 livecheck.url http://macfuse.googlecode.com/svn/trunk/filesystems/procfs/procfs.cc
0
 livecheck.regex {#define MACFUSE_PROCFS_VERSION "(.*?)"}
0
 
0
-depends_lib port:libfuse port:pcre
0
+depends_lib port:pcre port:macfuse
0
 
0
-configure {
0
- reinplace s|@@DESTROOT@@|${destroot}|g ${worksrcpath}/Makefile
0
- reinplace s|@@PREFIX@@|${prefix}|g ${worksrcpath}/Makefile
0
+use_configure no
0
+
0
+variant universal {
0
+ # dummy variant, the magic happens in post-patch
0
 }
0
 
0
-platform darwin {
0
- depends_run port:fusefs
0
+post-patch {
0
+ reinplace "
0
+:start
0
+/^install:/binstall
0
+s,/usr/local,${prefix},g
0
+n
0
+bstart
0
+:install
0
+n
0
+/^\[^\[:space:\]\]/bstart
0
+s,/usr/local,${destroot}${prefix},g
0
+n
0
+binstall
0
+" ${worksrcpath}/Makefile
0
+ if {![variant_isset universal]} {
0
+ reinplace "s,-arch i386 -arch ppc ,," ${worksrcpath}/Makefile
0
+ }
0
 }
...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
...
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
0
@@ -1,34 +1 @@
0
---- Makefile.old 2007-06-19 11:05:07.000000000 -0700
0
-+++ Makefile 2007-06-19 11:06:12.000000000 -0700
0
-@@ -5,17 +5,17 @@
0
- #
0
- # http://code.google.com/p/macfuse/
0
-
0
--CPPFLAGS=-D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -O -g -arch i386 -arch ppc -isysroot /Developer/SDKs/MacOSX10.4u.sdk
0
--LDFLAGS=-L/usr/local/lib -lfuse -framework Carbon -framework IOKit -framework ApplicationServices -framework Accelerate -framework OpenGL -lproc
0
-+CPPFLAGS=-D_FILE_OFFSET_BITS=64 -D__FreeBSD__=10 -O2
0
-+LDFLAGS=-L@@PREFIX@@/lib -lfuse -framework Carbon -framework IOKit -framework ApplicationServices -framework Accelerate -framework OpenGL -lproc
0
- SEQUENCEGRAB_LDFLAGS=-framework AudioUnit -framework Cocoa -framework CoreAudioKit -framework Foundation -framework QuartzCore -framework QuickTime -framework QuartzCore
0
-
0
- # Configure this depending on where you installed pcrecpp
0
- # http://www.pcre.org
0
- #
0
--PCRECPP_PREFIX=/usr/local
0
-+PCRECPP_PREFIX=@@PREFIX@@
0
-
0
- PCRECPP_CPPFLAGS=-I$(PCRECPP_PREFIX)/include
0
--PCRECPP_LDFLAGS=-arch i386 -arch ppc $(PCRECPP_PREFIX)/lib/libpcrecpp.a $(PCRECPP_PREFIX)/lib/libpcre.a
0
-+PCRECPP_LDFLAGS=$(PCRECPP_PREFIX)/lib/libpcrecpp.a $(PCRECPP_PREFIX)/lib/libpcre.a
0
-
0
- all: procfs
0
-
0
-@@ -40,7 +40,7 @@
0
- install: procfs
0
- sudo chown root:wheel procfs
0
- sudo chmod u+s procfs
0
-- sudo mv procfs /usr/local/bin/procfs
0
-+ sudo mv procfs @@DESTROOT@@@@PREFIX@@/bin/procfs
0
-
0
- clean:
0
- rm -f procfs procfs.o procfs_displays.o procfs_proc_info.o procfs_tpm.o

Comments

    No one has commented yet.