Ticket #42386: Portfile-libPyQGLViewer.diff
File Portfile-libPyQGLViewer.diff, 2.5 KB (added by christophe.pradal@…, 11 years ago) |
---|
-
Portfile
old new 2 2 # $Id: Portfile 112294 2013-10-17 03:36:13Z ryandesign@macports.org $ 3 3 4 4 PortSystem 1.0 5 PortGroup qmake 1.06 5 7 6 # Please keep the libQGLViewer and libPyQGLViewer ports as similar as possible. 8 7 9 8 name libPyQGLViewer 10 9 version 2.3.17 10 revision 1 11 12 replaced_by libQGLViewer 13 11 14 platforms darwin 12 15 maintainers inria.fr:christophe.pradal openmaintainer 13 16 license {GPL-2+ Commercial} … … 26 29 easy to extend. \ 27 30 It has been forked to allow running sip on it to create Python wrappers. 28 31 29 conflicts libQGLViewer30 31 master_sites https://gforge.inria.fr/frs/download.php/3297932 33 checksums rmd160 6451253bd9d6f347d1af73e7a48bc9d2d5cf48db \34 sha256 94860a337879f63ad7598192f0d31da1d275af7bff8c910a0c0abd5b902887fb35 36 patchfiles patch-QGLViewer.pro.diff \37 patch-designerPlugin.pro.diff38 # the terrain example does not compile on Lion; see #3088639 platform darwin 11 {40 patchfiles-append patch-contribs.pro.diff41 }42 43 post-patch {44 reinplace "s|@@QT_PLUGINS_DIR@@|${qt_plugins_dir}|g" ${worksrcpath}/designerPlugin/designerPlugin.pro45 46 system -W ${worksrcpath} "sh ${filespath}/archflags.sh [get_canonical_archflags]"47 }48 49 configure.pre_args-append DOC_DIR=${prefix}/share/doc/${name}50 configure.post_args-append -after QMAKE_POST_LINK=\"\"51 32 52 use_parallel_build no 33 livecheck.type none 53 34 54 post-destroot { 55 system -W ${worksrcpath}/examples "make clean" 56 copy ${worksrcpath}/examples ${destroot}${applications_dir}/libQGLViewer\ Examples 57 xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name} 58 xinstall -m 644 -W ${worksrcpath} \ 59 changeLog.txt \ 60 GPL_exception.txt \ 61 licence.txt \ 62 readMe.txt \ 63 ${destroot}${prefix}/share/doc/${name} 35 pre-configure { 36 ui_error "Please do not install this port since it has been replaced by 'libQGLViewer'." 37 return -code error 64 38 } 65 39 66 livecheck.type regex 67 livecheck.regex "Version (\\d+(?:\\.\\d+)*)" 40 distfiles 41 No newline at end of file