mirror of
https://git.freebsd.org/ports.git
synced 2025-07-16 00:39:15 -04:00
Switch to DISTVERSION. Remove GNU_CONFIGURE_MANPREFIX. Changelog: https://github.com/file/file/blob/master/ChangeLog PR: 283322 Approved by: jharris@widomaker.com (maintainer)
29 lines
726 B
Makefile
29 lines
726 B
Makefile
PORTNAME= file
|
|
DISTVERSION= 5.46
|
|
CATEGORIES= sysutils
|
|
MASTER_SITES= https://astron.com/pub/file/ \
|
|
https://www.nic.funet.fi/pub/mirrors/ftp.astron.com/pub/file/ \
|
|
https://ftp.icm.edu.pl/packages/file/ \
|
|
ftp://ftp.fu-berlin.de/unix/tools/file/
|
|
|
|
MAINTAINER= jharris@widomaker.com
|
|
COMMENT= Utility to determine file type
|
|
WWW= https://darwinsys.com/file/
|
|
|
|
LICENSE= BSD2CLAUSE
|
|
LICENSE_FILE= ${WRKSRC}/COPYING
|
|
|
|
USES= cpe libtool
|
|
CPE_VENDOR= ${PORTNAME}_project
|
|
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>
|