Changeset 15636 for trunk/dports
- Timestamp:
- Dec 29, 2005, 9:14:02 PM (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/devel/mono/Portfile
r15033 r15636 1 # $Id: Portfile,v 1.4 5 2005/11/12 17:28:56mww Exp $1 # $Id: Portfile,v 1.46 2005/12/29 21:14:02 mww Exp $ 2 2 3 3 PortSystem 1.0 4 4 5 5 name mono 6 version 1.1.1 06 version 1.1.12 7 7 categories devel lang mono 8 8 platforms darwin … … 15 15 homepage http://www.go-mono.com/ 16 16 master_sites ${homepage}/sources/mono-1.1/ 17 checksums md5 dd04088e82b7cf69a417fd06bddd914817 checksums md5 9015dedfe5982285797b3ddab0ebd9b4 18 18 19 19 depends_lib port:pkgconfig port:gettext port:glib2 port:icu port:boehmgc \ … … 32 32 destroot.env DYLD_LIBRARY_PATH=${worksrcpath}/mono/mini/.libs:${worksrcpath}/mono/interpreter/.libs:${prefix}/lib:${x11prefix}/lib 33 33 34 platform darwin 8 {35 configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.036 }37 38 # Build as a framework39 variant macosx-framework requires darwin {40 prefix /Library/Frameworks/Mono.framework/Versions/${version}41 }42 43 34 test.run yes 44 35 test.target check … … 54 45 ${worksrcpath}/NEWS ${worksrcpath}/README \ 55 46 ${destroot}${prefix}/share/doc/${name} 56 if {[variant_isset macosx-framework]} {57 cd ${destroot}/Library/Frameworks/Mono.Framework/Versions58 system "ln -s ${version} Current"59 cd ..60 system "ln -s Versions/Current/lib Libraries"61 system "ln -s Versions/Current/include Headers"62 system "ln -s Versions/Current/bin Commands"63 file mkdir ${destroot}/usr/bin64 cd Commands65 foreach binfile [glob *] {66 if {[string match *.exe ${binfile}]} continue67 system "ln -s /Library/Frameworks/Mono.Framework/Commands/${binfile} ${destroot}/usr/bin/${binfile}"68 }69 }70 47 } 48 49 platform darwin 8 { 50 configure.env-append CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0 51 } 52
Note: See TracChangeset
for help on using the changeset viewer.