Revision
83379
Author
dports@macports.org
Date
2011-08-30 17:11:11 -0700 (Tue, 30 Aug 2011)

Log Message

pgf: add license; use texlive.mktexlsr command in post-activate and
post-deactivate

Modified Paths

Diff

Modified: trunk/dports/tex/pgf/Portfile (83378 => 83379)


--- trunk/dports/tex/pgf/Portfile	2011-08-31 00:05:53 UTC (rev 83378)
+++ trunk/dports/tex/pgf/Portfile	2011-08-31 00:11:11 UTC (rev 83379)
@@ -8,6 +8,7 @@
 version             2.10
 categories          tex textproc
 platforms           darwin
+license             {GPL-2 LPPL-1.3}
 maintainers         snc openmaintainer
 description         PGF and TikZ -- Graphic systems for TeX
 long_description \
@@ -41,8 +42,12 @@
 }
 
 post-activate {
-    system "texhash"
+    texlive.mktexlsr
 }
 
+post-deactivate {
+    texlive.mktexlsr
+}
+
 livecheck.url       http://sourceforge.net/api/file/index/project-id/142562/mtime/desc/rss
 livecheck.regex     ${name}\\/version (\\d+\\.\\d+)