source: trunk/dports/editors/nedit/Portfile @ 20293

Last change on this file since 20293 was 20293, checked in by blair@…, 14 years ago

Set the svn:keywords property to 'Id' for all Portfile's. This
re-enables the Id keyword substitution that was present in the CVS
repository.

See this thread for more information:
http://lists.macosforge.org/pipermail/macports-dev/2006-October/000180.html

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 20293 2006-11-01 17:47:33Z blair@macports.org $
2
3PortSystem 1.0
4name             nedit
5version          5.4
6revision         1
7categories       editors
8maintainers      toby@opendarwin.org
9homepage         http://www.nedit.org/
10description      A multi-purpose text editor for the X Window System.
11long_description \
12    NEdit is a multi-purpose text editor for the X Window System, which \
13    combines a standard, easy to use, graphical user interface with the \
14    thorough functionality and stability required by users who edit text \
15    eight hours a day. It provides intensive support for development in a \
16    wide variety of languages, text processors, and other tools, but at \
17    the same time can be used productively by just about anyone who needs \
18    to edit text.
19platforms        darwin
20
21regsub -all      \\. $version _ xversion
22master_sites     ftp://ftp.nedit.org/pub/NEdit/v${xversion}/
23distname         ${name}-${version}-source
24use_bzip2        yes
25checksums        md5 b71afab27f07def3121a8c6f319697ca
26
27depends_lib      lib:libXm.4:openmotif
28
29worksrcdir       ${name}-${version}
30
31configure        {}
32
33build.args              MOTIFLINK="-L${prefix}/lib -lXm.4" LDFLAGS=-L${prefix}/lib \
34                CFLAGS="-I${prefix}/include -DBUILD_UNTESTED_NEDIT"
35
36destroot {
37    xinstall -s -m 555 ${worksrcpath}/source/nedit \
38        ${destroot}${prefix}/bin/nedit
39    xinstall -m 444 ${worksrcpath}/doc/nedit.man \
40        ${destroot}${prefix}/share/man/man1/nedit.1
41
42    xinstall -s -m 555 ${worksrcpath}/source/nc \
43        ${destroot}${prefix}/bin/nedit-nc
44    xinstall -m 444 ${worksrcpath}/doc/nc.man \
45        ${destroot}${prefix}/share/man/man1/nedit-nc.1
46}
47
48platform darwin {
49    patchfiles   patch-Makefile.macosx
50    build.target macosx
51}
52
53platform darwin 8 {
54        build.args-append CC=/usr/bin/gcc-4.0
55}
Note: See TracBrowser for help on using the repository browser.