Changeset 99140
- Timestamp:
- Oct 28, 2012, 9:27:25 AM (12 years ago)
- Location:
- trunk/dports/graphics
- Files:
-
- 2 deleted
- 1 edited
- 3 copied
Legend:
- Unmodified
- Added
- Removed
-
trunk/dports/graphics/graphviz/Portfile
r99088 r99140 6 6 PortGroup xcodeversion 1.0 7 7 8 # Keep relevant lines in sync between graphviz, graphviz-gui and gvedit.8 # Please keep the graphviz and graphviz-devel ports as similar as possible. 9 9 10 10 name graphviz 11 conflicts graphviz-devel12 11 set my_name graphviz 13 12 version 2.28.0 14 revision 8 13 set thisbranch [strsed ${name} "g/^${my_name}//"] 14 set otherbranch [expr {${thisbranch} == {} ? {-devel} : {}}] 15 15 categories graphics 16 16 maintainers ryandesign … … 42 42 # graphviz-gui needs Xcode 3.1.2+; see #18811 43 43 minimum_xcodeversions {9 3.1.2} 44 45 if {${name} == ${subport}} { 46 revision 8 47 48 conflicts graphviz${otherbranch} 49 50 depends_build port:pkgconfig 44 51 45 52 depends_lib port:xorg-libXaw \ … … 57 64 port:zlib \ 58 65 port:gettext 59 60 depends_build port:pkgconfig61 66 62 67 depends_run port:urw-fonts … … 297 302 livecheck.url ${homepage}Download_source.php 298 303 livecheck.regex ${my_name}-(\[0-9\]+\\.\[0-9\]*\[02468\](\\.\[0-9\]+)*)\\.tar 304 } else { 305 livecheck.type none 306 } 307 308 subport graphviz-gui${thisbranch} { 309 PortGroup xcode 1.0 310 311 conflicts graphviz-gui${otherbranch} graphviz-oldgui 312 313 categories-append aqua 314 315 description OS X Aqua GUI for viewing and exporting \ 316 Graphviz graphs 317 318 long_description ${description}. 319 320 depends_lib port:graphviz${thisbranch} 321 322 pre-fetch { 323 if {"darwin" != ${os.platform}} { 324 ui_error "${subport} requires OS X." 325 return -code error "incompatible operating system" 326 } 327 if {${os.major} < 9} { 328 ui_error "${subport} requires OS X 10.5 or greater. Try graphviz-oldgui instead." 329 return -code error "incompatible OS X version" 330 } 331 } 332 333 extract.post_args-append ${worksrcdir}/macosx ${worksrcdir}/doc 334 335 patchfiles patch-project.pbxproj.diff 336 337 xcode.configuration Release 338 339 build.dir ${worksrcpath}/macosx 340 xcode.build.settings PREFIX=${prefix} 341 342 xcode.destroot.settings ${xcode.build.settings} 343 } 344 345 subport gvedit${thisbranch} { 346 PortGroup qt4 1.0 347 348 revision 2 349 350 conflicts gvedit${otherbranch} 351 352 description Qt-based GUI for Graphviz 353 354 long_description gvedit is a ${description}. You may prefer \ 355 the Mac-native GUI in the graphviz-gui${thisbranch} port. 356 357 depends_lib-append port:graphviz${thisbranch} 358 359 patchfiles patch-cmd-gvedit-Makefile.in.diff \ 360 patch-cmd-gvedit-csettings.cpp.diff 361 362 # nawk: illegal jump type 339 363 conflicts_build nawk 364 365 configure.args --disable-silent-rules \ 366 --with-qt 367 368 build.dir ${worksrcpath}/cmd/gvedit 369 370 post-destroot { 371 set app GVEdit 372 xinstall -d ${destroot}${applications_dir}/${app}.app/Contents/MacOS 373 ln -s ${prefix}/bin/gvedit ${destroot}${applications_dir}/${app}.app/Contents/MacOS/${app} 374 } 375 }
Note: See TracChangeset
for help on using the changeset viewer.