gkrellm2 stable port information

Package: gkrellm2
Version: 2.3.2
Revision: 1012
Maintainer: Ben Hines
Source: mirror:custom:gkrellm-%v.tar.bz2
SourceDirectory: gkrellm-%v
CustomMirror: <<
nam-us: http://members.dslextreme.com/users/billw/gkrellm/
<<
Source-MD5: d5543a439ee77950282d06b000048be7
PatchFile: %n.patch
PatchFile-MD5: 2f14e8988800191b15f6159c65def5ed
Conflicts: gkrellm
Depends: gtk+2-shlibs (>= 2.16.0-1), glib2-shlibs (>= 2.20.0-1), libgettext3-shlibs
BuildDepends: glitz, expat1, libpng3, cairo (>= 1.8-1), fontconfig2-dev (>= 2.4.1-1), freetype219 (>= 2.3.8-2), xft2-dev, gtk+2-dev (>= 2.16.0-1), glib2-dev (>= 2.20.0-1), pkgconfig (>= 0.21-1), atk1 (>= 1.24.0-1), libgettext3-dev, gettext-bin, gettext-tools, libiconv-dev, pango1-xft2-ft219-dev (>= 1.24.0-1), pixman (>= 0.16.0-1), x11-dev, system-openssl-dev, fink (>= 0.24.12)
SetCFLAGS: -DHAVE_GETADDRINFO -DSYSTEM_PLUGINS_DIR=\"%p/lib/%n/plugins\" -DSYSTEM_THEMES_DIR=\"%p/lib/%n/themes\"
CompileScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/system-openssl/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
make enable_nls=0 darwin9 INSTALLROOT=%p
<<
InstallScript: <<
#!/bin/sh -ev
export PKG_CONFIG_PATH="%p/lib/system-openssl/lib/pkgconfig:%p/lib/fontconfig2/lib/pkgconfig:$PKG_CONFIG_PATH"
mkdir -p %i/bin %i/include %i/share/man/man1
make install_darwin INSTALLROOT=%i
#make install_darwin MANDIR=%i/share/man/man1 INSTALLDIR=%i/bin LOCALEDIR=%i/share/locale INCLUDEDIR=%i/include
<<
Splitoff: <<
Package: %N-dev
BuildDependsOnly: True
Files: include lib
# This package is quite useless, as it can never be swapped out.
# The binary is needed to compile.
# Workaround for stupid fink validation.
<<
DocFiles: README COPYRIGHT Changelog* Themes.html
Description: System monitor stack for GTK+2
DescDetail: <<
GKrellM is a single process stack of system monitors which supports
applying themes to match its appearance to your window manager, Gtk,
or any other theme. There are also many third party plugins that can
monitor a wide variety of things.

This is the GTK+2 version.
<<
DescUsage: <<
Get themes at http://www.muhri.net/gkrellm/ and place them in your
~/.gkrellm/themes directory to use them.
<<
Homepage: http://members.dslextreme.com/users/billw/gkrellm/gkrellm.html
License: GPL
DescPackaging: <<
dmacks: patched to make sure we get OSX openssl (consistent build,
avoid being in section:crypto, avoid license:restrictive)

dmacks: need to make sure Makefile exits if subprocess fails
<<

gkrellm2 stable port .patch

diff -Nurd -x'*~' gkrellm-2.3.2.orig/src/Makefile gkrellm-2.3.2/src/Makefile
--- gkrellm-2.3.2.orig/src/Makefile 2008-10-03 20:22:09.000000000 -0400
+++ gkrellm-2.3.2/src/Makefile 2009-12-16 03:28:39.000000000 -0500
@@ -75,8 +75,8 @@

GKRELLM_INCLUDES = gkrellm.h gkrellm-public-proto.h $(SHARED_PATH)/log.h

-PKG_INCLUDE = `$(PKG_CONFIG) --cflags gtk+-2.0 gthread-2.0`
-PKG_LIB = `$(PKG_CONFIG) --libs gtk+-2.0 gthread-2.0`
+PKG_INCLUDE = `$(PKG_CONFIG) --cflags openssl gtk+-2.0 gthread-2.0`
+PKG_LIB = `$(PKG_CONFIG) --libs openssl gtk+-2.0 gthread-2.0`

FLAGS = -O2 -I.. -I$(SHARED_PATH) $(PKG_INCLUDE) $(GTOP_INCLUDE) $(PTHREAD_INC) \
-DGKRELLM_CLIENT

gkrellm2 _unstable_ port .patch