Revision
91446
Author
ryandesign@macports.org
Date
2012-04-01 19:09:07 -0700 (Sun, 01 Apr 2012)

Log Message

multimarkdown: do git-related things in the fetch phase, since git-core is only listed as a fetch dependency

Modified Paths

Diff

Modified: trunk/dports/textproc/multimarkdown/Portfile (91445 => 91446)


--- trunk/dports/textproc/multimarkdown/Portfile	2012-04-02 02:08:59 UTC (rev 91445)
+++ trunk/dports/textproc/multimarkdown/Portfile	2012-04-02 02:09:07 UTC (rev 91446)
@@ -25,16 +25,17 @@
 
 fetch.type          git
 
-configure {
+post-fetch {
     system -W ${worksrcpath} "git submodule init"
     reinplace "s|git@github.com:|https://github.com/|" ${worksrcpath}/.git/config
     system -W ${worksrcpath} "git submodule update"
 }
 
+use_configure       no
+
 variant universal {}
 build.args          CC="${configure.cc} [get_canonical_archflags]"
 
-#use_configure       no
 # "make docs" builds multimarkdown as a dependency
 build.target        docs