description GNUstep makefile documentation
long_description ${description}
homepage http://www.gnustep.org/
depends_build port:gnustep-make \
bin:latex2html:latex2html \
bin:texi2html:texi2html \
master_sites gnustep:core
checksums md5 1d7a434e751c58c6390055c14ada302b
distname gnustep-make-${version}
worksrcdir ${distname}/Documentation
reinplace "s|FAQ|FAQs|g" \
${worksrcpath}/GNUmakefile
reinplace "s|GNUstep-HOWTO|GS-HOWTO|g" \
${worksrcpath}/GNUmakefile
destroot.args messages=yes
GNUSTEP_INSTALLATION_DIR=${destroot}${prefix}/GNUstep/System
system "cd ${worksrcpath} && \
. ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh \
${destroot.cmd} ${destroot.target} \
${destroot.args} ${destroot.destdir}"
foreach i { faq filesystem gnustep-howto machines userfaq } {
file copy ${worksrcpath}/$i \
${destroot}${prefix}/GNUstep/System/Library/Documentation/User/GNUstep
file copy ${worksrcpath}/make \
${destroot}${prefix}/GNUstep/System/Library/Documentation/Developer/Make/Manual