Mitsuhiro Nakamura avatar Mitsuhiro Nakamura committed 9374a7c

Update tex/revtex.

Comments (0)

Files changed (1)

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.
 
-homepage http://mirror.ctan.org/macros/latex/contrib/
+homepage https://authors.aps.org/revtex4/
 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}-tds.zip"
+  system "cd ${workpath}/${distname} && rm ${distname}-tds.zip"
 }
 
 post-activate { system "texhash" }
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.