Ticket #30190: gtkevemon-1.8.diff
File gtkevemon-1.8.diff, 2.6 KB (added by ryandesign (Ryan Carsten Schmidt), 11 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 6 6 name gtkevemon 7 version 99 7 epoch 1 8 version 1.8 8 9 categories games 10 platforms darwin 9 11 maintainers gmail.com:jameslpoter 12 license GPL-3+ 13 10 14 description GTK Eve-Online monitor 15 11 16 long_description GtkEveMon is a skill monitoring standalone application \ 12 17 for GNU/Linux systems. With GtkEveMon you can monitor \ 13 18 your current skills and your skill training process \ 14 19 without starting EVE-Online. 15 20 16 21 homepage http://gtkevemon.battleclinic.com/ 17 use_parallel_build yes 18 worksrcdir gtkevemon 22 master_sites ${homepage}releases/ 23 distfiles ${name}-${version}-source${extract.suffix} 19 24 20 depends_lib port:gtkmm port:libxml2 25 checksums rmd160 7420a9fd78377e93b97561b066b1561ec909f30b \ 26 sha256 32faf51b5b84f7e055dd47b7c43f722613b5c6cfbd8ec6a47cada75e686300c7 21 27 22 fetch.type svn 23 svn.url svn://svn.battleclinic.com/GTKEVEMon/trunk/gtkevemon 24 svn.revision ${version} 28 depends_lib port:gtkmm \ 29 port:libxml2 \ 30 port:zlib 25 31 26 destroot { 27 xinstall -W ${worksrcpath}/src -m 755 gtkevemon ${destroot}${prefix}/bin 28 } 32 patchfiles patch-src-Makefile.darwin.diff 29 33 30 34 use_configure no 31 35 32 platforms darwin 36 variant universal {} 33 37 38 use_parallel_build yes 39 40 build.env CXX=${configure.cxx} \ 41 CXXFLAGS="[get_canonical_archflags cxx]" \ 42 LDFLAGS="[get_canonical_archflags ld]" 43 44 destroot.destdir INSTALL_BIN=${destroot}${prefix}/bin \ 45 INSTALL_DIR_DESK=${destroot}${prefix}/share/applications/ \ 46 INSTALL_DIR_ICON=${destroot}${prefix}/share/pixmaps/ -
files/patch-src-Makefile.darwin.diff
1 --- src/Makefile.darwin.orig 2010-05-27 12:36:34.000000000 -0500 2 +++ src/Makefile.darwin 2013-10-10 12:51:04.000000000 -0500 3 @@ -11,7 +11,7 @@ 4 XML_LIBS = $(shell pkg-config --libs libxml-2.0) 5 ZLIB_LIBS = -lz 6 7 -CXXFLAGS ?= ${GCC_FLAGS} 8 +CXXFLAGS += ${GCC_FLAGS} 9 CXXFLAGS += ${GTK_FLAGS} ${XML_FLAGS} 10 LDFLAGS += ${GTK_LIBS} ${PTH_LIBS} ${XML_LIBS} ${ZLIB_LIBS} 11