|
|||||||||
Saturday the 7th of November, 2009 |
|||||||||
caml-pcre most recent diffversion 6.0.1
Scroll down toward the bottom of the page to get installation instructions for caml-pcre. The raw portfile for caml-pcre 6.0.1 is located here: http://caml-pcre.darwinports.com/dports/devel/caml-pcre/Portfile Find related portfiles with the unique DarwinPorts.com search feature. Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/caml-pcre The caml-pcre Portfile 59419 2009-10-14 20:40:25Z avsm PortSystem 1.0 Name: caml-pcre Version: 6.0.1 Category: devel ml Maintainers: landonf openmaintainer Description: Perl compatibility regular expressions for OCaml Long Description: This OCaml-library interfaces the PCRE (Perl-compatibility regular expressions) library which is written in C. it can be used for matching regular expressions which are written in PERL-style. Searching for, replacing or splitting text should become much easier with this library. Homepage: http://www.ocaml.info/home/ocaml_sources.html Platform: darwin Master Sites: http://www.ocaml.info/ocaml_sources/ Checksums: md5 ab016dceb9d992dbca7d01f955c7187e sha1 16d612a55c7a7733cac62f8108329f236f83f46f rmd160 92bc6df356f9ce898519e571dc17ee79977a915e distname pcre-ocaml-${version} livecheck.type regex livecheck.regex {>pcre-ocaml-release-(.*)\.tar\.bz2} depends_lib bin:camlp4:ocaml bin:ocamlfind:caml-findlib lib:pcre:pcre Patch Files: patch-OCamlMakefile patch-Makefile.conf use_configure no proc ocamlfind_destdir {} { # only bother calculating this darn thing once variable ocamlfind_destdir {} variable destroot variable prefix if {![string length $ocamlfind_destdir]} { set ocamlfind_destdir ${destroot}[exec ${prefix}/bin/ocamlfind printconf destdir] } return $ocamlfind_destdir } pre-build { reinplace "s|##OCAMLFIND_INSTFLAGS##|-destdir '[ocamlfind_destdir]' -metadir ''|" ${worksrcpath}/OCamlMakefile reinplace "s|##PREFIX##|${prefix}|g" ${worksrcpath}/Makefile.conf } build.env-append CC=${configure.cc} pre-destroot { file mkdir "[ocamlfind_destdir]/stublibs" } post-destroot { # install the doc/examples dirs if we built them if {[variant_isset doc]} then { file copy ${worksrcpath}/lib/doc/pcre [ocamlfind_destdir]/pcre/pcre-doc } if {[variant_isset examples]} then { file copy ${worksrcpath}/examples [ocamlfind_destdir]/pcre/pcre-examples } } Variant: doc description "Include documentation (requires TeX and Ghostscript)" { build.target-append doc depends_lib-append port:ghostscript bin:tex:texlive } Variant: examples description "Build examples" { build.target-append examples } If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page. Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:
% cd /opt/local/bin/portslocation/dports/caml-pcreYou will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to: Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using caml-pcre with these commands: % man caml-pcre Where to find more information:
|
![]() |
![]()
Order Snow Leopard MacOSX 10.6 for only $29!
Other Helpful SitesMacOSForgeDebian Packages MacPorts - SVN Freshports - FreeBSD Fink Package List RPM for MacOSX Port Categories
accounting
amusements aqua archivers audio benchmarks biology blinkenlights cad chat chinese comms compression cross crypto databases devel editors education electronics emacs emulators erlang finance fonts framework fuse games genealogy gis gnome gnustep graphics gtk haskell iphone irc japanese java kde kde4 lang macports math mercurial ml mono multimedia net network news ocaml office palm parallel perl php pim project python reporting rox ruby russian scheme science security shells spelling squeak sysutils tcl tex textproc tk unicode vnc win32 wsn www x11 x11-font x11-wm xfce zope
Current SVN DownloadsDarwin Ports Current :nightly SVN snapshot SSH Key Gen See also: GNU-Darwin Ports for GNU-only software |
|||||||
| |




