[112195] trunk/dports/games/gtkevemon
ryandesign at macports.org
ryandesign at macports.org
Mon Oct 14 20:06:37 PDT 2013
Revision: 112195
https://trac.macports.org/changeset/112195
Author: ryandesign at macports.org
Date: 2013-10-14 20:06:36 -0700 (Mon, 14 Oct 2013)
Log Message:
-----------
gtkevemon: update the port to 1.8, ensure it's UsingTheRightCompiler and -arch flags, and add universal variant (#30190); fixes fetch failure (#40728); fixes build failure (#29354) (maintainer timeout)
Modified Paths:
--------------
trunk/dports/games/gtkevemon/Portfile
Added Paths:
-----------
trunk/dports/games/gtkevemon/files/
trunk/dports/games/gtkevemon/files/patch-src-Makefile.darwin.diff
Modified: trunk/dports/games/gtkevemon/Portfile
===================================================================
--- trunk/dports/games/gtkevemon/Portfile 2013-10-15 02:12:43 UTC (rev 112194)
+++ trunk/dports/games/gtkevemon/Portfile 2013-10-15 03:06:36 UTC (rev 112195)
@@ -4,30 +4,43 @@
PortSystem 1.0
name gtkevemon
-version 99
+epoch 1
+version 1.8
categories games
+platforms darwin
maintainers gmail.com:jameslpoter
+license GPL-3+
+
description GTK Eve-Online monitor
+
long_description GtkEveMon is a skill monitoring standalone application \
for GNU/Linux systems. With GtkEveMon you can monitor \
your current skills and your skill training process \
without starting EVE-Online.
homepage http://gtkevemon.battleclinic.com/
-use_parallel_build yes
-worksrcdir gtkevemon
+master_sites ${homepage}releases/
+distfiles ${name}-${version}-source${extract.suffix}
-depends_lib port:gtkmm port:libxml2
+checksums rmd160 7420a9fd78377e93b97561b066b1561ec909f30b \
+ sha256 32faf51b5b84f7e055dd47b7c43f722613b5c6cfbd8ec6a47cada75e686300c7
-fetch.type svn
-svn.url svn://svn.battleclinic.com/GTKEVEMon/trunk/gtkevemon
-svn.revision ${version}
+depends_lib port:gtkmm \
+ port:libxml2 \
+ port:zlib
-destroot {
- xinstall -W ${worksrcpath}/src -m 755 gtkevemon ${destroot}${prefix}/bin
-}
+patchfiles patch-src-Makefile.darwin.diff
use_configure no
-platforms darwin
+variant universal {}
+use_parallel_build yes
+
+build.env CXX=${configure.cxx} \
+ CXXFLAGS="[get_canonical_archflags cxx]" \
+ LDFLAGS="[get_canonical_archflags ld]"
+
+destroot.destdir INSTALL_BIN=${destroot}${prefix}/bin \
+ INSTALL_DIR_DESK=${destroot}${prefix}/share/applications/ \
+ INSTALL_DIR_ICON=${destroot}${prefix}/share/pixmaps/
Added: trunk/dports/games/gtkevemon/files/patch-src-Makefile.darwin.diff
===================================================================
--- trunk/dports/games/gtkevemon/files/patch-src-Makefile.darwin.diff (rev 0)
+++ trunk/dports/games/gtkevemon/files/patch-src-Makefile.darwin.diff 2013-10-15 03:06:36 UTC (rev 112195)
@@ -0,0 +1,11 @@
+--- src/Makefile.darwin.orig 2010-05-27 12:36:34.000000000 -0500
++++ src/Makefile.darwin 2013-10-10 12:51:04.000000000 -0500
+@@ -11,7 +11,7 @@
+ XML_LIBS = $(shell pkg-config --libs libxml-2.0)
+ ZLIB_LIBS = -lz
+
+-CXXFLAGS ?= ${GCC_FLAGS}
++CXXFLAGS += ${GCC_FLAGS}
+ CXXFLAGS += ${GTK_FLAGS} ${XML_FLAGS}
+ LDFLAGS += ${GTK_LIBS} ${PTH_LIBS} ${XML_LIBS} ${ZLIB_LIBS}
+
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131014/d58bc160/attachment.html>
More information about the macports-changes
mailing list