Ticket #56894: Portfile-codeblocks.diff
File Portfile-codeblocks.diff, 2.1 KB (added by mf2k (Frank Schima), 6 years ago) |
---|
-
Portfile
old new 3 3 PortSystem 1.0 4 4 PortGroup wxWidgets 1.0 5 5 6 fetch.type svn7 svn.url https://svn.code.sf.net/p/codeblocks/code/trunk8 svn.revision 110989 # Get the svn last changed date by running the following command:10 # svn info https://svn.code.sf.net/p/codeblocks/code/trunk| grep "^Last Changed Date:" | cut -d" " -f4,511 set LCD "2017-06-21 13:35:48"12 13 6 name codeblocks 14 version 16.01-${svn.revision} 15 revision 2 7 version 17.12 16 8 platforms darwin freebsd 17 9 categories devel aqua x11 18 10 license GPL-3+ 19 11 license_noconflict boost 20 12 maintainers nomaintainer 13 21 14 description Open Source, Cross-platform, Free C/C++/D IDE 22 15 long_description Code::Blocks is a free C++ IDE built specifically \ 23 16 to meet the most demanding needs of its users. \ … … 25 18 extensible and configurable. 26 19 27 20 homepage http://www.codeblocks.org/ 21 master_sites sourceforge:project/codeblocks/Sources/${version} 22 23 use_xz yes 24 distname ${name}_${version} 25 worksrcdir ${name}-${version} 28 26 29 worksrcdir trunk 27 checksums rmd160 d6b24ef948437f248135ccc40fcff71944a6a07f \ 28 sha256 13881a0a72769694e82e531b8e7814d51fbf1fa122c73c5004e186560fbc57e0 \ 29 size 15725976 30 31 patchfiles patch-sqvm-header-fix.diff 30 32 31 33 depends_build-append \ 32 34 port:pkgconfig … … 49 51 # so it was disabled for now 50 52 configure.args --with-contrib-plugins=all,-FileManager 51 53 52 post-extract {53 # Fix svn revision and last changed date in app54 reinplace "s|\tREV=0|\tREV=${svn.revision}|g" ${worksrcpath}/update_revision.sh55 reinplace "s|\tLCD=\"\"|\tLCD=\"${LCD}\"|g" ${worksrcpath}/update_revision.sh56 }57 58 54 post-destroot { 59 55 # TODO: this might need a review 60 56 system "strip -S ${destroot}${prefix}/bin/codeblocks"