forked from macports/macports-ports
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathPortfile
121 lines (111 loc) · 5.83 KB
/
Portfile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
PortSystem 1.0
PortGroup texlive 1.0
name ptex-sfmacros
version 0
revision 1
categories tex print japanese
maintainers nomaintainer
description Tategumi/Tateyoko/Kunten packages written by Shinsaku Fujita.
long_description {*}${description}
platforms darwin
homepage http://homepage3.nifty.com/xymtex/fujitas2/texlatex/
master_sites http://homepage3.nifty.com/xymtex/fujitas2/texlatex/tategumi/:tategumi \
http://homepage3.nifty.com/xymtex/fujitas2/texlatex/tateyoko/:tateyoko \
http://homepage3.nifty.com/xymtex/fujitas2/texlatex/kunten/:kunten
distfiles furikana.sty:tategumi \
furiknkt.sty:tategumi \
tnamisen.sty:tategumi \
tsayusen.sty:tategumi \
tundline.sty:tategumi \
j-uline.sty:tategumi \
jundline.sty:tategumi \
kyakuchu.sty:tategumi \
tochu.sty:tategumi \
kochu.sty:tategumi \
warichu.sty:tategumi \
sfkanbun.sty:tategumi \
burasage.sty:tategumi \
shiika.sty:tategumi \
tkokugo.sty:tategumi \
\
anaume.sty:tateyoko \
daijihng.sty:tateyoko \
daihon.sty:tateyoko \
haiku.sty:tateyoko \
jdkintou.sty:tateyoko \
sfdanrak.sty:tateyoko \
sfletter.sty:tateyoko \
sfrreki.sty:tateyoko \
sfrreki2.sty:tateyoko \
sfseikyu.sty:tateyoko \
sftabulr.sty:tateyoko \
tatesuji.sty:tateyoko \
\
sfsyoten.lzh:kunten \
sfoikomi.lzh:kunten
checksums furikana.sty rmd160 b52a3b1e3a263802a4d17330f4908f5a8c0c1fd9 \
furiknkt.sty rmd160 c111775ac56f5c3125db928d667a8e52e8704eba \
tnamisen.sty rmd160 6bc8d4e5da61920a85d92aab8da5b2f2da8e036e \
tsayusen.sty rmd160 68d9c7345242d7f35f597ed52c9daca8cddff289 \
tundline.sty rmd160 1f9ca766fd6128cd86c9ed41d8536a69864c6ec3 \
j-uline.sty rmd160 7b7e538ad27021af50417d0764d50ee4819175bd \
jundline.sty rmd160 5f4a6ee5a11521cb5d4c8283097ada77bc078364 \
kyakuchu.sty rmd160 a9e2111f27f97312257ef296fd0f9566a56cff63 \
tochu.sty rmd160 c58bb2f823a0f6423a4c4436ee94b42526b27119 \
kochu.sty rmd160 a7ab69fbb7b61a1bf015d21c57872bbcda5d8a16 \
warichu.sty rmd160 a4aefb80b7fac7aa9ac83156815e774baa659382 \
sfkanbun.sty rmd160 09f7af10b9ffbcc1681a971d3d576ba5bf84c2ee \
burasage.sty rmd160 d36fc140842cc2ed62200361e44458c334087721 \
shiika.sty rmd160 d12bb5b93db7258e577f6edb1a60636ce7e347c2 \
tkokugo.sty rmd160 ed27a9290dc4f3ffa9836b7e006f363f93d93120 \
\
anaume.sty rmd160 78ea3892e15374b32f7260232090117b307044b0 \
daijihng.sty rmd160 3544e63efc32d45e482e8d06fcee7ab6075881b4 \
daihon.sty rmd160 fca897e21ae03a5db8352489a282b10cc810286e \
haiku.sty rmd160 a15a915055789c9dc4b7899525148b83a35b264f \
jdkintou.sty rmd160 e0849c0faecd5f1750e0dd5cbaa6af87cb6aac93 \
sfdanrak.sty rmd160 43e595e064b3186c164c97e013ac129e658c86f3 \
sfletter.sty rmd160 f890c0181d6204c5d1b98c0df2812bdb347160fa \
sfrreki.sty rmd160 12c4d5ccda346bc7eb2f2d45de44cfc54fa48d85 \
sfrreki2.sty rmd160 7ce24864ad903d5c626fd62f6cb235722abbf131 \
sfseikyu.sty rmd160 881597c43494404e49c94a91c7c2225c9a5521d7 \
sftabulr.sty rmd160 1e19c5897a87694e278468cf88a4584e343a139d \
tatesuji.sty rmd160 d979833d9a1ee25716a219cdafc68f9d38137e2e \
\
sfsyoten.lzh rmd160 064eebbf7c64745fbaa740b372272005a2cedcd1 \
sfoikomi.lzh rmd160 16e28d78cf135987d03edcf4614541dcbd78ee49
depends_build port:lha \
port:nkf \
port:texlive-common
depends_run port:texlive-common
extract.only
use_configure no
build {
file mkdir ${worksrcpath}/tategumi
foreach f {furikana.sty furiknkt.sty tnamisen.sty tsayusen.sty tundline.sty j-uline.sty jundline.sty kyakuchu.sty tochu.sty kochu.sty warichu.sty sfkanbun.sty burasage.sty shiika.sty tkokugo.sty} {
system "cat ${distpath}/${f} | nkf -j -Lu > ${worksrcpath}/tategumi/${f}"
}
file mkdir ${worksrcpath}/tateyoko
foreach f {anaume.sty daijihng.sty daihon.sty haiku.sty jdkintou.sty sfdanrak.sty sfletter.sty sfrreki.sty sfrreki2.sty sfseikyu.sty sftabulr.sty tatesuji.sty} {
system "cat ${distpath}/${f} | nkf -j -Lu > ${worksrcpath}/tateyoko/${f}"
}
foreach d {sfsyoten sfoikomi} {
system "lha x ${distpath}/${d}.lzh -w=${worksrcpath}"
foreach f [glob ${worksrcpath}/${d}/*.{1st,sty,tex}] {
file rename ${f} ${f}_
system "cat ${f}_ | nkf -j -Lu > ${f}"
delete ${f}_
}
}
}
destroot {
foreach d {tategumi tateyoko sfsyoten sfoikomi} {
set dir ${destroot}${texlive_texmfports}/ptex/platex/fujita/${d}
xinstall -m 0755 -d ${dir}
xinstall -m 0644 {*}[glob ${worksrcpath}/${d}/*] ${dir}
}
}
post-activate {
texlive.mktexlsr
}