source: trunk/dports/textproc/opensp/Portfile @ 2128

Last change on this file since 2128 was 2128, checked in by mij, 17 years ago

Add CVS Id tags.

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