1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
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
13 SITES[main]= http://ftp.astron.com/pub/file/
14 DISTFILE[1]= file-5.45.tar.gz:main
16 SPKGS[ravensys]= single
17 SPKGS[standard]= single
19 OPTIONS_AVAILABLE= RAVENSYS
20 OPTIONS_STANDARD= none
21 VOPTS[ravensys]= RAVENSYS=ON
23 USES= cpe libtool mbsdfix
25 LICENSE= BSD2CLAUSE:single
26 LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING
29 CPE_VENDOR= file_project
30 FPC_EQUIVALENT= sysutils/file
33 CONFIGURE_ARGS= --enable-fsect-man5
36 MAKE_ENV= INSTALL_STRIP_FLAG="{{STRIP}}"
38 INSTALL_TARGET= install-strip
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
48 ${REINPLACE_CMD} -e 's|$$(datadir)/misc|$$(datadir)/file|g' \
51 post-install-RAVENSYS-ON:
52 ${MV} ${STAGEDIR}/usr/share/file ${STAGEDIR}${PREFIX}/share/
53 ${RMDIR} ${STAGEDIR}/usr/share
54 ${RMDIR} ${STAGEDIR}/usr
57 (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check)
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:
67 The first test that succeeds causes the file type to be printed.
71 fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82 1246503 file-5.45.tar.gz
74 [FILE:235:manifests/plist.single]
82 lib/pkgconfig/libmagic.pc
84 share/man/man1/file.1.gz
85 share/man/man3/libmagic.3.gz
86 share/man/man5/magic.5.gz
89 [FILE:200:dragonfly/patch-src_file.h]
90 --- src/file.h.orig 2022-12-26 18:00:48 UTC
95 #if defined(HAVE_XLOCALE_H)