34e036de0b
While I'm here: * Remove obsolete CONFLICTS of sysutils/tct - that port has gone long ago on 2007-04-06 Changelog since 5.34: * Fix cast to use cast macros * Add UCS-32 builtin detection (PR/61) reported by tmc * Fix stack read (PR/62) and write (PR/64) stack overflows reported by spinpx * Add FreeBSD ELF core file support (John Baldwin) * PR/30: Allow all parameter values to be set (don't treat 0 specially) * handle default annotations on the softmagic match instead at the end. * PR/23: Recognize JSON files * PR/18: file --mime-encoding should not print mime-type PR: 235788 Submitted by: Jason Harris (maintainer) Approved by: miwi (mentor) Differential Revision: https://reviews.freebsd.org/D19394
28 lines
614 B
Makefile
28 lines
614 B
Makefile
# Created by: Jason Harris <jharris@widomaker.com>
|
|
# $FreeBSD$
|
|
|
|
PORTNAME= file
|
|
PORTVERSION= 5.36
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= ftp://ftp.astron.com/pub/file/ \
|
|
ftp://ftp.fu-berlin.de/unix/tools/file/
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
|
COMMENT= Utility to determine file type
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= libtool
|
|
USE_LDCONFIG= yes
|
|
|
|
GNU_CONFIGURE= yes
|
|
CONFIGURE_ARGS= --enable-fsect-man5
|
|
MAKE_ENV= INSTALL_STRIP_FLAG="${STRIP}"
|
|
TEST_TARGET= check
|
|
|
|
post-patch:
|
|
@${REINPLACE_CMD} -e 's|$$(datadir)/misc|$$(datadir)/${PORTNAME}|g' \
|
|
${WRKSRC}/configure
|
|
|
|
.include <bsd.port.mk>
|