[46541] trunk/dports/textproc

Ryan Schmidt ryandesign at macports.org
Fri Feb 6 12:02:06 PST 2009


On Feb 6, 2009, at 10:23, snc at macports.org wrote:

> Revision: 46541
>           http://trac.macports.org/changeset/46541
> Author:   snc at macports.org
> Date:     2009-02-06 08:23:53 -0800 (Fri, 06 Feb 2009)
> Log Message:
> -----------
> created pxsl-tools
>
> Added Paths:
> -----------
>     trunk/dports/textproc/pxsl-tools/
>     trunk/dports/textproc/pxsl-tools/Portfile
>
> Added: trunk/dports/textproc/pxsl-tools/Portfile
> ===================================================================
> --- trunk/dports/textproc/pxsl-tools/ 
> Portfile	                        (rev 0)
> +++ trunk/dports/textproc/pxsl-tools/Portfile	2009-02-06 16:23:53  
> UTC (rev 46541)
> @@ -0,0 +1,42 @@
> +# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode:  
> nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
> +# $Id$
> +
> +PortSystem          1.0
> +
> +name                pxsl-tools
> +version             1.0
> +categories          textproc
> +maintainers         snc, openmaintainer
> +description         A convenient shorthand for writing markup- 
> heavy XML \
> +                    documents.
> +long_description    PXSL ("pixel") is a convenient shorthand for  
> writing \
> +                    markup-heavy XML documents. It provides XML  
> authors and \
> +                    programmers with a simple, concise syntax that  
> they can \
> +                    use to create XML documents. For more advanced  
> users, PXSL \
> +                    offers customizable shortcuts and sophisticated \
> +                    refactoring tools like functional macros that  
> can markedly \
> +                    reduce the size and complexity of markup-dense  
> XML \
> +                    documents.
> +
> +platforms           darwin freebsd
> +use_parallel_build  yes
> +homepage            http://community.moertel.com/ss/space/PXSL
> +master_sites        http://community.moertel.com/pxsl/sources/
> +
> +checksums           md5 f136de0a05aa26e605579ff48730be3c \
> +                    sha1 3afb794a7e6b7f1b356f63252a374206a7aa7cb8 \
> +                    rmd160 fd4727cbb6255f8b7c6da9005042ea75c3df4586
> +
> +depends_build       port:ghc
> +
> +configure {
> +    system "cd ${worksrcpath} && runhaskell Setup.lhs configure -- 
> prefix=${destroot}${prefix}"
> +}
> +
> +build {
> +    system "cd ${worksrcpath} && runhaskell Setup.lhs build"
> +}
> +
> +destroot {
> +    system "cd ${worksrcpath} && runhaskell Setup.lhs install"
> +}

Did you check if perhaps the haskell portgroup could be used to  
simplify this portfile? If it doesn't work for this port, maybe take  
it up with Bryan; the haskell portgroup was only recently added and  
may still require some tweaking.





More information about the macports-dev mailing list