the Fink project is an effort to port
popular Unix programs to Mac OS X
# DISCLAIMER: Max Horn is the sole maintainer of this package.
# Please DO NOT MAKE MODIFICATIONS without informing the maintainer.
# Preferably, send a patch to me instead of making changes yourself!
# If that is not possible due to extra urgency, at least send me a mail.
#
# Explanation: I am sick and tired of getting back to my packages and
# discovering that people have messed with it. I am then forced to
# retrace their steps, find out who, when and why did make a certain
# change etc. -- i.e. it makes my life as maintainer harder.
# Furthermore, as maintainer I am responsible for problems caused by my
# packages. But I am not willing to take responsibility for something I
# did not do. In particular, for changes that other people introduced
# behind my back, no matter how good and noble their intentions were. As
# such, I may see myself forced to drop responsibility for (and hence,
# maintainership of) the affected package.
Package: kseg
Version: 0.403
Revision: 1021
Maintainer: Max Horn
BuildDepends: <<
fink (>= 0.24.12),
libjpeg,
libpng3,
qt3 (>= 3.3.5-1023)
<<
Depends: <<
libjpeg-shlibs,
libpng3-shlibs,
qt3-shlibs (>= 3.3.5-1023)
<<
Source: http://www.mit.edu/~ibaran/%n-%v.tar.gz
SourceDirectory: %n
Source-MD5: 5474516091e5c4206179cfa03bb7c263
GCC: 4.0
PatchFile: %n.patch
PatchFile-MD5: 102386a76077deccbf71f604596350a1
PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1
CompileScript: <<
qmake
make
<<
InstallScript: <<
mkdir -p %i/bin
install -m 755 kseg %i/bin/
mkdir -p %i/share/qt3/translations/
install -m 644 kseg_help_*.html %i/share/qt3/translations/
install -m 644 *.qm %i/share/qt3/translations/
mkdir -p %i/share/doc/%n/examples/
install -m 644 examples/* %i/share/doc/%n/examples/
<<
DocFiles: AUTHORS COPYING README VERSION
Description: Program for exploring Euclidean geometry
DescPackaging: <<
Has no configure script -> we only call 'make' in the compile phase.
Has no 'make install' target -> we install all files manually.
<<
Homepage: http://www.mit.edu/~ibaran/kseg.html
License: GPL
diff -ru kseg-0.4/main.cpp kseg-0.4-patched/main.cpp
--- kseg-0.4/main.cpp 2003-04-19 04:50:13.000000000 +0200
+++ kseg-0.4-patched/main.cpp 2003-12-30 03:28:17.000000000 +0100
@@ -37,7 +37,7 @@
//set some default properties
KSegProperties::setPropertyDefault("Language", "");
- KSegProperties::setPropertyDefault("LanguageDir", ".");
+ KSegProperties::setPropertyDefault("LanguageDir", "@PREFIX@/share/qt3/translations");
KSegProperties::setPropertyDefault("SelectType", "BorderSelect");
KSegProperties::setPropertyDefault("QuickPlayDirectory", ".");
KSegProperties::setPropertyDefault("RecentListSize", "4");