1 | # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4 |
---|
2 | # $Id$ |
---|
3 | |
---|
4 | PortSystem 1.0 |
---|
5 | |
---|
6 | name util-linux |
---|
7 | version 2.22 |
---|
8 | |
---|
9 | categories devel |
---|
10 | maintainers nomaintainer |
---|
11 | description linux utility programs |
---|
12 | long_description Miscellaneous utility programs (util-linux) \ |
---|
13 | handles file systems, consoles, partitions, \ |
---|
14 | and messages. This package contains ONLY \ |
---|
15 | the parts of util-linux that can be run on darwin. |
---|
16 | |
---|
17 | platforms darwin |
---|
18 | license GPL |
---|
19 | |
---|
20 | homepage http://freecode.com/projects/util-linux |
---|
21 | master_sites http://www.kernel.org/pub/linux/utils/util-linux/v${version}/ \ |
---|
22 | ftp://ftp.kernel.org/pub/linux/utils/util-linux/v${version}/ |
---|
23 | |
---|
24 | checksums rmd160 8b88a8a643466e33fe439855dfe7afcee1fe71f3 \ |
---|
25 | sha256 5e5665cda7901778ea7b49523a44436a32a59ac647e807bd6fe2650edceeab84 |
---|
26 | |
---|
27 | depends_build port:diffutils \ |
---|
28 | port:binutils \ |
---|
29 | port:gettext \ |
---|
30 | port:ncurses \ |
---|
31 | port:zlib |
---|
32 | |
---|
33 | configure.args --without-audit --without-audit --disable-libuuid \ |
---|
34 | --disable-libblkid --disable-libmount --disable-mount \ |
---|
35 | --disable-losetup --disable-fsck --disable-partx \ |
---|
36 | --disable-uuidd --disable-mountpoint --disable-fallocate \ |
---|
37 | --disable-unshare --disable-eject --disable-agetty \ |
---|
38 | --disable-cramfs --disable-switch_root --disable-pivot_root \ |
---|
39 | --disable-kill --disable-login --disable-sulogin \ |
---|
40 | --disable-su --disable-schedutils --disable-wall \ |
---|
41 | --disable-pg-bell |
---|
42 | |
---|
43 | build.target script scriptreplay setsid look rename colcrt pg rev |
---|
44 | |
---|
45 | destroot { |
---|
46 | xinstall -m 644 -d ${destroot}${prefix}/share/doc/${name} |
---|
47 | |
---|
48 | foreach path {term-utils/script term-utils/scriptreplay sys-utils/setsid |
---|
49 | misc-utils/look misc-utils/rename |
---|
50 | text-utils/colcrt text-utils/pg text-utils/rev} { |
---|
51 | set file [lindex [split ${path} /] 1] |
---|
52 | xinstall -m 755 ${worksrcpath}/${file} ${destroot}${prefix}/bin |
---|
53 | xinstall -m 644 ${worksrcpath}/${path}.1 ${destroot}${prefix}/share/man/man1 |
---|
54 | } |
---|
55 | |
---|
56 | xinstall -m 644 -W ${worksrcpath} README NEWS ChangeLog COPYING AUTHORS ABOUT-NLS \ |
---|
57 | ${destroot}${prefix}/share/doc/${name} |
---|
58 | } |
---|