Package: fortune-mod Version: 3.20.0 Revision: 1 Epoch: 1 Description: Fortune cookies on demand Maintainer: None License: BSD DescDetail: << The fortune package displays epigrams selected randomly from a selection of fortune files. This is an enhanced version of the BSD program. The data files (which can be shared) are contained in the 'fortunes-min', 'fortunes', and 'fortunes-off' packages. These are the machine-dependent parts of the fortune package, i.e. the fortune program and the programs used for generating the data files. << DescUsage: << To see a new fortune every time a Terminal window is opened, add the following line to ~/.login or ~/.bashrc: %p/bin/fortune << HomePage: https://www.shlomifish.org/open-source/projects/fortune-mod/ BuildDepends: << cmake, fink (>= 0.32), fink-buildenv-modules, fink-package-precedence, recode3-dev, rinutils << Depends: recode3-shlibs Recommends: fortunes-min, fortunes Suggests: fortune-cookie-db #Replaces: %n (<= 9708-3) Source: https://www.shlomifish.org/open-source/projects/fortune-mod/arcs/%n-%v.tar.xz Source-Checksum: SHA256(3101be95fb89c4848d483e72930da8d03f6925737a23d78803d6b55c42fe2094) SourceDirectory: %n-%v PatchFile: %n.patch PatchFile-MD5: ee811bfea8582bb0745453f76d9d6463 PatchScript: sed 's|@PREFIX@|%p|g' < %{PatchFile} | patch -p1 CompileScript: << #!/bin/sh -ev . %p/sbin/fink-buildenv-cmake.sh mkdir finkbuild cd finkbuild cmake $FINK_CMAKE_ARGS \ -DCMAKE_C_FLAGS="-MD -I%p/include" \ -DCOOKIEDIR=%p/share/fortunes \ -DLOCALDIR=%p/share/fortunes .. make all generate_man_page cd .. #/usr/bin/perl fortune/gen-fortune-man-page.pl --cookiedir %p/share/fortunes --ocookiedir %p/share/fortunes/off --output fortune/fortune.6 fink-package-precedence --depfile-ext='\.d' . << InfoTest: << # hardcode a specific perl to avoid macOS specific tests # make sure to edit path in %{PatchFile} TestDepends: << perl5282-core, path-tiny-pm5282, file-find-object-pm5282, test-differences-pm << TestScript: << #!/bin/sh -ev rm tests/t/valgrind.t # Valgrind not yet available through Fink... cd finkbuild make check || exit 2 << << InstallScript: << #!/bin/sh -ev cd finkbuild make install DESTDIR=%d cd %i/share/man/man1; gzip -6 strfile.1 << PostInstScript: << echo echo " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *" echo "NOTE:" echo echo "At least one of the following additional packages MUST be" echo "installed before fortune-mod can provide fortune cookies:" echo echo " fortunes-min" echo " fortunes" echo " fortunes-de" echo " fortunes-off" echo echo " * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *" << DocFiles: << ChangeLog cookie-files COPYING.txt INDEX Notes Offensive README TODO << Splitoff: << Package: fortunes-off Description: Files of offensive fortune cookies DescDetail: << This package contains 'fortune cookies' which some may consider to be offensive. Please do not install this package if you or your users are easily offended. You'll need the fortune-mod package to display the cookies. << Provides: fortune-cookie-db Recommends: %N Files: share/fortunes/off DocFiles: << ChangeLog cookie-files COPYING.txt INDEX Notes Offensive README TODO << << Splitoff2: << Package: fortunes-min Description: Files of the basic fortune cookie set DescDetail: << This package contains a small number of 'fortune cookies' for the bandwidth conscious. There are over 15000 different 'fortune cookies' in the fortunes package. You'll need the fortune-mod package to display the cookies. << Provides: fortune-cookie-db Recommends: %N Files: << share/fortunes/fortunes share/fortunes/fortunes.dat share/fortunes/fortunes.u8 share/fortunes/literature share/fortunes/literature.dat share/fortunes/literature.u8 share/fortunes/riddles share/fortunes/riddles.dat share/fortunes/riddles.u8 << DocFiles: << ChangeLog cookie-files COPYING.txt INDEX Notes Offensive README TODO << << Splitoff3: << Package: fortunes Description: Data files containing fortune cookies DescDetail: << There are by far over 15000 different 'fortune cookies' in this package. You'll need the fortune-mod package to display the cookies. << Provides: fortune-cookie-db Recommends: %N Files: share/fortunes DocFiles: << ChangeLog cookie-files COPYING.txt INDEX Notes Offensive README TODO << << DescPackaging: << Original maintainer: Carsten Klapp <<