# 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: sed Version: 4.2.2 Revision: 1 Maintainer: Max Horn # Depends: libgettext8-shlibs, libiconv BuildDepends: libgettext8-dev, gettext-bin, gettext-tools, libiconv-dev, fink (>= 0.24.12-1) # Source: gnu Source-MD5: 4111de4faa3b9848a0686b2f260c5056 # ConfigureParams: --with-libiconv-prefix=%p --mandir=%p/share/man --infodir=%p/share/info --program-prefix=g InstallScript: << make install DESTDIR=%d mv %i/share/info/sed.info %i/share/info/gsed.info << DocFiles: README COPYING AUTHORS BUGS NEWS THANKS InfoDocs: gsed.info # PostInstScript: << update-alternatives --install %p/bin/sed sed %p/bin/gsed 40 --slave %p/share/man/man1/sed.1 sed.1 %p/share/man/man1/gsed.1 --slave %p/share/info/sed.info sed.info %p/share/info/gsed.info << PreRmScript: << if [ $1 != "upgrade" ]; then update-alternatives --remove sed %p/bin/gsed fi << InfoTest: TestScript: make check || exit 2 # Description: The stream editor, GNU version DescDetail: << Sed is a text stream editor that is commonly used to process text from shell scripts and makefiles. << DescPackaging: << Previous revisions by Christoph Pfisterer and Sylvain Cuaz. The patch works around an issue that occurs when e.g. setting LC_ALL=C; in that case, calling nl_langinfo(CODESET) on Mac OS X returns "US-ASCII", which gnulib maps to "UTF-8"; but in this situation, Mac OS X also overrides MB_CUR_MAX to be 1; this then leads to trouble. << License: GPL Homepage: http://www.gnu.org/software/sed/sed.html