Ticket #27709: Portfile

File Portfile, 810 bytes (added by nickolas.fotopoulos@…, 14 years ago)

Updated Portfile

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