source: trunk/dports/editors/TECO/Portfile

Last change on this file was 134315, checked in by ionic@…, 2 years ago

TECO: add modeline. Fix permissions of xinstall on binary file. Revbump. Patch provided by Eitan Adler.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.6 KB
Line 
1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:filetype=tcl:et:sw=4:ts=4:sts=4
2# $Id: Portfile 134315 2015-03-22 05:37:36Z ryandesign@macports.org $
3
4PortSystem       1.0
5
6name             TECO
7version          1.0
8revision         1
9distname         teco
10categories       editors
11license          Permissive
12maintainers      nomaintainer
13description      An implementation of TECO in portable C
14long_description \
15       te(1)  is  an  implementation of TECO in portable C.  It implements DEC \
16       standard TECO, with some exceptions and extensions described below. \
17       te assumes a VT100-type terminal, and its display driver is  hard-coded \
18       for such.
19homepage         http://www.ibiblio.org/pub/academic/computer-science/history/pdp-11/teco/
20platforms        darwin
21master_sites     sunsite:apps/editors/tty
22checksums        md5 b996a43a133f0d636ef3331da2374e6e
23extract.mkdir    yes
24patchfiles       patch-te_subs.c Makefile.patch
25use_configure    no
26build.target
27build.env        CC="${configure.cc}" \
28                 CFLAGS="${configure.cflags} ${configure.cc_archflags}" \
29                 LDFLAGS="${configure.ldflags} ${configure.ld_archflags}"
30
31destroot {
32    xinstall -m 755 -W ${worksrcpath} te ${destroot}${prefix}/bin
33    xinstall -m 444 -W ${worksrcpath} te.1 ${destroot}${prefix}/share/man/man1
34    xinstall -d ${destroot}${prefix}/share/doc/teco
35    xinstall -m 444 -W ${worksrcpath} teco.doc teco_data.doc sample.tecorc sample.tecorc2 \
36        ${destroot}${prefix}/share/doc/teco
37}
38
39notes "Documentation and sample startup files for te(1) may be found\
40in ${prefix}/share/doc/teco"
Note: See TracBrowser for help on using the repository browser.