1 | # $Id: Portfile,v 1.15 2006/01/25 09:01:46 olegb Exp $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | name openjade |
---|
5 | version 1.3.2 |
---|
6 | revision 1 |
---|
7 | categories textproc |
---|
8 | maintainers kevin@opendarwin.org |
---|
9 | description James Clark's implementation of DSSSL |
---|
10 | homepage http://openjade.sourceforge.net/ |
---|
11 | platforms darwin freebsd |
---|
12 | |
---|
13 | long_description OpenJade is an implementation of ISO/IEC 10179:1996 \ |
---|
14 | standard DSSSL language. |
---|
15 | |
---|
16 | master_sites sourceforge |
---|
17 | |
---|
18 | checksums md5 7df692e3186109cc00db6825b777201e |
---|
19 | |
---|
20 | patchfiles patch-Makefile.lib.in patch-Makefile.prog.in patch-ltmain.sh \ |
---|
21 | patch-configure |
---|
22 | |
---|
23 | depends_lib lib:libosp.3:opensp |
---|
24 | depends_run bin:mkcatalog:mkcatalog |
---|
25 | |
---|
26 | configure.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 | |
---|
31 | configure.env LDFLAGS="-L${prefix}/lib" LIBS="-L${prefix}/lib" CC=gcc CXX=g++ \ |
---|
32 | CXXFLAGS="-I${prefix}/include -fno-rtti" |
---|
33 | #CXXFLAGS="-I${prefix}/include -no-cpp-precomp -fno-common -fno-rtti" |
---|
34 | |
---|
35 | post-configure { reinplace "s|^#pragma implementation||g" ${worksrcpath}/grove/Node.cxx |
---|
36 | reinplace "s|^#pragma implementation||g" ${worksrcpath}/msggen.pl |
---|
37 | reinplace "s|^#pragma implementation||g" ${worksrcpath}/spgrove/GroveApp.cxx |
---|
38 | reinplace "s|^#pragma implementation||g" ${worksrcpath}/style/MessageModule.cxx |
---|
39 | reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/EventGenerator.h |
---|
40 | reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/ParserEventGeneratorKit.h |
---|
41 | reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/SGMLApplication.h |
---|
42 | reinplace "s|^#pragma interface||g" ${worksrcpath}/grove/Node.h |
---|
43 | reinplace "s|^#pragma interface||g" ${worksrcpath}/msggen.pl |
---|
44 | reinplace "s|^#pragma interface||g" ${worksrcpath}/spgrove/GroveApp.h |
---|
45 | reinplace "s|CXX=|CXX=g++|g" ${worksrcpath}/libtool |
---|
46 | } |
---|
47 | |
---|
48 | destroot.target install install-man |
---|
49 | |
---|
50 | post-destroot { system "install -d -m 755 ${destroot}${prefix}/share/sgml/openjade" |
---|
51 | system "install -m 644 ${worksrcpath}/dsssl/* ${destroot}${prefix}/share/sgml/openjade" } |
---|