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