Ravenports generated: 18 Jan 2021 12:16
[ravenports.git] / bucket_97 / file
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               file
4 VERSION=                5.39
5 KEYWORDS=               sysutils
6 VARIANTS=               standard ravensys
7 SDESC[ravensys]=        Static file type utility based at /usr
8 SDESC[standard]=        Utility to determine file type
9 HOMEPAGE=               http://darwinsys.com/file
10 CONTACT=                nobody
11
12 DOWNLOAD_GROUPS=        main
13 SITES[main]=            ftp://ftp.astron.com/pub/file/
14                         ftp://ftp.fu-berlin.de/unix/tools/file/
15 DISTFILE[1]=            file-5.39.tar.gz:main
16 DF_INDEX=               1
17 SPKGS[ravensys]=        single
18 SPKGS[standard]=        single
19
20 OPTIONS_AVAILABLE=      RAVENSYS
21 OPTIONS_STANDARD=       none
22 VOPTS[ravensys]=        RAVENSYS=ON
23
24 USES=                   cpe libtool
25
26 LICENSE=                BSD2CLAUSE:single
27 LICENSE_FILE=           BSD2CLAUSE:{{WRKSRC}}/COPYING
28 LICENSE_SCHEME=         solo
29
30 CPE_VENDOR=             file_project
31 FPC_EQUIVALENT=         sysutils/file
32
33 MUST_CONFIGURE=         gnu
34 CONFIGURE_ARGS=         --enable-fsect-man5
35                         --enable-static
36
37 MAKE_ENV=               INSTALL_STRIP_FLAG="{{STRIP}}"
38
39 INSTALL_TARGET=         install-strip
40
41 [RAVENSYS].DESCRIPTION=                 Static version of file used by raven-sysroot
42 [RAVENSYS].CONFIGURE_ARGS_OFF=          --enable-shared=yes
43 [RAVENSYS].CONFIGURE_ARGS_ON=           --enable-shared=no
44                                         --datarootdir=/usr/share
45 [RAVENSYS].USES_OFF=                    zlib
46 [RAVENSYS].USES_ON=                     zlib:build
47
48 post-patch:
49         ${REINPLACE_CMD} -e 's|$$(datadir)/misc|$$(datadir)/file|g' \
50                 ${WRKSRC}/configure
51
52 post-install-RAVENSYS-ON:
53         ${MV} ${STAGEDIR}/usr/share/file ${STAGEDIR}${PREFIX}/share/
54         ${RMDIR} ${STAGEDIR}/usr/share
55         ${RMDIR} ${STAGEDIR}/usr
56
57 do-test:
58         (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check)
59
60 [FILE:250:descriptions/desc.single]
61 File tests each argument in an attempt to classify it. There are three sets
62 of tests, performed in the following order:
63
64   - filesystem tests
65   - magic number tests
66   - language tests
67
68 The first test that succeeds causes the file type to be printed.
69
70
71 [FILE:95:distinfo]
72 f05d286a76d9556243d0cb05814929c2ecf3a5ba07963f8f70bfaaa70517fad1       954266 file-5.39.tar.gz
73
74
75 [FILE:235:manifests/plist.single]
76 %%RAVENSYS-OFF%%lib/
77  libmagic.so
78  libmagic.so.1
79  libmagic.so.1.0.0
80 bin/file
81 include/magic.h
82 lib/libmagic.a
83 lib/pkgconfig/libmagic.pc
84 share/file/magic.mgc
85 share/man/man1/file.1.gz
86 share/man/man3/libmagic.3.gz
87 share/man/man5/magic.5.gz
88
89
90 [FILE:224:dragonfly/patch-src_file.h]
91 --- src/file.h.orig     2019-06-26 20:31:31 UTC
92 +++ src/file.h
93 @@ -521,6 +521,7 @@ protected int buffer_fill(const struct b
94  
95  #include <locale.h>
96  #if defined(HAVE_XLOCALE_H)
97 +#include <wchar.h>
98  #include <xlocale.h>
99  #endif
100  
101