aboutsummaryrefslogtreecommitdiff
path: root/sysutils/file/Makefile
blob: 0a36cbb249ad33bc53d98b592cf026ee7227f3dd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Created by: Jason Harris <jharris@widomaker.com>

PORTNAME=	file
PORTVERSION=	5.39
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

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>