Modified: trunk/dports/tex/revtex/Portfile (74742 => 74743)
--- trunk/dports/tex/revtex/Portfile 2010-12-31 23:27:14 UTC (rev 74742)
+++ trunk/dports/tex/revtex/Portfile 2010-12-31 23:41:20 UTC (rev 74743)
@@ -1,3 +1,4 @@
+# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
# $Id$
PortSystem 1.0
@@ -3,5 +4,5 @@
name revtex
-version 4
+version 4.1
categories tex print
platforms darwin
@@ -13,22 +14,14 @@
by the American Physical Society's journals.
homepage http://authors.aps.org/${name}${version}
-master_sites ${homepage}
-distname ${name}${version}
+distfiles
-checksums md5 264d41d777dc8f60dda0b60a0d8652f1
+replaced_by texlive-publishers
-depends_run bin:texhash:texlive
+pre-configure {
+ ui_error "${name} has been replaced by ${replaced_by}; please install that port instead"
+ return -code error "obsolete port"
+}
-use_configure no
-build { }
-
-set latex_local ${prefix}/share/texmf-local/tex/latex
-
-destroot { file mkdir ${destroot}${latex_local}
- file copy ${workpath}/${name}${version} ${destroot}${latex_local}
- }
-
-post-activate { system "texhash" }
-
+livecheck.type none