Revision: 96079 https://trac.macports.org/changeset/96079 Author: mww@macports.org Date: 2012-07-31 02:12:35 -0700 (Tue, 31 Jul 2012) Log Message: ----------- stog: new port Added Paths: ----------- trunk/dports/www/stog/ trunk/dports/www/stog/Portfile trunk/dports/www/stog/files/ trunk/dports/www/stog/files/patch-Makefile.diff Added: trunk/dports/www/stog/Portfile =================================================================== --- trunk/dports/www/stog/Portfile (rev 0) +++ trunk/dports/www/stog/Portfile 2012-07-31 09:12:35 UTC (rev 96079) @@ -0,0 +1,36 @@ +# $Id$ + +PortSystem 1.0 +PortGroup ocaml 1.0 + +name stog +version 0.1 +categories www ml +platforms darwin +license GPL-3 +maintainers mww openmaintainer +description stog is a static web site generator, able to handle blog posts as well as regular pages +long_description ${description} +homepage http://zoggy.github.com/stog/ +master_sites http://zoggy.github.com/stog/ +checksums rmd160 65dc72fa0c87c530c2f9ef58572b5f1840acbf80 \ + sha256 c6ed63118486c3e07328612e02caf29ce2eb18d296e00f290eab0259c68a1bb1 + +depends_lib port:ocaml port:ocaml-findlib port:ocaml-xmlm \ + port:ocaml-ocamlrss port:ocaml-xtmpl +depends_run port:highlight port:dvisvgm port:texlive-bin + +patchfiles patch-Makefile.diff + +configure { + reinplace "s|ocamlfind|${ocamlfind_wrapper}|g" ${worksrcpath}/Makefile +} + +use_parallel_build no + +destroot.args BINDIR=${prefix}/bin + +livecheck.type regex +livecheck.url ${master_sites} +livecheck.regex ocamlrss-(\[0-9.\]+)${extract.suffix} + Property changes on: trunk/dports/www/stog/Portfile ___________________________________________________________________ Added: svn:keywords + Id Added: svn:eol-style + native Added: trunk/dports/www/stog/files/patch-Makefile.diff =================================================================== --- trunk/dports/www/stog/files/patch-Makefile.diff (rev 0) +++ trunk/dports/www/stog/files/patch-Makefile.diff 2012-07-31 09:12:35 UTC (rev 96079) @@ -0,0 +1,11 @@ +--- Makefile 2012-06-19 22:56:08.000000000 +0200 ++++ Makefile 2012-07-31 11:07:15.000000000 +0200 +@@ -159,7 +159,7 @@ + $(PLUGINS_BYTE) $(PLUGINS_OPT) $(PLUGINS_OPT:.cmxs=.cmx) $(PLUGINS_OPT:.cmxs=.o) \ + $(LIB_CMIFILES) $(LIB_CMXFILES) $(LIB_CMXFILES:.cmx=.o) \ + $(LIB_BYTE) $(LIB) $(LIB:.cmxa=.a) +- $(CP) $(MAIN) $(MAIN_BYTE) `dirname \`which $(OCAMLC)\``/ ++ $(CP) $(MAIN) $(MAIN_BYTE) $(DESTDIR)$(BINDIR) + + uninstall: + @$(OCAMLFIND) remove stog
participants (1)
-
mww@macports.org