[75834] trunk/dports/editors

Ryan Schmidt ryandesign at macports.org
Thu Feb 10 09:44:19 PST 2011


On Feb 10, 2011, at 03:28, phw at macports.org wrote:

> Revision: 75834
>          http://trac.macports.org/changeset/75834
> Author:   phw at macports.org
> Date:     2011-02-10 01:28:42 -0800 (Thu, 10 Feb 2011)
> Log Message:
> -----------
> New Port: Devel mode for emacs org-mode
> 
> Added Paths:
> -----------
>    trunk/dports/editors/org-mode-devel/
>    trunk/dports/editors/org-mode-devel/Portfile
> 
> Added: trunk/dports/editors/org-mode-devel/Portfile
> ===================================================================
> --- trunk/dports/editors/org-mode-devel/Portfile	                        (rev 0)
> +++ trunk/dports/editors/org-mode-devel/Portfile	2011-02-10 09:28:42 UTC (rev 75834)
> @@ -0,0 +1,28 @@

You forgot the $Id$ line and modeline.

> +PortSystem          1.0
> +
> +name                org-mode-devel
> +version             devel

You need to use an actual version number, or perhaps a date/timestamp.

> +categories          editors
> +maintainers         phw openmaintainer
> +conflicts 			org-mode
> +platforms           darwin
> +supported_archs     noarch
> +
> +description         the development version of an Emacs Mode for Notes, Project Planning, and Authoring
> +long_description    Org is a mode for keeping notes, maintaining TODO lists, \
> +                    and doing project planning with a fast and effective     \
> +                    plain-text system.
> +
> +homepage            http://orgmode.org/
> +master_sites        ${homepage}
> +fetch.type          git
> +git.url             git://orgmode.org/org-mode.git

And here you need to tell git to fetch that specific version. It's not ok to have a port just fetch "the latest".

> +depends_lib         port:emacs
> +depends_build       port:texinfo
> +
> +use_configure       no
> +
> +destroot.destdir    prefix=${destroot}${prefix}
> +destroot.target     install-lisp install-info



More information about the macports-dev mailing list