[74743] trunk/dports/tex/revtex/Portfile

dports at macports.org dports at macports.org
Fri Dec 31 15:41:26 PST 2010


Revision: 74743
          http://trac.macports.org/changeset/74743
Author:   dports at macports.org
Date:     2010-12-31 15:41:20 -0800 (Fri, 31 Dec 2010)
Log Message:
-----------
revtex: replaced_by texlive-publishers (#27709)

Modified Paths:
--------------
    trunk/dports/tex/revtex/Portfile

Modified: trunk/dports/tex/revtex/Portfile
===================================================================
--- 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20101231/c4767641/attachment.html>


More information about the macports-changes mailing list