| 1 | # $Id: Portfile,v 1.7 2006/01/10 07:35:59 mww Exp $ |
|---|
| 2 | |
|---|
| 3 | PortSystem 1.0 |
|---|
| 4 | PortGroup xcode 1.0 |
|---|
| 5 | |
|---|
| 6 | name emacs-app |
|---|
| 7 | version 23.0.0_NS-9.0pre3 |
|---|
| 8 | categories aqua editors |
|---|
| 9 | platforms darwin |
|---|
| 10 | maintainers darwinports@opendarwin.org |
|---|
| 11 | homepage http://emacs-app.sourceforge.net/ |
|---|
| 12 | description Next/OpenStep Emacs for GNUstep and OS X |
|---|
| 13 | long_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). |
|---|
| 22 | depends_lib-append lib:libjpeg:jpeg lib:libtiff:tiff \ |
|---|
| 23 | lib:libungif:libungif lib:libpng:libpng |
|---|
| 24 | |
|---|
| 25 | master_sites sourceforge:emacs-app |
|---|
| 26 | checksums md5 12ff9195cd037d53965a08c20cef04c4 |
|---|
| 27 | |
|---|
| 28 | distname emacs-${version} |
|---|
| 29 | use_bzip2 yes |
|---|
| 30 | |
|---|
| 31 | use_configure no |
|---|
| 32 | |
|---|
| 33 | platform darwin 8 { |
|---|
| 34 | if {$xcodeversion == "2.1"} { |
|---|
| 35 | set xcodebuilddir build/Deployment |
|---|
| 36 | } |
|---|
| 37 | } |
|---|
| 38 | |
|---|
| 39 | build.dir ${workdir}/emacs-${version}/nextstep |
|---|
| 40 | build.cmd ./compile |
|---|
| 41 | |
|---|
| 42 | destroot { |
|---|
| 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 | |
|---|