1 | 52a53,78 |
---|
2 | > |
---|
3 | > variant gslib { |
---|
4 | > post-patch { |
---|
5 | > cd ${workpath}/${name}-${version} |
---|
6 | > reinplace "s|/Library/Frameworks|${destroot}${prefix}/Library/Frameworks|" \ |
---|
7 | > src/macosx.mak |
---|
8 | > } |
---|
9 | > post-build { |
---|
10 | > cd ${workpath}/${name}-${version} |
---|
11 | > file rename Makefile Makefile.CONFIGURE |
---|
12 | > file link Makefile src/macosx.mak |
---|
13 | > system "make framework" |
---|
14 | > file delete Makefile |
---|
15 | > file rename Makefile.CONFIGURe Makefile |
---|
16 | > |
---|
17 | > } |
---|
18 | > post-destroot { |
---|
19 | > cd ${workpath}/${name}-${version} |
---|
20 | > xinstall -m 755 -d ${destroot}${prefix}/Library/Frameworks |
---|
21 | > file rename Makefile Makefile.CONFIGURE |
---|
22 | > file link Makefile src/macosx.mak |
---|
23 | > system "make framework_install" |
---|
24 | > file delete Makefile |
---|
25 | > file rename Makefile.CONFIGURe Makefile |
---|
26 | > } |
---|
27 | > } |
---|