[22343] trunk/dports/editors/emacs/Portfile

source_changes at macosforge.org source_changes at macosforge.org
Mon Feb 26 20:07:58 PST 2007


Revision: 22343
          http://trac.macosforge.org/projects/macports/changeset/22343
Author:   pipping at macports.org
Date:     2007-02-26 20:07:58 -0800 (Mon, 26 Feb 2007)

Log Message:
-----------
 * add ncurses as a dependency
 * cleanup

Modified Paths:
--------------
    trunk/dports/editors/emacs/Portfile

Modified: trunk/dports/editors/emacs/Portfile
===================================================================
--- trunk/dports/editors/emacs/Portfile	2007-02-27 04:05:32 UTC (rev 22342)
+++ trunk/dports/editors/emacs/Portfile	2007-02-27 04:07:58 UTC (rev 22343)
@@ -1,51 +1,57 @@
 # $Id$
 
 PortSystem 1.0
-name		emacs
-version		21.4a
-revision	1
-categories	editors
-maintainers	nomaintainer at macports.org
-description	The GNU Emacs text editor (command line only)
-long_description	GNU Emacs is a self-documenting, customizable, extensible real-time display editor. \
-			Users new to Emacs will be able to use basic features fairly rapidly \
-			by studying the tutorial and using the self-documentation features. \
-			Emacs also has an extensive interactive manual browser.	 It is easily \
-			extensible since its editing commands are written in Lisp.
-platforms	darwin freebsd
-homepage	http://www.gnu.org/software/emacs/emacs.html
-master_sites	gnu
-checksums	md5 8f9d97cbd126121bd5d97e5e31168a87
-configure.args	--without-x --without-carbon
-destroot.args	prefix=${destroot}/${prefix}
+name            emacs
+version         21.4a
+revision        1
+categories      editors
+maintainers     nomaintainer at macports.org
+description     The GNU Emacs text editor (command line only)
+long_description \
+    GNU Emacs is a self-documenting, customizable, extensible real-time \
+    display editor. Users new to Emacs will be able to use basic        \
+    features fairly rapidly by studying the tutorial and using the      \
+    self-documentation features. Emacs also has an extensive            \
+    interactive manual browser.	 It is easily extensible since its      \
+    editing commands are written in Lisp.
 
-worksrcdir	emacs-21.4
+platforms       darwin freebsd
+homepage        http://www.gnu.org/software/emacs/emacs.html
+master_sites    gnu
+checksums       md5 8f9d97cbd126121bd5d97e5e31168a87
+configure.args  --without-x \
+                --without-carbon
+destroot.args   prefix=${destroot}/${prefix}
 
-patch.pre_args	-p1
-patchfiles	patch-src-xterm.c apple-patches ange-ftp.el.diff
+worksrcdir      emacs-21.4
 
-configure.env	\
-	LDFLAGS="-L${prefix}/lib" \
-	CFLAGS="-I${prefix}/include" \
-	CPPFLAGS="-I${prefix}/include"
+patch.pre_args  -p1
+patchfiles      patch-src-xterm.c apple-patches ange-ftp.el.diff
 
+depends_lib     port:ncurses
+
+configure.env   LDFLAGS="-L${prefix}/lib" \
+                CFLAGS="-I${prefix}/include" \
+                CPPFLAGS="-I${prefix}/include"
+
 post-destroot {
     cd ${destroot}${prefix}
-        delete info/dir share/info share/man
-        file rename info share/info
-        file rename man share/man
-        xinstall -d share/emacs/$version/leim
-        if {[variant_isset carbon]} {
-            global destroot prefix version
-            delete bin/emacs bin/emacs-$version
-        }
+    delete info/dir share/info share/man
+    file rename info share/info
+    file rename man share/man
+    xinstall -d share/emacs/$version/leim
+    if {[variant_isset carbon]} {
+        global destroot prefix version
+        delete bin/emacs bin/emacs-$version
+    }
 }
 
 platform darwin 8 {
-	configure.env-append	CC=/usr/bin/gcc-4.0 CPP=/usr/bin/cpp-4.0 CXX=/usr/bin/g++-4.0
+    configure.env-append    CC=/usr/bin/gcc-4.0 \
+                            CPP=/usr/bin/cpp-4.0 \
+                            CXX=/usr/bin/g++-4.0
 }
 
 platform darwin 7 {
-	depends_build-append	port:autoconf
+    depends_build-append    port:autoconf
 }
-

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20070226/c855d9ab/attachment.html


More information about the macports-changes mailing list