Ticket #23910: siag-3.6.1-2.diff
File siag-3.6.1-2.diff, 2.1 KB (added by ryandesign (Ryan Carsten Schmidt), 15 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 5 5 name siag 6 version 3.6. 06 version 3.6.1 7 7 description Siag Office is a tightly integrated, free office package. 8 8 long_description Siag Office is a tightly integrated, free office package. \ 9 9 It consists of the spreadsheet Siag, the word processor PW, \ … … 14 14 platforms darwin 15 15 homepage http://siag.nu/ 16 16 master_sites ${homepage}/pub/siag/ 17 checksums md5 bb7bb66dc9d3659fd11cdbac61ea6e13 17 18 checksums md5 3d00dda22209327bb907ba78850c797f \ 19 sha1 5d47e0ee2562f41492a453eef75c0638369bc14d \ 20 rmd160 1779b1384956ab6c786de03d6babb21e47cd0e9f 21 18 22 depends_lib port:neXtaw \ 19 23 port:mowitz \ 20 24 port:XawM 25 26 pre-extract { 27 # siag 3.6.1 (at least) includes both Exec.c and exec.c in the xfiler directory. 28 # On case-insensitive filesystems, the latter overwrites the former. 29 # Therefore, manually extract the former and rename it. 30 system "cd ${workpath} && ${extract.cmd} ${extract.pre_args} ${distpath}/${distfiles} ${extract.post_args} ${distname}/xfiler/Exec.c" 31 file rename ${worksrcpath}/xfiler/Exec.c ${worksrcpath}/xfiler/Eexec.c 32 } 33 21 34 patchfiles patch-oledecod.c \ 22 35 patch-fileio_xls.c 36 37 post-patch { 38 reinplace {s|Exec\.|Eexec.|g} ${worksrcpath}/xfiler/Makefile.in 39 } 40 23 41 configure.cppflags-append -L${prefix}/lib 24 42 25 43 pre-configure { … … 27 45 ${worksrcpath}/stocks/currency.c \ 28 46 ${worksrcpath}/stocks/lists.c \ 29 47 ${worksrcpath}/stocks/history.c \ 30 ${worksrcpath}/stocks/stocks.c \ 31 ${worksrcpath}/antiword/antiword.h 48 ${worksrcpath}/stocks/stocks.c 32 49 }