source: trunk/dports/textproc/opensp/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: 13.2 KB
Line 
1# $Id: Portfile,v 1.4 2004/01/17 22:45:30 toby Exp $
2
3PortSystem 1.0
4name            opensp
5version         1.5
6revision        1
7categories      textproc
8maintainers     mij@opendarwin.org
9description     Collection of SGML/XML tools
10homepage        http://openjade.sourceforge.net/
11platforms       darwin
12
13long_description OpenSP is a collection of SGML/XML tools that has \
14                 forked from James Clark's SP suite.  These tools area \
15                 used to parse, validate, and normalize SGML and XML \
16                 files.
17
18master_sites     sourceforge:openjade
19distname        OpenSP-${portversion}
20
21checksums       md5 87f56e79ae0c20397f4207d61d154303
22
23patchfiles      patch-configure patch-include-Text.h patch-lib-Text.cxx
24
25depends_lib     lib:libintl.1:gettext
26
27configure.args  --enable-http --disable-dependency-tracking \
28                --enable-default-catalog=${prefix}/share/sgml/catalog \
29                --mandir=${prefix}/share/man
30
31configure.env   LDFLAGS="-L${prefix}/lib" LIBS="-L${prefix}/lib -lintl"
32
33post-configure  { reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ArcEngine.cxx
34                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Attribute.cxx
35                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/CharsetDecl.cxx
36                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/CharsetInfo.cxx
37                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/CharsetRegistry.cxx
38                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/CmdLineApp.cxx
39                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/CodingSystem.cxx
40                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/CodingSystemKit.cxx
41                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ConsoleOutput.cxx
42                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ContentState.cxx
43                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ContentToken.cxx
44                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Dtd.cxx
45                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ElementType.cxx
46                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Entity.cxx
47                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/EntityApp.cxx
48                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/EntityCatalog.cxx
49                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/EntityDecl.cxx
50                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/EntityManager.cxx
51                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ErrorCountEventHandler.cxx
52                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Event.cxx
53                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/EventGenerator.cxx
54                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ExtendEntityManager.cxx
55                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ExternalId.cxx
56                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/GenericEventHandler.cxx
57                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Group.cxx
58                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Hash.cxx
59                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Id.cxx
60                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/InputSource.cxx
61                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/InternalInputSource.cxx
62                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/LinkProcess.cxx
63                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/LiteralStorage.cxx
64                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Location.cxx
65                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Lpd.cxx
66                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Markup.cxx
67                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Message.cxx
68                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/MessageArg.cxx
69                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/MessageFormatter.cxx
70                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/MessageReporter.cxx
71                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/MessageTable.cxx
72                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ModeInfo.cxx
73                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Notation.cxx
74                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/NotationStorage.cxx
75                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/NumericCharRefOrigin.cxx
76                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/OpenElement.cxx
77                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/OutputState.cxx
78                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Param.cxx
79                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Parser.cxx
80                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ParserApp.cxx
81                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ParserEventGeneratorKit.cxx
82                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ParserMessages.cxx
83                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ParserOptions.cxx
84                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ParserState.cxx
85                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Partition.cxx
86                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/PosixStorage.cxx
87                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Recognizer.cxx
88                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/RewindStorageObject.cxx
89                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Sd.cxx
90                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/SdText.cxx
91                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/SearchResultMessageArg.cxx
92                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/SGMLApplication.cxx
93                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/SgmlParser.cxx
94                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/ShortReferenceMap.cxx
95                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/SOEntityCatalog.cxx
96                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/StdioStorage.cxx
97                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/StorageManager.cxx
98                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Syntax.cxx
99                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Text.cxx
100                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/TokenMessageArg.cxx
101                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/TrieBuilder.cxx
102                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Undo.cxx
103                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/UnivCharsetDesc.cxx
104                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/URLStorage.cxx
105                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/Win32CodingSystem.cxx
106                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/lib/XMLCodingSystem.cxx
107                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/msggen.pl
108                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/msggen.pl.in
109                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/nsgmls/RastEventHandler.cxx
110                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/sgmlnorm/SGMLGenerator.cxx
111                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/spam/CopyEventHandler.cxx
112                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/spam/MarkupEventHandler.cxx
113                  reinplace "s|^#pragma implementation||g" ${worksrcpath}/sx/XmlOutputEventHandler.cxx
114                  reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/EventGenerator.h
115                  reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/ParserEventGeneratorKit.h
116                  reinplace "s|^#pragma interface||g" ${worksrcpath}/generic/SGMLApplication.h
117                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ArcEngine.h
118                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Attribute.h
119                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/CharsetDecl.h
120                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/CharsetInfo.h
121                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/CharsetRegistry.h
122                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/CmdLineApp.h
123                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/CodingSystem.h
124                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/CodingSystemKit.h
125                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ConsoleOutput.h
126                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ContentState.h
127                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ContentToken.h
128                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Dtd.h
129                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ElementType.h
130                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Entity.h
131                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/EntityApp.h
132                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/EntityCatalog.h
133                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/EntityDecl.h
134                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/EntityManager.h
135                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ErrorCountEventHandler.h
136                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Event.h
137                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ExtendEntityManager.h
138                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ExternalId.h
139                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/GenericEventHandler.h
140                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Hash.h
141                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/InputSource.h
142                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/InternalInputSource.h
143                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/LinkProcess.h
144                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/LiteralStorage.h
145                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Location.h
146                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Lpd.h
147                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Markup.h
148                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Message.h
149                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/MessageArg.h
150                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/MessageFormatter.h
151                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/MessageReporter.h
152                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/MessageTable.h
153                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Notation.h
154                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/NotationStorage.h
155                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/OpenElement.h
156                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ParserApp.h
157                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ParserOptions.h
158                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/PosixStorage.h
159                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Sd.h
160                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/SdText.h
161                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/SearchResultMessageArg.h
162                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/SgmlParser.h
163                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/ShortReferenceMap.h
164                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/SOEntityCatalog.h
165                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/StdioStorage.h
166                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/StorageManager.h
167                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Syntax.h
168                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Text.h
169                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/UnivCharsetDesc.h
170                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/URLStorage.h
171                  reinplace "s|^#pragma interface||g" ${worksrcpath}/include/Win32CodingSystem.h
172                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/Group.h
173                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/Id.h
174                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/ModeInfo.h
175                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/NumericCharRefOrigin.h
176                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/OutputState.h
177                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/Param.h
178                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/Parser.h
179                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/ParserMessages.h
180                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/ParserState.h
181                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/Partition.h
182                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/Recognizer.h
183                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/TokenMessageArg.h
184                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/TrieBuilder.h
185                  reinplace "s|^#pragma interface||g" ${worksrcpath}/lib/Undo.h
186                  reinplace "s|^#pragma interface||g" ${worksrcpath}/msggen.pl
187                  reinplace "s|^#pragma interface||g" ${worksrcpath}/msggen.pl.in
188                  reinplace "s|^#pragma interface||g" ${worksrcpath}/nsgmls/RastEventHandler.h
189                  reinplace "s|^#pragma interface||g" ${worksrcpath}/sgmlnorm/SGMLGenerator.h
190                  reinplace "s|^#pragma interface||g" ${worksrcpath}/spam/CopyEventHandler.h
191                  reinplace "s|^#pragma interface||g" ${worksrcpath}/spam/MarkupEventHandler.h
192                  reinplace "s|^#pragma interface||g" ${worksrcpath}/sx/XmlOutputEventHandler.h }
Note: See TracBrowser for help on using the repository browser.