source: trunk/dports/textproc/openjade/Portfile @ 4802

Last change on this file since 4802 was 4802, checked in by toby, 16 years ago

MORE master_sites foobage!

Bug:
Submitted by:
Reviewed by:
Approved by:
Obtained from:

  • Property svn:eol-style set to native
File size: 1.9 KB
Line 
1# $Id: Portfile,v 1.14 2004/01/17 22:45:30 toby Exp $
2
3PortSystem 1.0
4name            openjade
5version         1.3.2
6revision        1
7categories      textproc
8maintainers     kevin@opendarwin.org
9description     James Clark's implementation of DSSSL
10homepage        http://openjade.sourceforge.net/
11platforms       darwin freebsd
12
13long_description OpenJade is an implementation of ISO/IEC 10179:1996 \
14                 standard DSSSL language.
15
16master_sites     sourceforge
17
18checksums       md5 7df692e3186109cc00db6825b777201e
19
20patchfiles      patch-Makefile.lib.in patch-Makefile.prog.in patch-ltmain.sh \
21                patch-configure
22
23depends_lib     lib:libosp.3:opensp
24depends_run     bin:mkcatalog:mkcatalog
25
26configure.args  --enable-http --enable-html --enable-mif \
27                --disable-dependency-tracking \
28                --enable-default-catalog=${prefix}/share/sgml/catalog \
29                --datadir=${prefix}/share/sgml/openjade
30
31configure.env   LDFLAGS="-L${prefix}/lib" LIBS="-L${prefix}/lib" \
32                CXXFLAGS="-I${prefix}/include -fno-rtti"
33
34post-configure  { reinplace "s|^#pragma implementation||g" ${worksrcpath}/grove/Node.cxx
35                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/msggen.pl
36                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/spgrove/GroveApp.cxx
37                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/style/MessageModule.cxx
38                  reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/EventGenerator.h
39                  reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/ParserEventGeneratorKit.h
40                  reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/SGMLApplication.h
41                  reinplace "s|^#pragma interface||g" ${worksrcpath}/grove/Node.h
42                  reinplace "s|^#pragma interface||g" ${worksrcpath}/msggen.pl
43                  reinplace "s|^#pragma interface||g" ${worksrcpath}/spgrove/GroveApp.h }
44
45destroot.target install install-man
46
47post-destroot   { system "install -d -m 755 ${destroot}${prefix}/share/sgml/openjade"
48                  system "install -m 644 ${worksrcpath}/dsssl/* ${destroot}${prefix}/share/sgml/openjade" }
Note: See TracBrowser for help on using the repository browser.