Ticket #10478: Portfile

File Portfile, 1.3 KB (added by bfulgham@…, 18 years ago)

Portfile to build and install the Emacs.app software

Line 
1# $Id: Portfile,v 1.7 2006/01/10 07:35:59 mww Exp $
2
3PortSystem 1.0
4PortGroup xcode 1.0
5
6name                    emacs-app
7version                 23.0.0_NS-9.0pre3
8categories              aqua editors
9platforms               darwin
10maintainers             darwinports@opendarwin.org
11homepage                http://emacs-app.sourceforge.net/
12description             Next/OpenStep Emacs for GNUstep and OS X
13long_description        Emacs-app is a port of the latest GNU Emacs source to \
14                        the OpenStep (or NeXTstep) APIs, as implemented by \
15                        Cocoa on OS X as well as the GNUstep open source \
16                        project. \
17                        On the Mac, this port differs from "Carbon" ports of \
18                        GNU Emacs in that it makes a more concerted attempt \
19                        from the ground up to follow OS X desktop and UI \
20                        conventions (without, however, limiting in any way \
21                        what you can already do with Emacs).
22depends_lib-append      lib:libjpeg:jpeg lib:libtiff:tiff \
23                        lib:libungif:libungif lib:libpng:libpng
24                       
25master_sites            sourceforge:emacs-app
26checksums               md5 12ff9195cd037d53965a08c20cef04c4
27
28distname                emacs-${version}
29use_bzip2               yes
30
31use_configure           no
32
33platform darwin 8 {
34        if {$xcodeversion == "2.1"} {
35                set xcodebuilddir       build/Deployment
36        }
37}
38
39build.dir               ${workdir}/emacs-${version}/nextstep
40build.cmd               ./compile
41
42destroot        {
43        xinstall -d -m 755 ${destroot}/Applications/DarwinPorts
44        file copy ${workdir}/emacs-${version}/nextstep/build/Emacs.app \
45                ${destroot}/Applications/DarwinPorts/Emacs.app
46}
47