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 fatsort |
---|
7 | version 1.1.1.336 |
---|
8 | maintainers ionic.de:ionic |
---|
9 | categories sysutils |
---|
10 | license GPL-2 |
---|
11 | installs_libs no |
---|
12 | platforms darwin |
---|
13 | |
---|
14 | description Utility to sort FAT12, FAT16 and FAT32 partitions |
---|
15 | long_description FATSort is a C utility that sorts FAT12, FAT16 and FAT32 \ |
---|
16 | partitions. It even can handle long file name entries. \ |
---|
17 | FATSort reads the boot sector and sorts the directory \ |
---|
18 | structure recursively. |
---|
19 | homepage http://fatsort.sourceforge.net/ |
---|
20 | master_sites sourceforge:${name} |
---|
21 | |
---|
22 | # Needed to be able to pass initial C/LDFLAGS to the Makefile. |
---|
23 | patchfiles patch-src-Makefile.diff |
---|
24 | |
---|
25 | checksums md5 268ce4154ede7c08ff09eb3a80f0db51 \ |
---|
26 | sha1 03a070603e7d48a98efd13166a2cc798141d0678 \ |
---|
27 | rmd160 f218d8fc06df2e5a73ce050c88f5df9d2eae4c53 |
---|
28 | |
---|
29 | depends_lib port:libiconv |
---|
30 | |
---|
31 | use_configure no |
---|
32 | |
---|
33 | variant universal {} |
---|
34 | |
---|
35 | build.args-append CC=\"${configure.cc}\" \ |
---|
36 | LD=\"${configure.cc}\" \ |
---|
37 | MACPORTS_CFLAGS=\"${configure.cppflags} ${configure.cflags} [get_canonical_archflags]\" \ |
---|
38 | MACPORTS_LDFLAGS=\"${configure.ldflags} [get_canonical_archflags]\" |
---|
39 | |
---|
40 | post-patch { |
---|
41 | reinplace "s|MANDIR=/usr/local|MANDIR=${prefix}|" ${worksrcpath}/Makefile |
---|
42 | reinplace "s|SBINDIR=/usr/local|SBINDIR=${prefix}|" ${worksrcpath}/src/Makefile |
---|
43 | } |
---|