Mitsuhiro Nakamura  committed 9374a7c

Update tex/revtex.

  • Participants
  • Parent commits 40f660d
  • Branches default

Comments (0)

Files changed (1)

File tex/revtex/Portfile

 name         revtex
 version      4.1
-revision     1
+revision     2
 categories   tex print
 platforms    darwin
 maintainers  nomaintainer
   TeX macros for preparing papers in the styles used \
   by the American Physical Society's journals.
 master_sites ${homepage}
-distname ${name}
+distname ${name}4-1
 use_zip yes
 extract.suffix .zip
-checksums md5 7baca4091351a4edd67855576ee2046f
+checksums md5 b7ac84ced5d36863522bb84d9b1f4dbb
 depends_run bin:texhash:texlive
 depends_lib port:lineno port:natbib port:textcase port:url
 configure {}
 build     {}
-set latex_local ${prefix}/share/texmf-local/tex/latex
+set texmf_local ${prefix}/share/texmf-local
+set dest_dir    ${texmf_local}/tex/latex
 destroot {
-  file mkdir ${destroot}${latex_local}
-  file copy  ${workpath}/${distname} ${destroot}${latex_local}
+  file mkdir ${destroot}${dest_dir}
+  file copy  ${workpath}/${distname} ${destroot}${dest_dir}/${name}
+post-build {
+  system "cd ${workpath}/${distname} && unzip ${distname}"
+  system "cd ${workpath}/${distname} && rm ${distname}"
 post-activate { system "texhash" }