the Fink project is an effort to port
popular Unix programs to Mac OS X
Info2: <<
Package: help2man-perl%type_pkg[custom]
Version: 1.33.1
Revision: 4
Architecture: (%type_pkg[custom] = 581) powerpc, (%type_pkg[custom] = 584) powerpc
Distribution: (%type_pkg[custom] = 581) 10.4, (%type_pkg[custom] = 584) 10.4
Source: mirror:gnu:help2man/help2man_%v.tar.gz
SourceDirectory: help2man-%v
Source-MD5: 4fd9c94cda2572735790e22e7fce3928
ConfigureParams: --infodir='%p/share/info' --mandir='%p/share/man'
Depends: texinfo (>= 4.1-3), locale-gettext-pm%type_pkg[custom]
BuildDepends: gettext-tools
Type: custom (5.8.1 5.8.4 5.8.6 5.8.8)
Provides: help2man
Replaces: help2man
Conflicts: help2man
CompileScript: <<
#!/bin/sh -ex
perl -pi.bak -e 's,-shared,-bundle,g' Makefile.in
#Need to build w/same perl as %type_raw[custom]
if [ -e %p/bin/perl%type_raw[custom] ]; then
./configure PERL=%p/bin/perl%type_raw[custom] %c
else
./configure PERL=/usr/bin/perl%type_raw[custom] %c
fi
# This lets it build with the %type_raw[custom] perl. It may possibly lose
# locale-gettext-pm%type_pkg[custom] at runtime, if thats not the default
# perl, but it'll still work anyway
perl -pi.bak -e 's/info preload/info /g' Makefile
perl -pi.bak -e 's/install_base install_preload/install_base /g' Makefile
make
<<
InstallScript: <<
#!/bin/sh -ev
make install DESTDIR=%d
<<
DocFiles: COPYING NEWS ChangeLog README THANKS
InfoDocs: help2man.info
Description: Generates man pages from program output
DescDetail: <<
help2man is intended to provide an easy way for software authors to
include a manual page in their distribution without having to maintain
that document. Given a program which produces resonably standard --help
and --version outputs, help2man will attempt to re-arrange that output
into something which resembles a manual page.
<<
License: GPL
Maintainer: Ben Hines
Homepage: http://www.gnu.org/software/help2man/
<<