# $Id: Portfile 40563 2008-10-06 21:32:55Z jmr@macports.org $ PortSystem 1.0 name gnustep-make-docs version 1.13.0 revision 1 categories gnustep devel description GNUstep makefile documentation long_description ${description} platforms darwin maintainers nomaintainer homepage http://www.gnustep.org/ depends_build port:gnustep-make \ bin:latex2html:latex2html \ bin:texi2pdf:texinfo \ bin:texi2html:texi2html \ bin:pdftex:texlive master_sites gnustep:core checksums md5 1d7a434e751c58c6390055c14ada302b distname gnustep-make-${version} worksrcdir ${distname}/Documentation patch { reinplace "s|FAQ|FAQs|g" \ ${worksrcpath}/GNUmakefile reinplace "s|GNUstep-HOWTO|GS-HOWTO|g" \ ${worksrcpath}/GNUmakefile } use_configure no build.type gnu build {} destroot.args messages=yes destroot.destdir \ GNUSTEP_INSTALLATION_DIR=${destroot}${prefix}/GNUstep/System destroot { 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 }