source: trunk/dports/sysutils/FDclone/Portfile @ 95952

Last change on this file since 95952 was 95952, checked in by takanori@…, 7 years ago

FDclone: version 3.00m

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