Source

macports / tex / revtex / Portfile

# $Id$

PortSystem 1.0

name         revtex
version      4.1
revision     2
categories   tex print
platforms    darwin
maintainers  nomaintainer
description  The American Physical Society's TeX macros
long_description \
  TeX macros for preparing papers in the styles used \
  by the American Physical Society's journals.

homepage https://authors.aps.org/revtex4/
master_sites ${homepage}

distname ${name}4-1
use_zip yes
extract.suffix .zip

checksums md5 b7ac84ced5d36863522bb84d9b1f4dbb

depends_run bin:texhash:texlive
depends_lib port:lineno port:natbib port:textcase port:url

conflicts latex2html

configure {}
build     {}

set texmf_local ${prefix}/share/texmf-local
set dest_dir    ${texmf_local}/tex/latex

destroot {
  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.