Ticket #40135: multimarkdown.patch
File multimarkdown.patch, 1.3 KB (added by 521E328E-2A13-4749-826A-E4EF4F22A0F1@…, 11 years ago) |
---|
-
Portfile
3 3 PortSystem 1.0 4 4 PortGroup github 1.0 5 5 6 github.setup fletcher peg-multimarkdown 3.76 github.setup fletcher MultiMarkdown-4 4.2.1 7 7 name multimarkdown 8 8 categories textproc 9 9 license GPL-2+ MIT … … 30 30 fetch.type git 31 31 32 32 post-fetch { 33 system -W ${worksrcpath} "git submodule init" 34 reinplace "s|git://|https://|" ${worksrcpath}/.git/config 35 system -W ${worksrcpath} "git submodule update" 33 system -W ${worksrcpath} "git submodule update --init" 36 34 } 37 35 38 36 use_configure no 39 37 40 38 variant universal {} 41 build. args CC="${configure.cc} [get_canonical_archflags]"39 build.target 42 40 43 # "make docs" builds multimarkdown as a dependency44 build.target docs45 46 41 destroot { 47 42 xinstall ${worksrcpath}/${name} ${destroot}${prefix}/bin/ 48 # documentation49 xinstall -d ${destroot}${prefix}/share/doc50 delete ${worksrcpath}/documentation/.git51 move ${worksrcpath}/documentation ${destroot}${prefix}/share/doc/${name}52 43 } 53 54 depends_build port:pkgconfig55 depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \56 port:gettext