1 | # $Id: Portfile 36283 2008-04-25 13:35:43Z jmr@macports.org $ |
---|
2 | |
---|
3 | PortSystem 1.0 |
---|
4 | |
---|
5 | name revtex |
---|
6 | version 4-1 |
---|
7 | categories print |
---|
8 | platforms darwin |
---|
9 | maintainers nomaintainer |
---|
10 | description The American Physical Society's TeX macros |
---|
11 | long_description \ |
---|
12 | TeX macros for preparing papers in the styles used \ |
---|
13 | by the American Physical Society's journals. |
---|
14 | |
---|
15 | set major [lindex [split ${version} -] 0] |
---|
16 | homepage http://authors.aps.org/${name}${major} |
---|
17 | master_sites ${homepage} |
---|
18 | |
---|
19 | distname ${name}${version} |
---|
20 | |
---|
21 | checksums md5 dd6306258fb783bd88fea9e261684d08 |
---|
22 | |
---|
23 | depends_run bin:texhash:texlive |
---|
24 | |
---|
25 | use_configure no |
---|
26 | build { } |
---|
27 | |
---|
28 | set latex_local ${prefix}/share/texmf-local/tex/latex |
---|
29 | |
---|
30 | destroot { file mkdir ${destroot}${latex_local} |
---|
31 | file copy ${workpath}/${name}${version} ${destroot}${latex_local} |
---|
32 | } |
---|
33 | |
---|
34 | post-activate { system "texhash" } |
---|
35 | |
---|