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: sng
Version: 1.0.5
Revision: 1
Maintainer: Max Horn
Source: mirror:sourceforge:%n/%n-%v.tar.gz
Source-MD5: 798502dcc90511d547549d9b3504b4af
BuildDepends: libpng3, fink (>= 0.24.12)
Depends: libpng3-shlibs
PatchFile: %n.patch
PatchFile-MD5: b5c21aea4b5e452e54adbdf2e269bf2b
ConfigureParams: --mandir=%p/share/man
InstallScript: make install DESTDIR=%d
DocFiles: README INSTALL ChangeLog COPYING NEWS AUTHORS
Description: Markup language for representing PNG contents
DescDetail: <<
SNG (Scriptable Network Graphics) is a minilanguage designed
specifically to represent the entire contents of a PNG
(Portable Network Graphics) file in an editable form. Thus,
SNGs representing elaborate graphics images and ancillary
chunk data can be readily generated or modified using only
text tools.
SNG is implemented by a compiler/decompiler called sng that
losslessly translates between SNG and PNG
<<
DescPort: Uses autoconf. Provided under the libpng/zlib license.
DescPackaging: <<
The configure patch ensures that rgb.txt is found in more locations,
in particular, that it is found on 10.5.
<<
License: OSI-Approved
Homepage: http://sng.sourceforge.net/
diff -ruN sng-1.0.5/configure sng-1.0.5-patched//configure
--- sng-1.0.5/configure 2010-11-22 21:46:24.000000000 +0100
+++ sng-1.0.5-patched//configure 2011-02-12 19:50:15.000000000 +0100
@@ -4043,7 +4043,7 @@
_ACEOF
else
- for dir in /etc/X11/ /usr/share/X11/rgb.txt /usr/X11R6/lib/X11 /usr/lib/X11 /usr/openwin/lib
+ for dir in /etc/X11/ /usr/share/X11/rgb.txt /usr/X11R6/lib/X11 /usr/lib/X11 /usr/openwin/lib /usr/X11/share/X11
do
if test -f ${dir}/rgb.txt
then