source: trunk/dports/gnustep/gnustep-make-docs/Portfile @ 65670

Last change on this file since 65670 was 40563, checked in by jmr@…, 12 years ago

gnustep-make-docs: add missing required variables

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.5 KB
Line 
1# $Id: Portfile 40563 2008-10-06 21:32:55Z jmr@macports.org $
2
3PortSystem  1.0
4
5name                    gnustep-make-docs
6version                 1.13.0
7revision                        1
8categories          gnustep devel
9description             GNUstep makefile documentation
10long_description        ${description}
11platforms               darwin
12maintainers             nomaintainer
13homepage                        http://www.gnustep.org/
14
15depends_build       port:gnustep-make \
16                    bin:latex2html:latex2html \
17                    bin:texi2pdf:texinfo \
18                    bin:texi2html:texi2html \
19                    bin:pdftex:texlive
20 
21master_sites            gnustep:core
22 
23checksums                       md5 1d7a434e751c58c6390055c14ada302b
24distname            gnustep-make-${version}
25worksrcdir          ${distname}/Documentation
26
27patch {
28    reinplace "s|FAQ|FAQs|g" \
29        ${worksrcpath}/GNUmakefile
30    reinplace "s|GNUstep-HOWTO|GS-HOWTO|g" \
31        ${worksrcpath}/GNUmakefile
32}
33
34use_configure   no
35build.type      gnu
36build {}
37
38destroot.args       messages=yes
39destroot.destdir \
40    GNUSTEP_INSTALLATION_DIR=${destroot}${prefix}/GNUstep/System
41destroot {
42    system "cd ${worksrcpath} && \
43        . ${prefix}/GNUstep/System/Library/Makefiles/GNUstep.sh \
44        && \
45        ${destroot.cmd} ${destroot.target} \
46            ${destroot.args} ${destroot.destdir}"
47    foreach i { faq filesystem gnustep-howto machines userfaq } {
48        file copy ${worksrcpath}/$i \
49                ${destroot}${prefix}/GNUstep/System/Library/Documentation/User/GNUstep
50    }
51    file copy ${worksrcpath}/make \
52                ${destroot}${prefix}/GNUstep/System/Library/Documentation/Developer/Make/Manual
53}
Note: See TracBrowser for help on using the repository browser.