source: trunk/dports/sysutils/FDclone/Portfile

Last change on this file was 139469, checked in by jmr@…, 2 years ago

ncurses: update to 6.0, rev bump dependents due to new ABI

  • Property svn:eol-style set to native
  • Property svn:keywords set to Id
File size: 1.7 KB
Line 
1# $Id: Portfile 139469 2015-08-18 01:10:17Z ryandesign@macports.org $
2
3PortSystem      1.0
4
5name            FDclone
6version         3.01a
7revision        1
8categories      sysutils shells
9maintainers     nomaintainer
10description     File & Directory Maintenance Tool
11long_description \
12                ${description}
13platforms       darwin
14license         Restrictive/Distributable
15homepage        http://hp.vector.co.jp/authors/VA012337/soft/fd/index.html
16master_sites    http://hp.vector.co.jp/authors/VA012337/soft/fd/ \
17                ftp://ftp.unixusers.net/src/fdclone/
18distname        FD-${version}
19patchfiles      patch-Makefile.in.diff \
20                patch-archive.c.diff \
21                patch-fd.h.diff \
22                patch-machine.h.diff
23checksums       rmd160 42dbd009100ababcada9be5c5e5a034d93d688e7
24
25depends_lib     port:ncurses
26
27use_configure   no
28
29#configure.cppflags-append   -I${prefix}/include/ncurses
30#configure.ldflags-append    -lncurses
31
32variant universal {}
33
34use_parallel_build  yes
35build.args      CC="${configure.cc}" CONFDIR=${prefix}/etc PREFIX=${prefix} CFLAGS="${configure.cflags} [get_canonical_archflags cc]" CPPFLAGS="${configure.cppflags}" LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
36
37destroot.args   BUILD=${destroot} PREFIX=${prefix}
38post-destroot {
39    xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
40    foreach f {FAQ* HISTORY* Install* LICENSES* README* TECHKNOW* ToAdmin* *.cat} {
41        eval xinstall -m 644 [glob ${worksrcpath}/${f}] ${destroot}${prefix}/share/doc/${name}
42    }
43    xinstall -m 644 ${worksrcpath}/_fdrc ${destroot}${prefix}/etc/fd2rc.dist
44}
45
46variant engmes description {Print messages in English} {
47    patchfiles-append   patch-custom.c.diff
48}
49
50livecheck.type  regex
51livecheck.url   ${homepage}
52livecheck.regex FD-(\[0-9.a-z\]+)\\.tar
Note: See TracBrowser for help on using the repository browser.