[93963] trunk/dports/lang

mww at macports.org mww at macports.org
Tue Jun 5 04:54:12 PDT 2012


Revision: 93963
          https://trac.macports.org/changeset/93963
Author:   mww at macports.org
Date:     2012-06-05 04:54:09 -0700 (Tue, 05 Jun 2012)
Log Message:
-----------
moca: new port

Modified Paths:
--------------
    trunk/dports/lang/moca/Portfile

Added Paths:
-----------
    trunk/dports/lang/moca/
    trunk/dports/lang/moca/files/
    trunk/dports/lang/moca/files/patch-config-Makefile.config.in.diff

Modified: trunk/dports/lang/moca/Portfile
===================================================================
--- trunk/dports/lang/camlp5/Portfile	2012-06-05 09:35:17 UTC (rev 93958)
+++ trunk/dports/lang/moca/Portfile	2012-06-05 11:54:09 UTC (rev 93963)
@@ -2,41 +2,35 @@
 
 PortSystem 1.0
 
-name                camlp5
-version             6.06
-categories          lang ml
-license             BSD
+name                moca
+version             0.7.0
+categories          lang devel ml
+license             QPL
 platforms           darwin
-maintainers         nomaintainer
+maintainers         mww openmaintainer
+description         general construction functions generator for OCaml data types with invariants
+long_description    ${description}
 
-description         Camlp5 is a preprocessor-pretty-printer of OCaml.
-long_description    Camlp5 is a preprocessor and pretty-printer for \
-        OCaml programs. It also provides parsing and printing tools. \
-        As a preprocessor, it allows to: extend the syntax of OCaml, \
-        redefine the whole syntax of the language. As a pretty printer, \
-        it allows to: display OCaml programs in an elegant way, convert \
-        from one syntax to another, check the results of syntax \
-        extensions. Camlp5 also provides some parsing and pretty \
-        printing tools: extensible grammars, extensible printers, \
-        stream parsers and lexers pretty print module.  It works as a \
-        shell command and can also be used in the OCaml toplevel.
+homepage            http://moca.inria.fr/
+master_sites        http://moca.inria.fr/archive/
 
-homepage            http://pauillac.inria.fr/~ddr/camlp5/
-master_sites        ${homepage}distrib/src/
+checksums           rmd160  84384035883fe2f80f68024117ccf60c9697cb06 \
+                    sha256  1d5fecd014890d5fcf1921a0145468a910ca7b87498fd12b9b670cb592ae74c2
 
-checksums           rmd160  fefa727e756266d3b0697df494042c327f32294d \
-                    sha256  763f89ee6cde4ca063a50708c3fe252d55ea9f8037e3ae9801690411ea6180c5
+patchfiles          patch-config-Makefile.config.in.diff
 
-depends_build       port:ocaml
 extract.suffix      .tgz
-configure.pre_args  --prefix "${prefix}" \
-                    --mandir "${prefix}/share/man"
-build.target        world.opt
+
+depends_build       port:ocaml
+depends_run         port:ocaml
+
+configure.pre_args  "${destroot}${prefix}"
+
 use_parallel_build  no
 
 # ocaml is not universal
 universal_variant   no
 
-livecheck.type  regex
-livecheck.url   [lindex ${master_sites} 0]
-livecheck.regex ${name}-(\[0-9.\]+)\\.tgz
+livecheck.type      regex
+livecheck.url       ${master_sites}
+livecheck.regex     ${name}-(\[0-9.\]+)\\.tgz

Added: trunk/dports/lang/moca/files/patch-config-Makefile.config.in.diff
===================================================================
--- trunk/dports/lang/moca/files/patch-config-Makefile.config.in.diff	                        (rev 0)
+++ trunk/dports/lang/moca/files/patch-config-Makefile.config.in.diff	2012-06-05 11:54:09 UTC (rev 93963)
@@ -0,0 +1,11 @@
+--- config/Makefile.config.in	2012-06-04 15:01:22.000000000 +0200
++++ config/Makefile.config.in	2012-06-05 11:50:03.000000000 +0200
+@@ -36,7 +36,7 @@
+ 
+ # Where to install the man page
+ MANEXT=1
+-MANDIR=$(PREFIX)/man/man$(MANEXT)
++MANDIR=$(PREFIX)/share/man/man$(MANEXT)
+ 
+ # The name of this application
+ SOFTWARE=mocac
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120605/aed7a26b/attachment-0001.html>


More information about the macports-changes mailing list