# Buildsheet autogenerated by ravenadm tool -- Do not edit. NAMEBASE= file VERSION= 5.45 KEYWORDS= sysutils VARIANTS= standard ravensys SDESC[ravensys]= Static file type utility based at /usr SDESC[standard]= Utility to determine file type HOMEPAGE= http://darwinsys.com/file CONTACT= nobody DOWNLOAD_GROUPS= main SITES[main]= http://ftp.astron.com/pub/file/ DISTFILE[1]= file-5.45.tar.gz:main DF_INDEX= 1 SPKGS[ravensys]= single SPKGS[standard]= single OPTIONS_AVAILABLE= RAVENSYS OPTIONS_STANDARD= none VOPTS[ravensys]= RAVENSYS=ON USES= cpe libtool mbsdfix LICENSE= BSD2CLAUSE:single LICENSE_FILE= BSD2CLAUSE:{{WRKSRC}}/COPYING LICENSE_SCHEME= solo CPE_VENDOR= file_project FPC_EQUIVALENT= sysutils/file MUST_CONFIGURE= gnu CONFIGURE_ARGS= --enable-fsect-man5 --enable-static MAKE_ENV= INSTALL_STRIP_FLAG="{{STRIP}}" INSTALL_TARGET= install-strip [RAVENSYS].DESCRIPTION= Static version of file used by raven-sysroot [RAVENSYS].CONFIGURE_ARGS_OFF= --enable-shared=yes [RAVENSYS].CONFIGURE_ARGS_ON= --enable-shared=no --datarootdir=/usr/share [RAVENSYS].USES_OFF= zlib [RAVENSYS].USES_ON= zlib:build post-patch: ${REINPLACE_CMD} -e 's|$$(datadir)/misc|$$(datadir)/file|g' \ ${WRKSRC}/configure post-install-RAVENSYS-ON: ${MV} ${STAGEDIR}/usr/share/file ${STAGEDIR}${PREFIX}/share/ ${RMDIR} ${STAGEDIR}/usr/share ${RMDIR} ${STAGEDIR}/usr do-test: (cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} check) [FILE:250:descriptions/desc.single] File tests each argument in an attempt to classify it. There are three sets of tests, performed in the following order: - filesystem tests - magic number tests - language tests The first test that succeeds causes the file type to be printed. [FILE:95:distinfo] fc97f51029bb0e2c9f4e3bffefdaf678f0e039ee872b9de5c002a6d09c784d82 1246503 file-5.45.tar.gz [FILE:235:manifests/plist.single] %%RAVENSYS-OFF%%lib/ libmagic.so libmagic.so.1 libmagic.so.1.0.0 bin/file include/magic.h lib/libmagic.a lib/pkgconfig/libmagic.pc share/file/magic.mgc share/man/man1/file.1.gz share/man/man3/libmagic.3.gz share/man/man5/magic.5.gz [FILE:200:dragonfly/patch-src_file.h] --- src/file.h.orig 2022-12-26 18:00:48 UTC +++ src/file.h @@ -90,6 +90,7 @@ #include #include #if defined(HAVE_XLOCALE_H) +#include #include #endif